@aws-sdk/client-emr 3.935.0 → 3.937.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.
package/dist-cjs/index.js CHANGED
@@ -692,6 +692,8 @@ const _SIu = "SubnetIds";
692
692
  const _SKJFAWNS = "SetKeepJobFlowAliveWhenNoSteps";
693
693
  const _SKJFAWNSI = "SetKeepJobFlowAliveWhenNoStepsInput";
694
694
  const _SM = "SessionMapping";
695
+ const _SMC = "S3MonitoringConfiguration";
696
+ const _SMCt = "StepMonitoringConfiguration";
695
697
  const _SMD = "SessionMappingDetail";
696
698
  const _SMS = "SessionMappingSummary";
697
699
  const _SMSL = "SessionMappingSummaryList";
@@ -1780,6 +1782,7 @@ var RunJobFlowInput = [
1780
1782
  ],
1781
1783
  ];
1782
1784
  var RunJobFlowOutput = [3, n0, _RJFO, 0, [_JFI, _CA], [0, 0]];
1785
+ var S3MonitoringConfiguration = [3, n0, _SMC, 0, [_LU, _EKA], [0, 0]];
1783
1786
  var ScalingAction = [
1784
1787
  3,
1785
1788
  n0,
@@ -1866,10 +1869,17 @@ var Step = [
1866
1869
  n0,
1867
1870
  _Ste,
1868
1871
  0,
1869
- [_I, _N, _Confi, _AOF, _St, _ERA],
1870
- [0, 0, () => HadoopStepConfig, 0, () => StepStatus, 0],
1872
+ [_I, _N, _Confi, _AOF, _St, _ERA, _LU, _EKA],
1873
+ [0, 0, () => HadoopStepConfig, 0, () => StepStatus, 0, 0, 0],
1874
+ ];
1875
+ var StepConfig = [
1876
+ 3,
1877
+ n0,
1878
+ _SCt,
1879
+ 0,
1880
+ [_N, _AOF, _HJS, _SMCt],
1881
+ [0, 0, () => HadoopJarStepConfig, () => StepMonitoringConfiguration],
1871
1882
  ];
1872
- var StepConfig = [3, n0, _SCt, 0, [_N, _AOF, _HJS], [0, 0, () => HadoopJarStepConfig]];
1873
1883
  var StepDetail = [
1874
1884
  3,
1875
1885
  n0,
@@ -1886,6 +1896,14 @@ var StepExecutionStatusDetail = [
1886
1896
  [_Sta, _CDT, _SDT, _EDT, _LSCR],
1887
1897
  [0, 4, 4, 4, 0],
1888
1898
  ];
1899
+ var StepMonitoringConfiguration = [
1900
+ 3,
1901
+ n0,
1902
+ _SMCt,
1903
+ 0,
1904
+ [_SMC],
1905
+ [() => S3MonitoringConfiguration],
1906
+ ];
1889
1907
  var StepStateChangeReason = [3, n0, _SSCR, 0, [_Co, _M], [0, 0]];
1890
1908
  var StepStatus = [
1891
1909
  3,
@@ -1900,8 +1918,8 @@ var StepSummary = [
1900
1918
  n0,
1901
1919
  _SStep,
1902
1920
  0,
1903
- [_I, _N, _Confi, _AOF, _St],
1904
- [0, 0, () => HadoopStepConfig, 0, () => StepStatus],
1921
+ [_I, _N, _Confi, _AOF, _St, _LU, _EKA],
1922
+ [0, 0, () => HadoopStepConfig, 0, () => StepStatus, 0, 0],
1905
1923
  ];
1906
1924
  var StepTimeline = [3, n0, _STt, 0, [_CDT, _SDT, _EDT], [4, 4, 4]];
1907
1925
  var StopNotebookExecutionInput = [3, n0, _SNEIt, 0, [_NEI], [0]];
@@ -529,6 +529,8 @@ const _SIu = "SubnetIds";
529
529
  const _SKJFAWNS = "SetKeepJobFlowAliveWhenNoSteps";
530
530
  const _SKJFAWNSI = "SetKeepJobFlowAliveWhenNoStepsInput";
531
531
  const _SM = "SessionMapping";
532
+ const _SMC = "S3MonitoringConfiguration";
533
+ const _SMCt = "StepMonitoringConfiguration";
532
534
  const _SMD = "SessionMappingDetail";
533
535
  const _SMS = "SessionMappingSummary";
534
536
  const _SMSL = "SessionMappingSummaryList";
@@ -1620,6 +1622,7 @@ export var RunJobFlowInput = [
1620
1622
  ],
1621
1623
  ];
1622
1624
  export var RunJobFlowOutput = [3, n0, _RJFO, 0, [_JFI, _CA], [0, 0]];
1625
+ export var S3MonitoringConfiguration = [3, n0, _SMC, 0, [_LU, _EKA], [0, 0]];
1623
1626
  export var ScalingAction = [
1624
1627
  3,
1625
1628
  n0,
@@ -1706,10 +1709,17 @@ export var Step = [
1706
1709
  n0,
1707
1710
  _Ste,
1708
1711
  0,
1709
- [_I, _N, _Confi, _AOF, _St, _ERA],
1710
- [0, 0, () => HadoopStepConfig, 0, () => StepStatus, 0],
1712
+ [_I, _N, _Confi, _AOF, _St, _ERA, _LU, _EKA],
1713
+ [0, 0, () => HadoopStepConfig, 0, () => StepStatus, 0, 0, 0],
1714
+ ];
1715
+ export var StepConfig = [
1716
+ 3,
1717
+ n0,
1718
+ _SCt,
1719
+ 0,
1720
+ [_N, _AOF, _HJS, _SMCt],
1721
+ [0, 0, () => HadoopJarStepConfig, () => StepMonitoringConfiguration],
1711
1722
  ];
1712
- export var StepConfig = [3, n0, _SCt, 0, [_N, _AOF, _HJS], [0, 0, () => HadoopJarStepConfig]];
1713
1723
  export var StepDetail = [
1714
1724
  3,
1715
1725
  n0,
@@ -1726,6 +1736,14 @@ export var StepExecutionStatusDetail = [
1726
1736
  [_Sta, _CDT, _SDT, _EDT, _LSCR],
1727
1737
  [0, 4, 4, 4, 0],
1728
1738
  ];
1739
+ export var StepMonitoringConfiguration = [
1740
+ 3,
1741
+ n0,
1742
+ _SMCt,
1743
+ 0,
1744
+ [_SMC],
1745
+ [() => S3MonitoringConfiguration],
1746
+ ];
1729
1747
  export var StepStateChangeReason = [3, n0, _SSCR, 0, [_Co, _M], [0, 0]];
1730
1748
  export var StepStatus = [
1731
1749
  3,
@@ -1740,8 +1758,8 @@ export var StepSummary = [
1740
1758
  n0,
1741
1759
  _SStep,
1742
1760
  0,
1743
- [_I, _N, _Confi, _AOF, _St],
1744
- [0, 0, () => HadoopStepConfig, 0, () => StepStatus],
1761
+ [_I, _N, _Confi, _AOF, _St, _LU, _EKA],
1762
+ [0, 0, () => HadoopStepConfig, 0, () => StepStatus, 0, 0],
1745
1763
  ];
1746
1764
  export var StepTimeline = [3, n0, _STt, 0, [_CDT, _SDT, _EDT], [4, 4, 4]];
1747
1765
  export var StopNotebookExecutionInput = [3, n0, _SNEIt, 0, [_NEI], [0]];
@@ -73,6 +73,12 @@ declare const AddJobFlowStepsCommand_base: {
73
73
  * "STRING_VALUE",
74
74
  * ],
75
75
  * },
76
+ * StepMonitoringConfiguration: { // StepMonitoringConfiguration
77
+ * S3MonitoringConfiguration: { // S3MonitoringConfiguration
78
+ * LogUri: "STRING_VALUE",
79
+ * EncryptionKeyArn: "STRING_VALUE",
80
+ * },
81
+ * },
76
82
  * },
77
83
  * ],
78
84
  * ExecutionRoleArn: "STRING_VALUE",
@@ -143,6 +143,12 @@ declare const DescribeJobFlowsCommand_base: {
143
143
  * // "STRING_VALUE",
144
144
  * // ],
145
145
  * // },
146
+ * // StepMonitoringConfiguration: { // StepMonitoringConfiguration
147
+ * // S3MonitoringConfiguration: { // S3MonitoringConfiguration
148
+ * // LogUri: "STRING_VALUE",
149
+ * // EncryptionKeyArn: "STRING_VALUE",
150
+ * // },
151
+ * // },
146
152
  * // },
147
153
  * // ExecutionStatusDetail: { // StepExecutionStatusDetail
148
154
  * // State: "PENDING" || "RUNNING" || "CONTINUE" || "COMPLETED" || "CANCELLED" || "FAILED" || "INTERRUPTED", // required
@@ -75,6 +75,8 @@ declare const DescribeStepCommand_base: {
75
75
  * // },
76
76
  * // },
77
77
  * // ExecutionRoleArn: "STRING_VALUE",
78
+ * // LogUri: "STRING_VALUE",
79
+ * // EncryptionKeyArn: "STRING_VALUE",
78
80
  * // },
79
81
  * // };
80
82
  *
@@ -86,6 +86,8 @@ declare const ListStepsCommand_base: {
86
86
  * // EndDateTime: new Date("TIMESTAMP"),
87
87
  * // },
88
88
  * // },
89
+ * // LogUri: "STRING_VALUE",
90
+ * // EncryptionKeyArn: "STRING_VALUE",
89
91
  * // },
90
92
  * // ],
91
93
  * // Marker: "STRING_VALUE",
@@ -255,6 +255,12 @@ declare const RunJobFlowCommand_base: {
255
255
  * "STRING_VALUE",
256
256
  * ],
257
257
  * },
258
+ * StepMonitoringConfiguration: { // StepMonitoringConfiguration
259
+ * S3MonitoringConfiguration: { // S3MonitoringConfiguration
260
+ * LogUri: "STRING_VALUE",
261
+ * EncryptionKeyArn: "STRING_VALUE",
262
+ * },
263
+ * },
258
264
  * },
259
265
  * ],
260
266
  * BootstrapActions: [ // BootstrapActionConfigList
@@ -618,6 +618,39 @@ export interface HadoopJarStepConfig {
618
618
  */
619
619
  Args?: string[] | undefined;
620
620
  }
621
+ /**
622
+ * <p>The Amazon S3 configuration for monitoring log publishing. You can configure your step to send log information
623
+ * to Amazon S3. When it's specified, it takes precedence over the cluster's logging configuration. If you don't specify this
624
+ * configuration entirely, or omit individual fields, EMR falls back to cluster-level
625
+ * logging behavior.</p>
626
+ * @public
627
+ */
628
+ export interface S3MonitoringConfiguration {
629
+ /**
630
+ * <p>The Amazon S3 destination URI for log publishing.</p>
631
+ * @public
632
+ */
633
+ LogUri?: string | undefined;
634
+ /**
635
+ * <p>The KMS key ARN to encrypt the logs published to the given Amazon S3 destination.</p>
636
+ * @public
637
+ */
638
+ EncryptionKeyArn?: string | undefined;
639
+ }
640
+ /**
641
+ * <p>Object that holds configuration properties for logging.</p>
642
+ * @public
643
+ */
644
+ export interface StepMonitoringConfiguration {
645
+ /**
646
+ * <p>The Amazon S3 configuration for monitoring log publishing. You can configure your step to send log information
647
+ * to Amazon S3. When it's specified, it takes precedence over the cluster's logging configuration. If you don't specify this
648
+ * configuration entirely, or omit individual fields, EMR falls back to cluster-level logging behavior.
649
+ * </p>
650
+ * @public
651
+ */
652
+ S3MonitoringConfiguration?: S3MonitoringConfiguration | undefined;
653
+ }
621
654
  /**
622
655
  * <p>Specification for a cluster (job flow) step.</p>
623
656
  * @public
@@ -670,6 +703,11 @@ export interface StepConfig {
670
703
  * @public
671
704
  */
672
705
  HadoopJarStep: HadoopJarStepConfig | undefined;
706
+ /**
707
+ * <p>Object that holds configuration properties for logging.</p>
708
+ * @public
709
+ */
710
+ StepMonitoringConfiguration?: StepMonitoringConfiguration | undefined;
673
711
  }
674
712
  /**
675
713
  * <p> The input argument to the <a>AddJobFlowSteps</a> operation. </p>
@@ -2804,6 +2842,17 @@ export interface Step {
2804
2842
  * @public
2805
2843
  */
2806
2844
  ExecutionRoleArn?: string | undefined;
2845
+ /**
2846
+ * <p>The Amazon S3 destination URI for log publishing.</p>
2847
+ * @public
2848
+ */
2849
+ LogUri?: string | undefined;
2850
+ /**
2851
+ * <p>The KMS key ARN to encrypt the logs published to the given Amazon S3
2852
+ * destination.</p>
2853
+ * @public
2854
+ */
2855
+ EncryptionKeyArn?: string | undefined;
2807
2856
  }
2808
2857
  /**
2809
2858
  * <p>This output contains the description of the cluster step.</p>
@@ -4154,6 +4203,17 @@ export interface StepSummary {
4154
4203
  * @public
4155
4204
  */
4156
4205
  Status?: StepStatus | undefined;
4206
+ /**
4207
+ * <p>The Amazon S3 destination URI for log publishing.</p>
4208
+ * @public
4209
+ */
4210
+ LogUri?: string | undefined;
4211
+ /**
4212
+ * <p>The KMS key ARN to encrypt the logs published to the given Amazon S3
4213
+ * destination.</p>
4214
+ * @public
4215
+ */
4216
+ EncryptionKeyArn?: string | undefined;
4157
4217
  }
4158
4218
  /**
4159
4219
  * <p>This output contains the list of steps returned in reverse order. This means that the
@@ -177,6 +177,7 @@ export declare var RemoveTagsInput: StaticStructureSchema;
177
177
  export declare var RemoveTagsOutput: StaticStructureSchema;
178
178
  export declare var RunJobFlowInput: StaticStructureSchema;
179
179
  export declare var RunJobFlowOutput: StaticStructureSchema;
180
+ export declare var S3MonitoringConfiguration: StaticStructureSchema;
180
181
  export declare var ScalingAction: StaticStructureSchema;
181
182
  export declare var ScalingConstraints: StaticStructureSchema;
182
183
  export declare var ScalingRule: StaticStructureSchema;
@@ -200,6 +201,7 @@ export declare var Step: StaticStructureSchema;
200
201
  export declare var StepConfig: StaticStructureSchema;
201
202
  export declare var StepDetail: StaticStructureSchema;
202
203
  export declare var StepExecutionStatusDetail: StaticStructureSchema;
204
+ export declare var StepMonitoringConfiguration: StaticStructureSchema;
203
205
  export declare var StepStateChangeReason: StaticStructureSchema;
204
206
  export declare var StepStatus: StaticStructureSchema;
205
207
  export declare var StepSummary: StaticStructureSchema;
@@ -157,10 +157,18 @@ export interface HadoopJarStepConfig {
157
157
  MainClass?: string | undefined;
158
158
  Args?: string[] | undefined;
159
159
  }
160
+ export interface S3MonitoringConfiguration {
161
+ LogUri?: string | undefined;
162
+ EncryptionKeyArn?: string | undefined;
163
+ }
164
+ export interface StepMonitoringConfiguration {
165
+ S3MonitoringConfiguration?: S3MonitoringConfiguration | undefined;
166
+ }
160
167
  export interface StepConfig {
161
168
  Name: string | undefined;
162
169
  ActionOnFailure?: ActionOnFailure | undefined;
163
170
  HadoopJarStep: HadoopJarStepConfig | undefined;
171
+ StepMonitoringConfiguration?: StepMonitoringConfiguration | undefined;
164
172
  }
165
173
  export interface AddJobFlowStepsInput {
166
174
  JobFlowId: string | undefined;
@@ -596,6 +604,8 @@ export interface Step {
596
604
  ActionOnFailure?: ActionOnFailure | undefined;
597
605
  Status?: StepStatus | undefined;
598
606
  ExecutionRoleArn?: string | undefined;
607
+ LogUri?: string | undefined;
608
+ EncryptionKeyArn?: string | undefined;
599
609
  }
600
610
  export interface DescribeStepOutput {
601
611
  Step?: Step | undefined;
@@ -865,6 +875,8 @@ export interface StepSummary {
865
875
  Config?: HadoopStepConfig | undefined;
866
876
  ActionOnFailure?: ActionOnFailure | undefined;
867
877
  Status?: StepStatus | undefined;
878
+ LogUri?: string | undefined;
879
+ EncryptionKeyArn?: string | undefined;
868
880
  }
869
881
  export interface ListStepsOutput {
870
882
  Steps?: StepSummary[] | undefined;
@@ -183,6 +183,7 @@ export declare var RemoveTagsInput: StaticStructureSchema;
183
183
  export declare var RemoveTagsOutput: StaticStructureSchema;
184
184
  export declare var RunJobFlowInput: StaticStructureSchema;
185
185
  export declare var RunJobFlowOutput: StaticStructureSchema;
186
+ export declare var S3MonitoringConfiguration: StaticStructureSchema;
186
187
  export declare var ScalingAction: StaticStructureSchema;
187
188
  export declare var ScalingConstraints: StaticStructureSchema;
188
189
  export declare var ScalingRule: StaticStructureSchema;
@@ -206,6 +207,7 @@ export declare var Step: StaticStructureSchema;
206
207
  export declare var StepConfig: StaticStructureSchema;
207
208
  export declare var StepDetail: StaticStructureSchema;
208
209
  export declare var StepExecutionStatusDetail: StaticStructureSchema;
210
+ export declare var StepMonitoringConfiguration: StaticStructureSchema;
209
211
  export declare var StepStateChangeReason: StaticStructureSchema;
210
212
  export declare var StepStatus: StaticStructureSchema;
211
213
  export declare var StepSummary: StaticStructureSchema;
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.935.0",
4
+ "version": "3.937.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-emr",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.935.0",
24
- "@aws-sdk/credential-provider-node": "3.935.0",
25
- "@aws-sdk/middleware-host-header": "3.930.0",
26
- "@aws-sdk/middleware-logger": "3.930.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.935.0",
29
- "@aws-sdk/region-config-resolver": "3.930.0",
30
- "@aws-sdk/types": "3.930.0",
31
- "@aws-sdk/util-endpoints": "3.930.0",
32
- "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.935.0",
23
+ "@aws-sdk/core": "3.936.0",
24
+ "@aws-sdk/credential-provider-node": "3.936.0",
25
+ "@aws-sdk/middleware-host-header": "3.936.0",
26
+ "@aws-sdk/middleware-logger": "3.936.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
+ "@aws-sdk/middleware-user-agent": "3.936.0",
29
+ "@aws-sdk/region-config-resolver": "3.936.0",
30
+ "@aws-sdk/types": "3.936.0",
31
+ "@aws-sdk/util-endpoints": "3.936.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.936.0",
33
+ "@aws-sdk/util-user-agent-node": "3.936.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
35
  "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",