Skip to content

Commit 3bdfef6

Browse files
author
awstools
committed
feat(client-proton): CreateEnvironmentAccountConnection RoleArn input is now optional
1 parent dc361a5 commit 3bdfef6

File tree

4 files changed

+10908
-10940
lines changed

4 files changed

+10908
-10940
lines changed

clients/client-proton/src/endpoint/EndpointParameters.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const resolveClientEndpointParameters = <T>(
2424
};
2525

2626
export interface EndpointParameters extends __EndpointParameters {
27-
Region?: string;
27+
Region: string;
2828
UseDualStack?: boolean;
2929
UseFIPS?: boolean;
3030
Endpoint?: string;

clients/client-proton/src/endpoint/ruleset.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const ruleSet: RuleSetObject = {
66
parameters: {
77
Region: {
88
builtIn: "AWS::Region",
9-
required: false,
9+
required: true,
1010
documentation: "The AWS region used to dispatch the request.",
1111
type: "String",
1212
},

clients/client-proton/src/models/models_0.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1124,7 +1124,7 @@ export interface CreateEnvironmentAccountConnectionInput {
11241124
* <p>The Amazon Resource Name (ARN) of the IAM service role that's created in the environment account. Proton uses this role to provision infrastructure
11251125
* resources in the associated environment account.</p>
11261126
*/
1127-
roleArn: string | undefined;
1127+
roleArn?: string;
11281128

11291129
/**
11301130
* <p>The name of the Proton environment that's created in the associated management account.</p>

0 commit comments

Comments
 (0)