@aws-sdk/client-emr 3.329.0 → 3.331.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist-cjs/models/models_0.js +4 -1
  2. package/dist-cjs/protocols/Aws_json1_1.js +7 -0
  3. package/dist-es/models/models_0.js +3 -0
  4. package/dist-es/protocols/Aws_json1_1.js +7 -0
  5. package/dist-types/commands/AddInstanceFleetCommand.d.ts +1 -1
  6. package/dist-types/commands/CancelStepsCommand.d.ts +1 -1
  7. package/dist-types/commands/DescribeNotebookExecutionCommand.d.ts +13 -0
  8. package/dist-types/commands/DescribeReleaseLabelCommand.d.ts +3 -3
  9. package/dist-types/commands/GetClusterSessionCredentialsCommand.d.ts +4 -2
  10. package/dist-types/commands/ListInstanceFleetsCommand.d.ts +1 -1
  11. package/dist-types/commands/ListInstancesCommand.d.ts +4 -3
  12. package/dist-types/commands/ListNotebookExecutionsCommand.d.ts +7 -1
  13. package/dist-types/commands/ListReleaseLabelsCommand.d.ts +2 -1
  14. package/dist-types/commands/ModifyInstanceFleetCommand.d.ts +1 -1
  15. package/dist-types/commands/PutAutoScalingPolicyCommand.d.ts +2 -2
  16. package/dist-types/commands/PutAutoTerminationPolicyCommand.d.ts +1 -1
  17. package/dist-types/commands/PutManagedScalingPolicyCommand.d.ts +3 -3
  18. package/dist-types/commands/RemoveAutoScalingPolicyCommand.d.ts +1 -2
  19. package/dist-types/commands/RemoveManagedScalingPolicyCommand.d.ts +1 -1
  20. package/dist-types/commands/RunJobFlowCommand.d.ts +1 -1
  21. package/dist-types/commands/SetTerminationProtectionCommand.d.ts +7 -5
  22. package/dist-types/commands/SetVisibleToAllUsersCommand.d.ts +9 -10
  23. package/dist-types/commands/StartNotebookExecutionCommand.d.ts +15 -2
  24. package/dist-types/commands/TerminateJobFlowsCommand.d.ts +2 -3
  25. package/dist-types/models/models_0.d.ts +466 -326
  26. package/dist-types/ts3.4/models/models_0.d.ts +35 -2
  27. package/package.json +1 -1
@@ -679,6 +679,20 @@ export interface ExecutionEngineConfig {
679
679
  Id: string | undefined;
680
680
  Type?: ExecutionEngineType | string;
681
681
  MasterInstanceSecurityGroupId?: string;
682
+ ExecutionRoleArn?: string;
683
+ }
684
+ export interface NotebookS3LocationForOutput {
685
+ Bucket?: string;
686
+ Key?: string;
687
+ }
688
+ export declare const OutputNotebookFormat: {
689
+ readonly HTML: "HTML";
690
+ };
691
+ export type OutputNotebookFormat =
692
+ (typeof OutputNotebookFormat)[keyof typeof OutputNotebookFormat];
693
+ export interface OutputNotebookS3LocationForOutput {
694
+ Bucket?: string;
695
+ Key?: string;
682
696
  }
683
697
  export declare const NotebookExecutionStatus: {
684
698
  readonly FAILED: "FAILED";
@@ -708,6 +722,10 @@ export interface NotebookExecution {
708
722
  LastStateChangeReason?: string;
709
723
  NotebookInstanceSecurityGroupId?: string;
710
724
  Tags?: Tag[];
725
+ NotebookS3Location?: NotebookS3LocationForOutput;
726
+ OutputNotebookS3Location?: OutputNotebookS3LocationForOutput;
727
+ OutputNotebookFormat?: OutputNotebookFormat | string;
728
+ EnvironmentVariables?: Record<string, string>;
711
729
  }
712
730
  export interface DescribeNotebookExecutionOutput {
713
731
  NotebookExecution?: NotebookExecution;
@@ -1030,6 +1048,7 @@ export interface ListNotebookExecutionsInput {
1030
1048
  From?: Date;
1031
1049
  To?: Date;
1032
1050
  Marker?: string;
1051
+ ExecutionEngineId?: string;
1033
1052
  }
1034
1053
  export interface NotebookExecutionSummary {
1035
1054
  NotebookExecutionId?: string;
@@ -1038,6 +1057,8 @@ export interface NotebookExecutionSummary {
1038
1057
  Status?: NotebookExecutionStatus | string;
1039
1058
  StartTime?: Date;
1040
1059
  EndTime?: Date;
1060
+ NotebookS3Location?: NotebookS3LocationForOutput;
1061
+ ExecutionEngineId?: string;
1041
1062
  }
1042
1063
  export interface ListNotebookExecutionsOutput {
1043
1064
  NotebookExecutions?: NotebookExecutionSummary[];
@@ -1196,15 +1217,27 @@ export interface SetVisibleToAllUsersInput {
1196
1217
  JobFlowIds: string[] | undefined;
1197
1218
  VisibleToAllUsers: boolean | undefined;
1198
1219
  }
1220
+ export interface NotebookS3LocationFromInput {
1221
+ Bucket?: string;
1222
+ Key?: string;
1223
+ }
1224
+ export interface OutputNotebookS3LocationFromInput {
1225
+ Bucket?: string;
1226
+ Key?: string;
1227
+ }
1199
1228
  export interface StartNotebookExecutionInput {
1200
- EditorId: string | undefined;
1201
- RelativePath: string | undefined;
1229
+ EditorId?: string;
1230
+ RelativePath?: string;
1202
1231
  NotebookExecutionName?: string;
1203
1232
  NotebookParams?: string;
1204
1233
  ExecutionEngine: ExecutionEngineConfig | undefined;
1205
1234
  ServiceRole: string | undefined;
1206
1235
  NotebookInstanceSecurityGroupId?: string;
1207
1236
  Tags?: Tag[];
1237
+ NotebookS3Location?: NotebookS3LocationFromInput;
1238
+ OutputNotebookS3Location?: OutputNotebookS3LocationFromInput;
1239
+ OutputNotebookFormat?: OutputNotebookFormat | string;
1240
+ EnvironmentVariables?: Record<string, string>;
1208
1241
  }
1209
1242
  export interface StartNotebookExecutionOutput {
1210
1243
  NotebookExecutionId?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-emr",
3
3
  "description": "AWS SDK for JavaScript Emr Client for Node.js, Browser and React Native",
4
- "version": "3.329.0",
4
+ "version": "3.331.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",