Skip to content

Commit

Permalink
feat(client-emr): Updated GetClusterSessionCredentials API to allow A…
Browse files Browse the repository at this point in the history
…mazon SageMaker Studio to connect to EMR on EC2 clusters to support IdentityCenter/PEZ integration.
  • Loading branch information
awstools committed Nov 13, 2023
1 parent ce5a2b0 commit 0b47053
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export interface GetClusterSessionCredentialsCommandOutput
* const client = new EMRClient(config);
* const input = { // GetClusterSessionCredentialsInput
* ClusterId: "STRING_VALUE", // required
* ExecutionRoleArn: "STRING_VALUE", // required
* ExecutionRoleArn: "STRING_VALUE",
* };
* const command = new GetClusterSessionCredentialsCommand(input);
* const response = await client.send(command);
Expand Down
2 changes: 1 addition & 1 deletion clients/client-emr/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3785,7 +3785,7 @@ export interface GetClusterSessionCredentialsInput {
* runtime role ARN is a combination of account ID, role name, and role type using the
* following format: <code>arn:partition:service:region:account:resource</code>.</p>
*/
ExecutionRoleArn: string | undefined;
ExecutionRoleArn?: string;
}

/**
Expand Down
4 changes: 1 addition & 3 deletions codegen/sdk-codegen/aws-models/emr.json
Original file line number Diff line number Diff line change
Expand Up @@ -4102,9 +4102,7 @@
"ExecutionRoleArn": {
"target": "com.amazonaws.emr#ArnType",
"traits": {
"smithy.api#clientOptional": {},
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the runtime role for interactive workload submission\n on the cluster. The runtime role can be a cross-account IAM role. The\n runtime role ARN is a combination of account ID, role name, and role type using the\n following format: <code>arn:partition:service:region:account:resource</code>.</p>",
"smithy.api#required": {}
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the runtime role for interactive workload submission\n on the cluster. The runtime role can be a cross-account IAM role. The\n runtime role ARN is a combination of account ID, role name, and role type using the\n following format: <code>arn:partition:service:region:account:resource</code>.</p>"
}
}
},
Expand Down

0 comments on commit 0b47053

Please sign in to comment.