@aws-sdk/client-emr 3.298.0 → 3.300.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-types/commands/AddInstanceFleetCommand.d.ts +75 -0
- package/dist-types/commands/AddInstanceGroupsCommand.d.ts +85 -0
- package/dist-types/commands/AddJobFlowStepsCommand.d.ts +23 -0
- package/dist-types/commands/AddTagsCommand.d.ts +9 -0
- package/dist-types/commands/CancelStepsCommand.d.ts +7 -0
- package/dist-types/commands/CreateSecurityConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/CreateStudioCommand.d.ts +22 -0
- package/dist-types/commands/CreateStudioSessionMappingCommand.d.ts +7 -0
- package/dist-types/commands/DeleteSecurityConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/DeleteStudioCommand.d.ts +3 -0
- package/dist-types/commands/DeleteStudioSessionMappingCommand.d.ts +6 -0
- package/dist-types/commands/DescribeClusterCommand.d.ts +3 -0
- package/dist-types/commands/DescribeJobFlowsCommand.d.ts +10 -0
- package/dist-types/commands/DescribeNotebookExecutionCommand.d.ts +3 -0
- package/dist-types/commands/DescribeReleaseLabelCommand.d.ts +5 -0
- package/dist-types/commands/DescribeSecurityConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/DescribeStepCommand.d.ts +4 -0
- package/dist-types/commands/DescribeStudioCommand.d.ts +3 -0
- package/dist-types/commands/GetAutoTerminationPolicyCommand.d.ts +3 -0
- package/dist-types/commands/GetBlockPublicAccessConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/GetClusterSessionCredentialsCommand.d.ts +4 -0
- package/dist-types/commands/GetManagedScalingPolicyCommand.d.ts +3 -0
- package/dist-types/commands/GetStudioSessionMappingCommand.d.ts +6 -0
- package/dist-types/commands/ListBootstrapActionsCommand.d.ts +4 -0
- package/dist-types/commands/ListClustersCommand.d.ts +8 -0
- package/dist-types/commands/ListInstanceFleetsCommand.d.ts +4 -0
- package/dist-types/commands/ListInstanceGroupsCommand.d.ts +4 -0
- package/dist-types/commands/ListInstancesCommand.d.ts +13 -0
- package/dist-types/commands/ListNotebookExecutionsCommand.d.ts +7 -0
- package/dist-types/commands/ListReleaseLabelsCommand.d.ts +8 -0
- package/dist-types/commands/ListSecurityConfigurationsCommand.d.ts +3 -0
- package/dist-types/commands/ListStepsCommand.d.ts +10 -0
- package/dist-types/commands/ListStudioSessionMappingsCommand.d.ts +5 -0
- package/dist-types/commands/ListStudiosCommand.d.ts +3 -0
- package/dist-types/commands/ModifyClusterCommand.d.ts +4 -0
- package/dist-types/commands/ModifyInstanceFleetCommand.d.ts +16 -0
- package/dist-types/commands/ModifyInstanceGroupsCommand.d.ts +44 -0
- package/dist-types/commands/PutAutoScalingPolicyCommand.d.ts +42 -0
- package/dist-types/commands/PutAutoTerminationPolicyCommand.d.ts +6 -0
- package/dist-types/commands/PutBlockPublicAccessConfigurationCommand.d.ts +34 -0
- package/dist-types/commands/PutManagedScalingPolicyCommand.d.ts +12 -0
- package/dist-types/commands/RemoveAutoScalingPolicyCommand.d.ts +4 -0
- package/dist-types/commands/RemoveAutoTerminationPolicyCommand.d.ts +3 -0
- package/dist-types/commands/RemoveManagedScalingPolicyCommand.d.ts +3 -0
- package/dist-types/commands/RemoveTagsCommand.d.ts +6 -0
- package/dist-types/commands/RunJobFlowCommand.d.ts +274 -0
- package/dist-types/commands/SetTerminationProtectionCommand.d.ts +6 -0
- package/dist-types/commands/SetVisibleToAllUsersCommand.d.ts +6 -0
- package/dist-types/commands/StartNotebookExecutionCommand.d.ts +19 -0
- package/dist-types/commands/StopNotebookExecutionCommand.d.ts +3 -0
- package/dist-types/commands/TerminateJobFlowsCommand.d.ts +5 -0
- package/dist-types/commands/UpdateStudioCommand.d.ts +9 -0
- package/dist-types/commands/UpdateStudioSessionMappingCommand.d.ts +7 -0
- package/package.json +12 -12
|
@@ -30,6 +30,81 @@ export interface AddInstanceFleetCommandOutput extends AddInstanceFleetOutput, _
|
|
|
30
30
|
* import { EMRClient, AddInstanceFleetCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
31
31
|
* // const { EMRClient, AddInstanceFleetCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
32
32
|
* const client = new EMRClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* ClusterId: "STRING_VALUE", // required
|
|
35
|
+
* InstanceFleet: {
|
|
36
|
+
* Name: "STRING_VALUE",
|
|
37
|
+
* InstanceFleetType: "MASTER" || "CORE" || "TASK", // required
|
|
38
|
+
* TargetOnDemandCapacity: Number("int"),
|
|
39
|
+
* TargetSpotCapacity: Number("int"),
|
|
40
|
+
* InstanceTypeConfigs: [
|
|
41
|
+
* {
|
|
42
|
+
* InstanceType: "STRING_VALUE", // required
|
|
43
|
+
* WeightedCapacity: Number("int"),
|
|
44
|
+
* BidPrice: "STRING_VALUE",
|
|
45
|
+
* BidPriceAsPercentageOfOnDemandPrice: Number("double"),
|
|
46
|
+
* EbsConfiguration: {
|
|
47
|
+
* EbsBlockDeviceConfigs: [
|
|
48
|
+
* {
|
|
49
|
+
* VolumeSpecification: {
|
|
50
|
+
* VolumeType: "STRING_VALUE", // required
|
|
51
|
+
* Iops: Number("int"),
|
|
52
|
+
* SizeInGB: Number("int"), // required
|
|
53
|
+
* Throughput: Number("int"),
|
|
54
|
+
* },
|
|
55
|
+
* VolumesPerInstance: Number("int"),
|
|
56
|
+
* },
|
|
57
|
+
* ],
|
|
58
|
+
* EbsOptimized: true || false,
|
|
59
|
+
* },
|
|
60
|
+
* Configurations: [
|
|
61
|
+
* {
|
|
62
|
+
* Classification: "STRING_VALUE",
|
|
63
|
+
* Configurations: [
|
|
64
|
+
* {
|
|
65
|
+
* Classification: "STRING_VALUE",
|
|
66
|
+
* Configurations: [
|
|
67
|
+
* "<ConfigurationList>",
|
|
68
|
+
* ],
|
|
69
|
+
* Properties: {
|
|
70
|
+
* "<keys>": "STRING_VALUE",
|
|
71
|
+
* },
|
|
72
|
+
* },
|
|
73
|
+
* ],
|
|
74
|
+
* Properties: {
|
|
75
|
+
* "<keys>": "STRING_VALUE",
|
|
76
|
+
* },
|
|
77
|
+
* },
|
|
78
|
+
* ],
|
|
79
|
+
* CustomAmiId: "STRING_VALUE",
|
|
80
|
+
* },
|
|
81
|
+
* ],
|
|
82
|
+
* LaunchSpecifications: {
|
|
83
|
+
* SpotSpecification: {
|
|
84
|
+
* TimeoutDurationMinutes: Number("int"), // required
|
|
85
|
+
* TimeoutAction: "SWITCH_TO_ON_DEMAND" || "TERMINATE_CLUSTER", // required
|
|
86
|
+
* BlockDurationMinutes: Number("int"),
|
|
87
|
+
* AllocationStrategy: "capacity-optimized",
|
|
88
|
+
* },
|
|
89
|
+
* OnDemandSpecification: {
|
|
90
|
+
* AllocationStrategy: "lowest-price", // required
|
|
91
|
+
* CapacityReservationOptions: {
|
|
92
|
+
* UsageStrategy: "use-capacity-reservations-first",
|
|
93
|
+
* CapacityReservationPreference: "open" || "none",
|
|
94
|
+
* CapacityReservationResourceGroupArn: "STRING_VALUE",
|
|
95
|
+
* },
|
|
96
|
+
* },
|
|
97
|
+
* },
|
|
98
|
+
* ResizeSpecifications: {
|
|
99
|
+
* SpotResizeSpecification: {
|
|
100
|
+
* TimeoutDurationMinutes: Number("int"), // required
|
|
101
|
+
* },
|
|
102
|
+
* OnDemandResizeSpecification: {
|
|
103
|
+
* TimeoutDurationMinutes: Number("int"), // required
|
|
104
|
+
* },
|
|
105
|
+
* },
|
|
106
|
+
* },
|
|
107
|
+
* };
|
|
33
108
|
* const command = new AddInstanceFleetCommand(input);
|
|
34
109
|
* const response = await client.send(command);
|
|
35
110
|
* ```
|
|
@@ -26,6 +26,91 @@ export interface AddInstanceGroupsCommandOutput extends AddInstanceGroupsOutput,
|
|
|
26
26
|
* import { EMRClient, AddInstanceGroupsCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
27
27
|
* // const { EMRClient, AddInstanceGroupsCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
28
28
|
* const client = new EMRClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* InstanceGroups: [ // required
|
|
31
|
+
* {
|
|
32
|
+
* Name: "STRING_VALUE",
|
|
33
|
+
* Market: "ON_DEMAND" || "SPOT",
|
|
34
|
+
* InstanceRole: "MASTER" || "CORE" || "TASK", // required
|
|
35
|
+
* BidPrice: "STRING_VALUE",
|
|
36
|
+
* InstanceType: "STRING_VALUE", // required
|
|
37
|
+
* InstanceCount: Number("int"), // required
|
|
38
|
+
* Configurations: [
|
|
39
|
+
* {
|
|
40
|
+
* Classification: "STRING_VALUE",
|
|
41
|
+
* Configurations: [
|
|
42
|
+
* {
|
|
43
|
+
* Classification: "STRING_VALUE",
|
|
44
|
+
* Configurations: [
|
|
45
|
+
* "<ConfigurationList>",
|
|
46
|
+
* ],
|
|
47
|
+
* Properties: {
|
|
48
|
+
* "<keys>": "STRING_VALUE",
|
|
49
|
+
* },
|
|
50
|
+
* },
|
|
51
|
+
* ],
|
|
52
|
+
* Properties: {
|
|
53
|
+
* "<keys>": "STRING_VALUE",
|
|
54
|
+
* },
|
|
55
|
+
* },
|
|
56
|
+
* ],
|
|
57
|
+
* EbsConfiguration: {
|
|
58
|
+
* EbsBlockDeviceConfigs: [
|
|
59
|
+
* {
|
|
60
|
+
* VolumeSpecification: {
|
|
61
|
+
* VolumeType: "STRING_VALUE", // required
|
|
62
|
+
* Iops: Number("int"),
|
|
63
|
+
* SizeInGB: Number("int"), // required
|
|
64
|
+
* Throughput: Number("int"),
|
|
65
|
+
* },
|
|
66
|
+
* VolumesPerInstance: Number("int"),
|
|
67
|
+
* },
|
|
68
|
+
* ],
|
|
69
|
+
* EbsOptimized: true || false,
|
|
70
|
+
* },
|
|
71
|
+
* AutoScalingPolicy: {
|
|
72
|
+
* Constraints: {
|
|
73
|
+
* MinCapacity: Number("int"), // required
|
|
74
|
+
* MaxCapacity: Number("int"), // required
|
|
75
|
+
* },
|
|
76
|
+
* Rules: [ // required
|
|
77
|
+
* {
|
|
78
|
+
* Name: "STRING_VALUE", // required
|
|
79
|
+
* Description: "STRING_VALUE",
|
|
80
|
+
* Action: {
|
|
81
|
+
* Market: "ON_DEMAND" || "SPOT",
|
|
82
|
+
* SimpleScalingPolicyConfiguration: {
|
|
83
|
+
* AdjustmentType: "CHANGE_IN_CAPACITY" || "PERCENT_CHANGE_IN_CAPACITY" || "EXACT_CAPACITY",
|
|
84
|
+
* ScalingAdjustment: Number("int"), // required
|
|
85
|
+
* CoolDown: Number("int"),
|
|
86
|
+
* },
|
|
87
|
+
* },
|
|
88
|
+
* Trigger: {
|
|
89
|
+
* CloudWatchAlarmDefinition: {
|
|
90
|
+
* ComparisonOperator: "GREATER_THAN_OR_EQUAL" || "GREATER_THAN" || "LESS_THAN" || "LESS_THAN_OR_EQUAL", // required
|
|
91
|
+
* EvaluationPeriods: Number("int"),
|
|
92
|
+
* MetricName: "STRING_VALUE", // required
|
|
93
|
+
* Namespace: "STRING_VALUE",
|
|
94
|
+
* Period: Number("int"), // required
|
|
95
|
+
* Statistic: "SAMPLE_COUNT" || "AVERAGE" || "SUM" || "MINIMUM" || "MAXIMUM",
|
|
96
|
+
* Threshold: Number("double"), // required
|
|
97
|
+
* Unit: "NONE" || "SECONDS" || "MICRO_SECONDS" || "MILLI_SECONDS" || "BYTES" || "KILO_BYTES" || "MEGA_BYTES" || "GIGA_BYTES" || "TERA_BYTES" || "BITS" || "KILO_BITS" || "MEGA_BITS" || "GIGA_BITS" || "TERA_BITS" || "PERCENT" || "COUNT" || "BYTES_PER_SECOND" || "KILO_BYTES_PER_SECOND" || "MEGA_BYTES_PER_SECOND" || "GIGA_BYTES_PER_SECOND" || "TERA_BYTES_PER_SECOND" || "BITS_PER_SECOND" || "KILO_BITS_PER_SECOND" || "MEGA_BITS_PER_SECOND" || "GIGA_BITS_PER_SECOND" || "TERA_BITS_PER_SECOND" || "COUNT_PER_SECOND",
|
|
98
|
+
* Dimensions: [
|
|
99
|
+
* {
|
|
100
|
+
* Key: "STRING_VALUE",
|
|
101
|
+
* Value: "STRING_VALUE",
|
|
102
|
+
* },
|
|
103
|
+
* ],
|
|
104
|
+
* },
|
|
105
|
+
* },
|
|
106
|
+
* },
|
|
107
|
+
* ],
|
|
108
|
+
* },
|
|
109
|
+
* CustomAmiId: "STRING_VALUE",
|
|
110
|
+
* },
|
|
111
|
+
* ],
|
|
112
|
+
* JobFlowId: "STRING_VALUE", // required
|
|
113
|
+
* };
|
|
29
114
|
* const command = new AddInstanceGroupsCommand(input);
|
|
30
115
|
* const response = await client.send(command);
|
|
31
116
|
* ```
|
|
@@ -44,6 +44,29 @@ export interface AddJobFlowStepsCommandOutput extends AddJobFlowStepsOutput, __M
|
|
|
44
44
|
* import { EMRClient, AddJobFlowStepsCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
45
45
|
* // const { EMRClient, AddJobFlowStepsCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
46
46
|
* const client = new EMRClient(config);
|
|
47
|
+
* const input = {
|
|
48
|
+
* JobFlowId: "STRING_VALUE", // required
|
|
49
|
+
* Steps: [ // required
|
|
50
|
+
* {
|
|
51
|
+
* Name: "STRING_VALUE", // required
|
|
52
|
+
* ActionOnFailure: "TERMINATE_JOB_FLOW" || "TERMINATE_CLUSTER" || "CANCEL_AND_WAIT" || "CONTINUE",
|
|
53
|
+
* HadoopJarStep: {
|
|
54
|
+
* Properties: [
|
|
55
|
+
* {
|
|
56
|
+
* Key: "STRING_VALUE",
|
|
57
|
+
* Value: "STRING_VALUE",
|
|
58
|
+
* },
|
|
59
|
+
* ],
|
|
60
|
+
* Jar: "STRING_VALUE", // required
|
|
61
|
+
* MainClass: "STRING_VALUE",
|
|
62
|
+
* Args: [
|
|
63
|
+
* "STRING_VALUE",
|
|
64
|
+
* ],
|
|
65
|
+
* },
|
|
66
|
+
* },
|
|
67
|
+
* ],
|
|
68
|
+
* ExecutionRoleArn: "STRING_VALUE",
|
|
69
|
+
* };
|
|
47
70
|
* const command = new AddJobFlowStepsCommand(input);
|
|
48
71
|
* const response = await client.send(command);
|
|
49
72
|
* ```
|
|
@@ -30,6 +30,15 @@ export interface AddTagsCommandOutput extends AddTagsOutput, __MetadataBearer {
|
|
|
30
30
|
* import { EMRClient, AddTagsCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
31
31
|
* // const { EMRClient, AddTagsCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
32
32
|
* const client = new EMRClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* ResourceId: "STRING_VALUE", // required
|
|
35
|
+
* Tags: [ // required
|
|
36
|
+
* {
|
|
37
|
+
* Key: "STRING_VALUE",
|
|
38
|
+
* Value: "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* ],
|
|
41
|
+
* };
|
|
33
42
|
* const command = new AddTagsCommand(input);
|
|
34
43
|
* const response = await client.send(command);
|
|
35
44
|
* ```
|
|
@@ -30,6 +30,13 @@ export interface CancelStepsCommandOutput extends CancelStepsOutput, __MetadataB
|
|
|
30
30
|
* import { EMRClient, CancelStepsCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
31
31
|
* // const { EMRClient, CancelStepsCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
32
32
|
* const client = new EMRClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* ClusterId: "STRING_VALUE", // required
|
|
35
|
+
* StepIds: [ // required
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* StepCancellationOption: "SEND_INTERRUPT" || "TERMINATE_PROCESS",
|
|
39
|
+
* };
|
|
33
40
|
* const command = new CancelStepsCommand(input);
|
|
34
41
|
* const response = await client.send(command);
|
|
35
42
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface CreateSecurityConfigurationCommandOutput extends CreateSecurity
|
|
|
27
27
|
* import { EMRClient, CreateSecurityConfigurationCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
28
28
|
* // const { EMRClient, CreateSecurityConfigurationCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
29
29
|
* const client = new EMRClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* Name: "STRING_VALUE", // required
|
|
32
|
+
* SecurityConfiguration: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
30
34
|
* const command = new CreateSecurityConfigurationCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -26,6 +26,28 @@ export interface CreateStudioCommandOutput extends CreateStudioOutput, __Metadat
|
|
|
26
26
|
* import { EMRClient, CreateStudioCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
27
27
|
* // const { EMRClient, CreateStudioCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
28
28
|
* const client = new EMRClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* Name: "STRING_VALUE", // required
|
|
31
|
+
* Description: "STRING_VALUE",
|
|
32
|
+
* AuthMode: "SSO" || "IAM", // required
|
|
33
|
+
* VpcId: "STRING_VALUE", // required
|
|
34
|
+
* SubnetIds: [ // required
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* ServiceRole: "STRING_VALUE", // required
|
|
38
|
+
* UserRole: "STRING_VALUE",
|
|
39
|
+
* WorkspaceSecurityGroupId: "STRING_VALUE", // required
|
|
40
|
+
* EngineSecurityGroupId: "STRING_VALUE", // required
|
|
41
|
+
* DefaultS3Location: "STRING_VALUE", // required
|
|
42
|
+
* IdpAuthUrl: "STRING_VALUE",
|
|
43
|
+
* IdpRelayStateParameterName: "STRING_VALUE",
|
|
44
|
+
* Tags: [
|
|
45
|
+
* {
|
|
46
|
+
* Key: "STRING_VALUE",
|
|
47
|
+
* Value: "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* ],
|
|
50
|
+
* };
|
|
29
51
|
* const command = new CreateStudioCommand(input);
|
|
30
52
|
* const response = await client.send(command);
|
|
31
53
|
* ```
|
|
@@ -30,6 +30,13 @@ export interface CreateStudioSessionMappingCommandOutput extends __MetadataBeare
|
|
|
30
30
|
* import { EMRClient, CreateStudioSessionMappingCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
31
31
|
* // const { EMRClient, CreateStudioSessionMappingCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
32
32
|
* const client = new EMRClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* StudioId: "STRING_VALUE", // required
|
|
35
|
+
* IdentityId: "STRING_VALUE",
|
|
36
|
+
* IdentityName: "STRING_VALUE",
|
|
37
|
+
* IdentityType: "USER" || "GROUP", // required
|
|
38
|
+
* SessionPolicyArn: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
33
40
|
* const command = new CreateStudioSessionMappingCommand(input);
|
|
34
41
|
* const response = await client.send(command);
|
|
35
42
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteSecurityConfigurationCommandOutput extends DeleteSecurity
|
|
|
26
26
|
* import { EMRClient, DeleteSecurityConfigurationCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
27
27
|
* // const { EMRClient, DeleteSecurityConfigurationCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
28
28
|
* const client = new EMRClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* Name: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteSecurityConfigurationCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteStudioCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { EMRClient, DeleteStudioCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
27
27
|
* // const { EMRClient, DeleteStudioCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
28
28
|
* const client = new EMRClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* StudioId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteStudioCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface DeleteStudioSessionMappingCommandOutput extends __MetadataBeare
|
|
|
26
26
|
* import { EMRClient, DeleteStudioSessionMappingCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
27
27
|
* // const { EMRClient, DeleteStudioSessionMappingCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
28
28
|
* const client = new EMRClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* StudioId: "STRING_VALUE", // required
|
|
31
|
+
* IdentityId: "STRING_VALUE",
|
|
32
|
+
* IdentityName: "STRING_VALUE",
|
|
33
|
+
* IdentityType: "USER" || "GROUP", // required
|
|
34
|
+
* };
|
|
29
35
|
* const command = new DeleteStudioSessionMappingCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DescribeClusterCommandOutput extends DescribeClusterOutput, __M
|
|
|
27
27
|
* import { EMRClient, DescribeClusterCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
28
28
|
* // const { EMRClient, DescribeClusterCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
29
29
|
* const client = new EMRClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* ClusterId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DescribeClusterCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -48,6 +48,16 @@ export interface DescribeJobFlowsCommandOutput extends DescribeJobFlowsOutput, _
|
|
|
48
48
|
* import { EMRClient, DescribeJobFlowsCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
49
49
|
* // const { EMRClient, DescribeJobFlowsCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
50
50
|
* const client = new EMRClient(config);
|
|
51
|
+
* const input = {
|
|
52
|
+
* CreatedAfter: new Date("TIMESTAMP"),
|
|
53
|
+
* CreatedBefore: new Date("TIMESTAMP"),
|
|
54
|
+
* JobFlowIds: [
|
|
55
|
+
* "STRING_VALUE",
|
|
56
|
+
* ],
|
|
57
|
+
* JobFlowStates: [
|
|
58
|
+
* "STARTING" || "BOOTSTRAPPING" || "RUNNING" || "WAITING" || "SHUTTING_DOWN" || "TERMINATED" || "COMPLETED" || "FAILED",
|
|
59
|
+
* ],
|
|
60
|
+
* };
|
|
51
61
|
* const command = new DescribeJobFlowsCommand(input);
|
|
52
62
|
* const response = await client.send(command);
|
|
53
63
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeNotebookExecutionCommandOutput extends DescribeNotebook
|
|
|
26
26
|
* import { EMRClient, DescribeNotebookExecutionCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
27
27
|
* // const { EMRClient, DescribeNotebookExecutionCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
28
28
|
* const client = new EMRClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* NotebookExecutionId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeNotebookExecutionCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface DescribeReleaseLabelCommandOutput extends DescribeReleaseLabelO
|
|
|
28
28
|
* import { EMRClient, DescribeReleaseLabelCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
29
29
|
* // const { EMRClient, DescribeReleaseLabelCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
30
30
|
* const client = new EMRClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* ReleaseLabel: "STRING_VALUE",
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* };
|
|
31
36
|
* const command = new DescribeReleaseLabelCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DescribeSecurityConfigurationCommandOutput extends DescribeSecu
|
|
|
27
27
|
* import { EMRClient, DescribeSecurityConfigurationCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
28
28
|
* // const { EMRClient, DescribeSecurityConfigurationCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
29
29
|
* const client = new EMRClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* Name: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DescribeSecurityConfigurationCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DescribeStepCommandOutput extends DescribeStepOutput, __Metadat
|
|
|
26
26
|
* import { EMRClient, DescribeStepCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
27
27
|
* // const { EMRClient, DescribeStepCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
28
28
|
* const client = new EMRClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ClusterId: "STRING_VALUE", // required
|
|
31
|
+
* StepId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DescribeStepCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DescribeStudioCommandOutput extends DescribeStudioOutput, __Met
|
|
|
27
27
|
* import { EMRClient, DescribeStudioCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
28
28
|
* // const { EMRClient, DescribeStudioCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
29
29
|
* const client = new EMRClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* StudioId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DescribeStudioCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetAutoTerminationPolicyCommandOutput extends GetAutoTerminatio
|
|
|
26
26
|
* import { EMRClient, GetAutoTerminationPolicyCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
27
27
|
* // const { EMRClient, GetAutoTerminationPolicyCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
28
28
|
* const client = new EMRClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ClusterId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetAutoTerminationPolicyCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -28,6 +28,7 @@ export interface GetBlockPublicAccessConfigurationCommandOutput extends GetBlock
|
|
|
28
28
|
* import { EMRClient, GetBlockPublicAccessConfigurationCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
29
29
|
* // const { EMRClient, GetBlockPublicAccessConfigurationCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
30
30
|
* const client = new EMRClient(config);
|
|
31
|
+
* const input = {};
|
|
31
32
|
* const command = new GetBlockPublicAccessConfigurationCommand(input);
|
|
32
33
|
* const response = await client.send(command);
|
|
33
34
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface GetClusterSessionCredentialsCommandOutput extends GetClusterSes
|
|
|
27
27
|
* import { EMRClient, GetClusterSessionCredentialsCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
28
28
|
* // const { EMRClient, GetClusterSessionCredentialsCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
29
29
|
* const client = new EMRClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* ClusterId: "STRING_VALUE", // required
|
|
32
|
+
* ExecutionRoleArn: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
30
34
|
* const command = new GetClusterSessionCredentialsCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetManagedScalingPolicyCommandOutput extends GetManagedScalingP
|
|
|
26
26
|
* import { EMRClient, GetManagedScalingPolicyCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
27
27
|
* // const { EMRClient, GetManagedScalingPolicyCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
28
28
|
* const client = new EMRClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ClusterId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetManagedScalingPolicyCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface GetStudioSessionMappingCommandOutput extends GetStudioSessionMa
|
|
|
27
27
|
* import { EMRClient, GetStudioSessionMappingCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
28
28
|
* // const { EMRClient, GetStudioSessionMappingCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
29
29
|
* const client = new EMRClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* StudioId: "STRING_VALUE", // required
|
|
32
|
+
* IdentityId: "STRING_VALUE",
|
|
33
|
+
* IdentityName: "STRING_VALUE",
|
|
34
|
+
* IdentityType: "USER" || "GROUP", // required
|
|
35
|
+
* };
|
|
30
36
|
* const command = new GetStudioSessionMappingCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListBootstrapActionsCommandOutput extends ListBootstrapActionsO
|
|
|
26
26
|
* import { EMRClient, ListBootstrapActionsCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
27
27
|
* // const { EMRClient, ListBootstrapActionsCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
28
28
|
* const client = new EMRClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ClusterId: "STRING_VALUE", // required
|
|
31
|
+
* Marker: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListBootstrapActionsCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -30,6 +30,14 @@ export interface ListClustersCommandOutput extends ListClustersOutput, __Metadat
|
|
|
30
30
|
* import { EMRClient, ListClustersCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
31
31
|
* // const { EMRClient, ListClustersCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
32
32
|
* const client = new EMRClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* CreatedAfter: new Date("TIMESTAMP"),
|
|
35
|
+
* CreatedBefore: new Date("TIMESTAMP"),
|
|
36
|
+
* ClusterStates: [
|
|
37
|
+
* "STARTING" || "BOOTSTRAPPING" || "RUNNING" || "WAITING" || "TERMINATING" || "TERMINATED" || "TERMINATED_WITH_ERRORS",
|
|
38
|
+
* ],
|
|
39
|
+
* Marker: "STRING_VALUE",
|
|
40
|
+
* };
|
|
33
41
|
* const command = new ListClustersCommand(input);
|
|
34
42
|
* const response = await client.send(command);
|
|
35
43
|
* ```
|
|
@@ -30,6 +30,10 @@ export interface ListInstanceFleetsCommandOutput extends ListInstanceFleetsOutpu
|
|
|
30
30
|
* import { EMRClient, ListInstanceFleetsCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
31
31
|
* // const { EMRClient, ListInstanceFleetsCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
32
32
|
* const client = new EMRClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* ClusterId: "STRING_VALUE", // required
|
|
35
|
+
* Marker: "STRING_VALUE",
|
|
36
|
+
* };
|
|
33
37
|
* const command = new ListInstanceFleetsCommand(input);
|
|
34
38
|
* const response = await client.send(command);
|
|
35
39
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListInstanceGroupsCommandOutput extends ListInstanceGroupsOutpu
|
|
|
26
26
|
* import { EMRClient, ListInstanceGroupsCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
27
27
|
* // const { EMRClient, ListInstanceGroupsCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
28
28
|
* const client = new EMRClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ClusterId: "STRING_VALUE", // required
|
|
31
|
+
* Marker: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListInstanceGroupsCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -28,6 +28,19 @@ export interface ListInstancesCommandOutput extends ListInstancesOutput, __Metad
|
|
|
28
28
|
* import { EMRClient, ListInstancesCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
29
29
|
* // const { EMRClient, ListInstancesCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
30
30
|
* const client = new EMRClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* ClusterId: "STRING_VALUE", // required
|
|
33
|
+
* InstanceGroupId: "STRING_VALUE",
|
|
34
|
+
* InstanceGroupTypes: [
|
|
35
|
+
* "MASTER" || "CORE" || "TASK",
|
|
36
|
+
* ],
|
|
37
|
+
* InstanceFleetId: "STRING_VALUE",
|
|
38
|
+
* InstanceFleetType: "MASTER" || "CORE" || "TASK",
|
|
39
|
+
* InstanceStates: [
|
|
40
|
+
* "AWAITING_FULFILLMENT" || "PROVISIONING" || "BOOTSTRAPPING" || "RUNNING" || "TERMINATED",
|
|
41
|
+
* ],
|
|
42
|
+
* Marker: "STRING_VALUE",
|
|
43
|
+
* };
|
|
31
44
|
* const command = new ListInstancesCommand(input);
|
|
32
45
|
* const response = await client.send(command);
|
|
33
46
|
* ```
|
|
@@ -29,6 +29,13 @@ export interface ListNotebookExecutionsCommandOutput extends ListNotebookExecuti
|
|
|
29
29
|
* import { EMRClient, ListNotebookExecutionsCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
30
30
|
* // const { EMRClient, ListNotebookExecutionsCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
31
31
|
* const client = new EMRClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* EditorId: "STRING_VALUE",
|
|
34
|
+
* Status: "START_PENDING" || "STARTING" || "RUNNING" || "FINISHING" || "FINISHED" || "FAILING" || "FAILED" || "STOP_PENDING" || "STOPPING" || "STOPPED",
|
|
35
|
+
* From: new Date("TIMESTAMP"),
|
|
36
|
+
* To: new Date("TIMESTAMP"),
|
|
37
|
+
* Marker: "STRING_VALUE",
|
|
38
|
+
* };
|
|
32
39
|
* const command = new ListNotebookExecutionsCommand(input);
|
|
33
40
|
* const response = await client.send(command);
|
|
34
41
|
* ```
|
|
@@ -26,6 +26,14 @@ export interface ListReleaseLabelsCommandOutput extends ListReleaseLabelsOutput,
|
|
|
26
26
|
* import { EMRClient, ListReleaseLabelsCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
27
27
|
* // const { EMRClient, ListReleaseLabelsCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
28
28
|
* const client = new EMRClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* Filters: {
|
|
31
|
+
* Prefix: "STRING_VALUE",
|
|
32
|
+
* Application: "STRING_VALUE",
|
|
33
|
+
* },
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* MaxResults: Number("int"),
|
|
36
|
+
* };
|
|
29
37
|
* const command = new ListReleaseLabelsCommand(input);
|
|
30
38
|
* const response = await client.send(command);
|
|
31
39
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface ListSecurityConfigurationsCommandOutput extends ListSecurityCon
|
|
|
29
29
|
* import { EMRClient, ListSecurityConfigurationsCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
30
30
|
* // const { EMRClient, ListSecurityConfigurationsCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
31
31
|
* const client = new EMRClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* Marker: "STRING_VALUE",
|
|
34
|
+
* };
|
|
32
35
|
* const command = new ListSecurityConfigurationsCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -31,6 +31,16 @@ export interface ListStepsCommandOutput extends ListStepsOutput, __MetadataBeare
|
|
|
31
31
|
* import { EMRClient, ListStepsCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
32
32
|
* // const { EMRClient, ListStepsCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
33
33
|
* const client = new EMRClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* ClusterId: "STRING_VALUE", // required
|
|
36
|
+
* StepStates: [
|
|
37
|
+
* "PENDING" || "CANCEL_PENDING" || "RUNNING" || "COMPLETED" || "CANCELLED" || "FAILED" || "INTERRUPTED",
|
|
38
|
+
* ],
|
|
39
|
+
* StepIds: [
|
|
40
|
+
* "STRING_VALUE",
|
|
41
|
+
* ],
|
|
42
|
+
* Marker: "STRING_VALUE",
|
|
43
|
+
* };
|
|
34
44
|
* const command = new ListStepsCommand(input);
|
|
35
45
|
* const response = await client.send(command);
|
|
36
46
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface ListStudioSessionMappingsCommandOutput extends ListStudioSessio
|
|
|
27
27
|
* import { EMRClient, ListStudioSessionMappingsCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
28
28
|
* // const { EMRClient, ListStudioSessionMappingsCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
29
29
|
* const client = new EMRClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* StudioId: "STRING_VALUE",
|
|
32
|
+
* IdentityType: "USER" || "GROUP",
|
|
33
|
+
* Marker: "STRING_VALUE",
|
|
34
|
+
* };
|
|
30
35
|
* const command = new ListStudioSessionMappingsCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface ListStudiosCommandOutput extends ListStudiosOutput, __MetadataB
|
|
|
27
27
|
* import { EMRClient, ListStudiosCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
28
28
|
* // const { EMRClient, ListStudiosCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
29
29
|
* const client = new EMRClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* Marker: "STRING_VALUE",
|
|
32
|
+
* };
|
|
30
33
|
* const command = new ListStudiosCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|