awscli 1.38.7__py3-none-any.whl → 1.38.9__py3-none-any.whl

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.

Potentially problematic release.


This version of awscli might be problematic. Click here for more details.

Files changed (62) hide show
  1. awscli/__init__.py +1 -1
  2. awscli/examples/cloudformation/_package_description.rst +1 -1
  3. awscli/examples/codecommit/get-merge-commit.rst +1 -2
  4. awscli/examples/cognito-idp/get-identity-provider-by-identifier.rst +35 -0
  5. awscli/examples/cognito-idp/get-log-delivery-configuration.rst +32 -0
  6. awscli/examples/cognito-idp/get-signing-certificate.rst +14 -13
  7. awscli/examples/cognito-idp/get-ui-customization.rst +22 -19
  8. awscli/examples/cognito-idp/get-user-attribute-verification-code.rst +19 -0
  9. awscli/examples/cognito-idp/get-user-auth-factors.rst +20 -0
  10. awscli/examples/cognito-idp/get-user-pool-mfa-config.rst +33 -0
  11. awscli/examples/cognito-idp/get-user.rst +56 -0
  12. awscli/examples/cognito-idp/global-sign-out.rst +10 -0
  13. awscli/examples/cognito-idp/initiate-auth.rst +27 -0
  14. awscli/examples/cognito-idp/list-devices.rst +23 -25
  15. awscli/examples/cognito-idp/list-groups.rst +32 -0
  16. awscli/examples/cognito-idp/list-identity-providers.rst +29 -0
  17. awscli/examples/cognito-idp/list-resource-servers.rst +43 -0
  18. awscli/examples/cognito-idp/list-tags-for-resource.rst +17 -0
  19. awscli/examples/cognito-idp/list-user-import-jobs.rst +61 -57
  20. awscli/examples/cognito-idp/list-user-pool-clients.rst +32 -0
  21. awscli/examples/cognito-idp/list-user-pools.rst +48 -22
  22. awscli/examples/cognito-idp/list-users.rst +98 -35
  23. awscli/examples/cognito-idp/list-web-authn-credentials.rst +22 -0
  24. awscli/examples/cognito-idp/respond-to-auth-challenge.rst +78 -27
  25. awscli/examples/cognito-idp/revoke-token.rst +11 -0
  26. awscli/examples/cognito-idp/set-log-delivery-configuration.rst +33 -0
  27. awscli/examples/cognito-idp/set-risk-configuration.rst +136 -23
  28. awscli/examples/cognito-idp/set-ui-customization.rst +45 -18
  29. awscli/examples/cognito-idp/set-user-mfa-preference.rst +6 -5
  30. awscli/examples/cognito-idp/set-user-pool-mfa-config.rst +38 -0
  31. awscli/examples/cognito-idp/start-user-import-job.rst +27 -29
  32. awscli/examples/cognito-idp/start-web-authn-registration.rst +47 -0
  33. awscli/examples/cognito-idp/stop-user-import-job.rst +29 -31
  34. awscli/examples/ecs/create-cluster.rst +46 -42
  35. awscli/examples/ecs/put-account-setting.rst +8 -5
  36. awscli/examples/ecs/update-cluster-settings.rst +6 -6
  37. awscli/examples/ecs/update-service.rst +235 -7
  38. awscli/examples/emr/add-steps.rst +8 -8
  39. awscli/examples/emr/create-cluster-examples.rst +5 -5
  40. awscli/examples/rds/cancel-export-task.rst +22 -22
  41. awscli/examples/rds/describe-export-tasks.rst +40 -40
  42. awscli/examples/rds/restore-db-cluster-from-s3.rst +64 -64
  43. awscli/examples/rds/start-export-task.rst +26 -26
  44. awscli/examples/s3/_concepts.rst +2 -2
  45. awscli/examples/s3/cp.rst +30 -30
  46. awscli/examples/s3/ls.rst +7 -7
  47. awscli/examples/s3/mb.rst +6 -6
  48. awscli/examples/s3/mv.rst +21 -21
  49. awscli/examples/s3/rb.rst +8 -8
  50. awscli/examples/s3/rm.rst +12 -12
  51. awscli/examples/s3/sync.rst +27 -27
  52. awscli/examples/s3api/get-bucket-policy.rst +2 -2
  53. {awscli-1.38.7.dist-info → awscli-1.38.9.dist-info}/METADATA +2 -2
  54. {awscli-1.38.7.dist-info → awscli-1.38.9.dist-info}/RECORD +62 -44
  55. {awscli-1.38.7.data → awscli-1.38.9.data}/scripts/aws +0 -0
  56. {awscli-1.38.7.data → awscli-1.38.9.data}/scripts/aws.cmd +0 -0
  57. {awscli-1.38.7.data → awscli-1.38.9.data}/scripts/aws_bash_completer +0 -0
  58. {awscli-1.38.7.data → awscli-1.38.9.data}/scripts/aws_completer +0 -0
  59. {awscli-1.38.7.data → awscli-1.38.9.data}/scripts/aws_zsh_completer.sh +0 -0
  60. {awscli-1.38.7.dist-info → awscli-1.38.9.dist-info}/LICENSE.txt +0 -0
  61. {awscli-1.38.7.dist-info → awscli-1.38.9.dist-info}/WHEEL +0 -0
  62. {awscli-1.38.7.dist-info → awscli-1.38.9.dist-info}/top_level.txt +0 -0
@@ -1,16 +1,19 @@
1
1
  **To modify the account setting for your IAM user account**
2
2
 
3
- The following ``put-account-setting`` example enables the ``serviceLongArnFormat`` account setting for your IAM user account. ::
3
+ The following ``put-account-setting`` example sets the ``containerInsights`` account setting to ``enhanced`` for your IAM user account. This turns on Container Insights with enhanced observability. ::
4
4
 
5
- aws ecs put-account-setting --name serviceLongArnFormat --value enabled
5
+ aws ecs put-account-setting \
6
+ --name containerInsights \
7
+ --value enhanced
6
8
 
7
9
  Output::
8
10
 
9
11
  {
10
12
  "setting": {
11
- "name": "serviceLongArnFormat",
12
- "value": "enabled",
13
- "principalArn": "arn:aws:iam::130757420319:user/your_username"
13
+ "name": "containerInsights",
14
+ "value": "enhanced",
15
+ "principalArn": "arn:aws:iam::123456789012:user/johndoe",
16
+ "type": "user"
14
17
  }
15
18
  }
16
19
 
@@ -1,16 +1,16 @@
1
1
  **To modify the settings for your cluster**
2
2
 
3
- The following ``update-cluster-settings`` example enables CloudWatch Container Insights for the ``default`` cluster. ::
3
+ The following ``update-cluster-settings`` example enables CloudWatch Container Insights with enhanced observability for the ``MyCluster`` cluster. ::
4
4
 
5
5
  aws ecs update-cluster-settings \
6
- --cluster default \
7
- --settings name=containerInsights,value=enabled
6
+ --cluster MyCluster \
7
+ --settings name=containerInsights,value=enhanced
8
8
 
9
9
  Output::
10
10
 
11
11
  {
12
12
  "cluster": {
13
- "clusterArn": "arn:aws:ecs:us-west-2:123456789012:cluster/MyCluster",
13
+ "clusterArn": "arn:aws:ecs:us-esat-1:123456789012:cluster/MyCluster",
14
14
  "clusterName": "default",
15
15
  "status": "ACTIVE",
16
16
  "registeredContainerInstancesCount": 0,
@@ -22,10 +22,10 @@ Output::
22
22
  "settings": [
23
23
  {
24
24
  "name": "containerInsights",
25
- "value": "enabled"
25
+ "value": "enhanced"
26
26
  }
27
27
  ]
28
28
  }
29
29
  }
30
30
 
31
- For more information, see `Modifying Account Settings <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-modifying-longer-id-settings.html>`__ in the *Amazon ECS Developer Guide*.
31
+ For more information, see `Modifying Account Settings <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-modifying-longer-id-settings.html>`__ in the *Amazon ECS Developer Guide*.
@@ -1,13 +1,241 @@
1
- **Example 1: To change the task definition used in a service**
1
+ **Example 1: To change the number of instantiations in a service**
2
2
 
3
- The following ``update-service`` example updates the ``my-http-service`` service to use the ``amazon-ecs-sample`` task definition. ::
3
+ The following ``update-service`` example updates the desired task count of the service ``my-http-service`` to 2. ::
4
4
 
5
- aws ecs update-service --service my-http-service --task-definition amazon-ecs-sample
5
+ aws ecs update-service \
6
+ --cluster MyCluster
7
+ --service my-http-service \
8
+ --desired-count 2
6
9
 
7
- **Example 2: To change the number of tasks in a service**
10
+ Output::
8
11
 
9
- The following ``update-service`` example updates the desired task count of the service ``my-http-service`` to 3. ::
12
+ {
13
+ "service": {
14
+ "serviceArn": "arn:aws:ecs:us-east-1:123456789012:service/MyCluster/my-http-service",
15
+ "serviceName": "my-http-service",
16
+ "clusterArn": "arn:aws:ecs:us-east-1:123456789012:cluster/MyCluster",
17
+ "loadBalancers": [],
18
+ "serviceRegistries": [],
19
+ "status": "ACTIVE",
20
+ "desiredCount": 2,
21
+ "runningCount": 1,
22
+ "pendingCount": 0,
23
+ "capacityProviderStrategy": [
24
+ {
25
+ "capacityProvider": "FARGATE",
26
+ "weight": 1,
27
+ "base": 0
28
+ }
29
+ ],
30
+ "platformVersion": "LATEST",
31
+ "platformFamily": "Linux",
32
+ "taskDefinition": "arn:aws:ecs:us-east-1:123456789012:task-definition/MyTaskDefinition",
33
+ "deploymentConfiguration": {
34
+ "deploymentCircuitBreaker": {
35
+ "enable": true,
36
+ "rollback": true
37
+ },
38
+ "maximumPercent": 200,
39
+ "minimumHealthyPercent": 100,
40
+ "alarms": {
41
+ "alarmNames": [],
42
+ "rollback": false,
43
+ "enable": false
44
+ }
45
+ },
46
+ "deployments": [
47
+ {
48
+ "id": "ecs-svc/1976744184940610707",
49
+ "status": "PRIMARY",
50
+ "taskkDefinition": "arn:aws:ecs:us-east-1:123456789012:task-definition/MyTaskDefinition",
51
+ "desiredCount": 1,
52
+ "pendingCount": 0,
53
+ "runningCount": 1,
54
+ "failedTasks": 0,
55
+ "createdAt": "2024-12-03T16:24:25.225000-05:00",
56
+ "updatedAt": "2024-12-03T16:25:15.837000-05:00",
57
+ "capacityProviderStrategy": [
58
+ {
59
+ "capacityProvider": "FARGATE",
60
+ "weight": 1,
61
+ "base": 0
62
+ }
63
+ ],
64
+ "platformVersion": "1.4.0",
65
+ "platformFamily": "Linux",
66
+ "networkConfiguration": {
67
+ "awsvpcConfiguration": {
68
+ "subnets": [
69
+ "subnet-0d0eab1bb38d5ca64",
70
+ "subnet-0db5010045995c2d5"
71
+ ],
72
+ "securityGroups": [
73
+ "sg-02556bf85a191f59a"
74
+ ],
75
+ "assignPublicIp": "ENABLED"
76
+ }
77
+ },
78
+ "rolloutState": "COMPLETED",
79
+ "rolloutStateReason": "ECS deployment ecs-svc/1976744184940610707 completed."
80
+ }
81
+ ],
82
+ "roleArn": "arn:aws:iam::123456789012:role/aws-service-role/ecs.amazonaws.com/AWSServiceRoleForECS",
83
+ "events": [
84
+ {
85
+ "id": "f27350b9-4b2a-4e2e-b72e-a4b68380de45",
86
+ "createdAt": "2024-12-30T13:24:07.345000-05:00",
87
+ "message": "(service my-http-service) has reached a steady state."
88
+ },
89
+ {
90
+ "id": "e764ec63-f53f-45e3-9af2-d99f922d2957",
91
+ "createdAt": "2024-12-30T12:32:21.600000-05:00",
92
+ "message": "(service my-http-service) has reached a steady state."
93
+ },
94
+ {
95
+ "id": "28444756-c2fa-47f8-bd60-93a8e05f3991",
96
+ "createdAt": "2024-12-08T19:26:10.367000-05:00",
97
+ "message": "(service my-http-service) has reached a steady state."
98
+ }
99
+ ],
100
+ "createdAt": "2024-12-03T16:24:25.225000-05:00",
101
+ "placementConstraints": [],
102
+ "placementStrategy": [],
103
+ "networkConfiguration": {
104
+ "awsvpcConfiguration": {
105
+ "subnets": [
106
+ "subnet-0d0eab1bb38d5ca64",
107
+ "subnet-0db5010045995c2d5"
108
+ ],
109
+ "securityGroups": [
110
+ "sg-02556bf85a191f59a"
111
+ ],
112
+ "assignPublicIp": "ENABLED"
113
+ }
114
+ },
115
+ "healthCheckGracePeriodSeconds": 0,
116
+ "schedulingStrategy": "REPLICA",
117
+ "deploymentController": {
118
+ "type": "ECS"
119
+ },
120
+ "createdBy": "arn:aws:iam::123456789012:role/Admin",
121
+ "enableECSManagedTags": true,
122
+ "propagateTags": "NONE",
123
+ "enableExecuteCommand": false,
124
+ "availabilityZoneRebalancing": "ENABLED"
125
+ }
126
+ }
10
127
 
11
- aws ecs update-service --service my-http-service --desired-count 3
128
+ For more information, see `Updating an Amazon ECS service using the console <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/update-service-console-v2.html>`__ in the *Amazon ECS Developer Guide*.
12
129
 
13
- For more information, see `Updating a Service <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/update-service.html>`_ in the *Amazon ECS Developer Guide*.
130
+ **Example 2: To turn on Availability Zone rebalancing for a service**
131
+
132
+ The following ``update-service`` example turns on Availability Zone rebalancing for the service ``my-http-service``. ::
133
+
134
+ aws ecs update-service \
135
+ --cluster MyCluster \
136
+ --service my-http-service \
137
+ --availability-zone-rebalancing ENABLED
138
+
139
+ Output::
140
+
141
+ {
142
+ "service": {
143
+ "serviceArn": "arn:aws:ecs:us-east-1:123456789012:service/MyCluster/my-http-service",
144
+ "serviceName": "my-http-service",
145
+ "clusterArn": "arn:aws:ecs:us-east-1:123456789012:cluster/MyCluster",
146
+ "loadBalancers": [],
147
+ "serviceRegistries": [],
148
+ "status": "ACTIVE",
149
+ "desiredCount": 2,
150
+ "runningCount": 1,
151
+ "pendingCount": 0,
152
+ "capacityProviderStrategy": [
153
+ {
154
+ "capacityProvider": "FARGATE",
155
+ "weight": 1,
156
+ "base": 0
157
+ }
158
+ ],
159
+ "platformVersion": "LATEST",
160
+ "platformFamily": "Linux",
161
+ "taskDefinition": "arn:aws:ecs:us-east-1:123456789012:task-definition/MyTaskDefinition",
162
+ "deploymentConfiguration": {
163
+ "deploymentCircuitBreaker": {
164
+ "enable": true,
165
+ "rollback": true
166
+ },
167
+ "maximumPercent": 200,
168
+ "minimumHealthyPercent": 100,
169
+ "alarms": {
170
+ "alarmNames": [],
171
+ "rollback": false,
172
+ "enable": false
173
+ }
174
+ },
175
+ "deployments": [
176
+ {
177
+ "id": "ecs-svc/1976744184940610707",
178
+ "status": "PRIMARY",
179
+ "taskkDefinition": "arn:aws:ecs:us-east-1:123456789012:task-definition/MyTaskDefinition",
180
+ "desiredCount": 1,
181
+ "pendingCount": 0,
182
+ "runningCount": 1,
183
+ "failedTasks": 0,
184
+ "createdAt": "2024-12-03T16:24:25.225000-05:00",
185
+ "updatedAt": "2024-12-03T16:25:15.837000-05:00",
186
+ "capacityProviderStrategy": [
187
+ {
188
+ "capacityProvider": "FARGATE",
189
+ "weight": 1,
190
+ "base": 0
191
+ }
192
+ ],
193
+ "platformVersion": "1.4.0",
194
+ "platformFamily": "Linux",
195
+ "networkConfiguration": {
196
+ "awsvpcConfiguration": {
197
+ "subnets": [
198
+ "subnet-0d0eab1bb38d5ca64",
199
+ "subnet-0db5010045995c2d5"
200
+ ],
201
+ "securityGroups": [
202
+ "sg-02556bf85a191f59a"
203
+ ],
204
+ "assignPublicIp": "ENABLED"
205
+ }
206
+ },
207
+ "rolloutState": "COMPLETED",
208
+ "rolloutStateReason": "ECS deployment ecs-svc/1976744184940610707 completed."
209
+ }
210
+ ],
211
+ "roleArn": "arn:aws:iam::123456789012:role/aws-service-role/ecs.amazonaws.com/AWSServiceRoleForECS",
212
+ "events": [],
213
+ "createdAt": "2024-12-03T16:24:25.225000-05:00",
214
+ "placementConstraints": [],
215
+ "placementStrategy": [],
216
+ "networkConfiguration": {
217
+ "awsvpcConfiguration": {
218
+ "subnets": [
219
+ "subnet-0d0eab1bb38d5ca64",
220
+ "subnet-0db5010045995c2d5"
221
+ ],
222
+ "securityGroups": [
223
+ "sg-02556bf85a191f59a"
224
+ ],
225
+ "assignPublicIp": "ENABLED"
226
+ }
227
+ },
228
+ "healthCheckGracePeriodSeconds": 0,
229
+ "schedulingStrategy": "REPLICA",
230
+ "deploymentController": {
231
+ "type": "ECS"
232
+ },
233
+ "createdBy": "arn:aws:iam::123456789012:role/Admin",
234
+ "enableECSManagedTags": true,
235
+ "propagateTags": "NONE",
236
+ "enableExecuteCommand": false,
237
+ "availabilityZoneRebalancing": "ENABLED"
238
+ }
239
+ }
240
+
241
+ For more information, see `Updating an Amazon ECS service using the console <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/update-service-console-v2.html>`__ in the *Amazon ECS Developer Guide*.
@@ -2,7 +2,7 @@
2
2
 
3
3
  - Command::
4
4
 
5
- aws emr add-steps --cluster-id j-XXXXXXXX --steps Type=CUSTOM_JAR,Name=CustomJAR,ActionOnFailure=CONTINUE,Jar=s3://mybucket/mytest.jar,Args=arg1,arg2,arg3 Type=CUSTOM_JAR,Name=CustomJAR,ActionOnFailure=CONTINUE,Jar=s3://mybucket/mytest.jar,MainClass=mymainclass,Args=arg1,arg2,arg3
5
+ aws emr add-steps --cluster-id j-XXXXXXXX --steps Type=CUSTOM_JAR,Name=CustomJAR,ActionOnFailure=CONTINUE,Jar=s3://amzn-s3-demo-bucket/mytest.jar,Args=arg1,arg2,arg3 Type=CUSTOM_JAR,Name=CustomJAR,ActionOnFailure=CONTINUE,Jar=s3://amzn-s3-demo-bucket/mytest.jar,MainClass=mymainclass,Args=arg1,arg2,arg3
6
6
 
7
7
  - Required parameters::
8
8
 
@@ -25,7 +25,7 @@
25
25
 
26
26
  - Command::
27
27
 
28
- aws emr add-steps --cluster-id j-XXXXXXXX --steps Type=STREAMING,Name='Streaming Program',ActionOnFailure=CONTINUE,Args=[-files,s3://elasticmapreduce/samples/wordcount/wordSplitter.py,-mapper,wordSplitter.py,-reducer,aggregate,-input,s3://elasticmapreduce/samples/wordcount/input,-output,s3://mybucket/wordcount/output]
28
+ aws emr add-steps --cluster-id j-XXXXXXXX --steps Type=STREAMING,Name='Streaming Program',ActionOnFailure=CONTINUE,Args=[-files,s3://elasticmapreduce/samples/wordcount/wordSplitter.py,-mapper,wordSplitter.py,-reducer,aggregate,-input,s3://elasticmapreduce/samples/wordcount/input,-output,s3://amzn-s3-demo-bucket/wordcount/output]
29
29
 
30
30
  - Required parameters::
31
31
 
@@ -40,7 +40,7 @@
40
40
  [
41
41
  {
42
42
  "Name": "JSON Streaming Step",
43
- "Args": ["-files","s3://elasticmapreduce/samples/wordcount/wordSplitter.py","-mapper","wordSplitter.py","-reducer","aggregate","-input","s3://elasticmapreduce/samples/wordcount/input","-output","s3://mybucket/wordcount/output"],
43
+ "Args": ["-files","s3://elasticmapreduce/samples/wordcount/wordSplitter.py","-mapper","wordSplitter.py","-reducer","aggregate","-input","s3://elasticmapreduce/samples/wordcount/input","-output","s3://amzn-s3-demo-bucket/wordcount/output"],
44
44
  "ActionOnFailure": "CONTINUE",
45
45
  "Type": "STREAMING"
46
46
  }
@@ -72,15 +72,15 @@ NOTE: JSON arguments must include options and values as their own items in the l
72
72
  "ActionOnFailure": "CONTINUE",
73
73
  "Args": [
74
74
  "-files",
75
- "s3://mybucket/mapper.py,s3://mybucket/reducer.py",
75
+ "s3://amzn-s3-demo-bucket/mapper.py,s3://amzn-s3-demo-bucket/reducer.py",
76
76
  "-mapper",
77
77
  "mapper.py",
78
78
  "-reducer",
79
79
  "reducer.py",
80
80
  "-input",
81
- "s3://mybucket/input",
81
+ "s3://amzn-s3-demo-bucket/input",
82
82
  "-output",
83
- "s3://mybucket/output"]
83
+ "s3://amzn-s3-demo-bucket/output"]
84
84
  }
85
85
  ]
86
86
 
@@ -109,7 +109,7 @@ NOTE: JSON arguments must include options and values as their own items in the l
109
109
 
110
110
  - Command::
111
111
 
112
- aws emr add-steps --cluster-id j-XXXXXXXX --steps Type=HIVE,Name='Hive program',ActionOnFailure=CONTINUE,Args=[-f,s3://mybucket/myhivescript.q,-d,INPUT=s3://mybucket/myhiveinput,-d,OUTPUT=s3://mybucket/myhiveoutput,arg1,arg2] Type=HIVE,Name='Hive steps',ActionOnFailure=TERMINATE_CLUSTER,Args=[-f,s3://elasticmapreduce/samples/hive-ads/libs/model-build.q,-d,INPUT=s3://elasticmapreduce/samples/hive-ads/tables,-d,OUTPUT=s3://mybucket/hive-ads/output/2014-04-18/11-07-32,-d,LIBS=s3://elasticmapreduce/samples/hive-ads/libs]
112
+ aws emr add-steps --cluster-id j-XXXXXXXX --steps Type=HIVE,Name='Hive program',ActionOnFailure=CONTINUE,Args=[-f,s3://amzn-s3-demo-bucket/myhivescript.q,-d,INPUT=s3://amzn-s3-demo-bucket/myhiveinput,-d,OUTPUT=s3://amzn-s3-demo-bucket/myhiveoutput,arg1,arg2] Type=HIVE,Name='Hive steps',ActionOnFailure=TERMINATE_CLUSTER,Args=[-f,s3://elasticmapreduce/samples/hive-ads/libs/model-build.q,-d,INPUT=s3://elasticmapreduce/samples/hive-ads/tables,-d,OUTPUT=s3://amzn-s3-demo-bucket/hive-ads/output/2014-04-18/11-07-32,-d,LIBS=s3://elasticmapreduce/samples/hive-ads/libs]
113
113
 
114
114
 
115
115
  - Required parameters::
@@ -134,7 +134,7 @@ NOTE: JSON arguments must include options and values as their own items in the l
134
134
 
135
135
  - Command::
136
136
 
137
- aws emr add-steps --cluster-id j-XXXXXXXX --steps Type=PIG,Name='Pig program',ActionOnFailure=CONTINUE,Args=[-f,s3://mybucket/mypigscript.pig,-p,INPUT=s3://mybucket/mypiginput,-p,OUTPUT=s3://mybucket/mypigoutput,arg1,arg2] Type=PIG,Name='Pig program',Args=[-f,s3://elasticmapreduce/samples/pig-apache/do-reports2.pig,-p,INPUT=s3://elasticmapreduce/samples/pig-apache/input,-p,OUTPUT=s3://mybucket/pig-apache/output,arg1,arg2]
137
+ aws emr add-steps --cluster-id j-XXXXXXXX --steps Type=PIG,Name='Pig program',ActionOnFailure=CONTINUE,Args=[-f,s3://amzn-s3-demo-bucket/mypigscript.pig,-p,INPUT=s3://amzn-s3-demo-bucket/mypiginput,-p,OUTPUT=s3://amzn-s3-demo-bucket/mypigoutput,arg1,arg2] Type=PIG,Name='Pig program',Args=[-f,s3://elasticmapreduce/samples/pig-apache/do-reports2.pig,-p,INPUT=s3://elasticmapreduce/samples/pig-apache/input,-p,OUTPUT=s3://amzn-s3-demo-bucket/pig-apache/output,arg1,arg2]
138
138
 
139
139
 
140
140
  - Required parameters::
@@ -369,7 +369,7 @@ The following ``create-cluster`` examples add a streaming step to a cluster that
369
369
  The following example specifies the step inline. ::
370
370
 
371
371
  aws emr create-cluster \
372
- --steps Type=STREAMING,Name='Streaming Program',ActionOnFailure=CONTINUE,Args=[-files,s3://elasticmapreduce/samples/wordcount/wordSplitter.py,-mapper,wordSplitter.py,-reducer,aggregate,-input,s3://elasticmapreduce/samples/wordcount/input,-output,s3://mybucket/wordcount/output] \
372
+ --steps Type=STREAMING,Name='Streaming Program',ActionOnFailure=CONTINUE,Args=[-files,s3://elasticmapreduce/samples/wordcount/wordSplitter.py,-mapper,wordSplitter.py,-reducer,aggregate,-input,s3://elasticmapreduce/samples/wordcount/input,-output,s3://amzn-s3-demo-bucket/wordcount/output] \
373
373
  --release-label emr-5.3.1 \
374
374
  --instance-groups InstanceGroupType=MASTER,InstanceCount=1,InstanceType=m4.large InstanceGroupType=CORE,InstanceCount=2,InstanceType=m4.large \
375
375
  --auto-terminate
@@ -397,7 +397,7 @@ Contents of ``multiplefiles.json``::
397
397
  "-input",
398
398
  "s3://elasticmapreduce/samples/wordcount/input",
399
399
  "-output",
400
- "s3://mybucket/wordcount/output"
400
+ "s3://amzn-s3-demo-bucket/wordcount/output"
401
401
  ],
402
402
  "ActionOnFailure": "CONTINUE",
403
403
  "Type": "STREAMING"
@@ -409,7 +409,7 @@ Contents of ``multiplefiles.json``::
409
409
  The following example add Hive steps when creating a cluster. Hive steps require parameters ``Type`` and ``Args``. Hive steps optional parameters are ``Name`` and ``ActionOnFailure``. ::
410
410
 
411
411
  aws emr create-cluster \
412
- --steps Type=HIVE,Name='Hive program',ActionOnFailure=CONTINUE,ActionOnFailure=TERMINATE_CLUSTER,Args=[-f,s3://elasticmapreduce/samples/hive-ads/libs/model-build.q,-d,INPUT=s3://elasticmapreduce/samples/hive-ads/tables,-d,OUTPUT=s3://mybucket/hive-ads/output/2014-04-18/11-07-32,-d,LIBS=s3://elasticmapreduce/samples/hive-ads/libs] \
412
+ --steps Type=HIVE,Name='Hive program',ActionOnFailure=CONTINUE,ActionOnFailure=TERMINATE_CLUSTER,Args=[-f,s3://elasticmapreduce/samples/hive-ads/libs/model-build.q,-d,INPUT=s3://elasticmapreduce/samples/hive-ads/tables,-d,OUTPUT=s3://amzn-s3-demo-bucket/hive-ads/output/2014-04-18/11-07-32,-d,LIBS=s3://elasticmapreduce/samples/hive-ads/libs] \
413
413
  --applications Name=Hive \
414
414
  --release-label emr-5.3.1 \
415
415
  --instance-groups InstanceGroupType=MASTER,InstanceCount=1,InstanceType=m4.large InstanceGroupType=CORE,InstanceCount=2,InstanceType=m4.large
@@ -419,7 +419,7 @@ The following example add Hive steps when creating a cluster. Hive steps require
419
419
  The following example adds Pig steps when creating a cluster. Pig steps required parameters are ``Type`` and ``Args``. Pig steps optional parameters are ``Name`` and ``ActionOnFailure``. ::
420
420
 
421
421
  aws emr create-cluster \
422
- --steps Type=PIG,Name='Pig program',ActionOnFailure=CONTINUE,Args=[-f,s3://elasticmapreduce/samples/pig-apache/do-reports2.pig,-p,INPUT=s3://elasticmapreduce/samples/pig-apache/input,-p,OUTPUT=s3://mybucket/pig-apache/output] \
422
+ --steps Type=PIG,Name='Pig program',ActionOnFailure=CONTINUE,Args=[-f,s3://elasticmapreduce/samples/pig-apache/do-reports2.pig,-p,INPUT=s3://elasticmapreduce/samples/pig-apache/input,-p,OUTPUT=s3://amzn-s3-demo-bucket/pig-apache/output] \
423
423
  --applications Name=Pig \
424
424
  --release-label emr-5.3.1 \
425
425
  --instance-groups InstanceGroupType=MASTER,InstanceCount=1,InstanceType=m4.large InstanceGroupType=CORE,InstanceCount=2,InstanceType=m4.large
@@ -429,7 +429,7 @@ The following example adds Pig steps when creating a cluster. Pig steps required
429
429
  The following ``create-cluster`` example runs two bootstrap actions defined as scripts that are stored in Amazon S3. ::
430
430
 
431
431
  aws emr create-cluster \
432
- --bootstrap-actions Path=s3://mybucket/myscript1,Name=BootstrapAction1,Args=[arg1,arg2] Path=s3://mybucket/myscript2,Name=BootstrapAction2,Args=[arg1,arg2] \
432
+ --bootstrap-actions Path=s3://amzn-s3-demo-bucket/myscript1,Name=BootstrapAction1,Args=[arg1,arg2] Path=s3://amzn-s3-demo-bucket/myscript2,Name=BootstrapAction2,Args=[arg1,arg2] \
433
433
  --release-label emr-5.3.1 \
434
434
  --instance-groups InstanceGroupType=MASTER,InstanceCount=1,InstanceType=m4.large InstanceGroupType=CORE,InstanceCount=2,InstanceType=m4.large \
435
435
  --auto-terminate
@@ -1,23 +1,23 @@
1
- **To cancel a snapshot export to Amazon S3**
2
-
3
- The following ``cancel-export-task`` example cancels an export task in progress that is exporting a snapshot to Amazon S3. ::
4
-
5
- aws rds cancel-export-task \
6
- --export-task-identifier my-s3-export-1
7
-
8
- Output::
9
-
10
- {
11
- "ExportTaskIdentifier": "my-s3-export-1",
12
- "SourceArn": "arn:aws:rds:us-east-1:123456789012:snapshot:publisher-final-snapshot",
13
- "SnapshotTime": "2019-03-24T20:01:09.815Z",
14
- "S3Bucket": "mybucket",
15
- "S3Prefix": "",
16
- "IamRoleArn": "arn:aws:iam::123456789012:role/service-role/export-snap-S3-role",
17
- "KmsKeyId": "arn:aws:kms:us-east-1:123456789012:key/abcd0000-7bfd-4594-af38-aabbccddeeff",
18
- "Status": "CANCELING",
19
- "PercentProgress": 0,
20
- "TotalExtractedDataInGB": 0
21
- }
22
-
1
+ **To cancel a snapshot export to Amazon S3**
2
+
3
+ The following ``cancel-export-task`` example cancels an export task in progress that is exporting a snapshot to Amazon S3. ::
4
+
5
+ aws rds cancel-export-task \
6
+ --export-task-identifier my-s3-export-1
7
+
8
+ Output::
9
+
10
+ {
11
+ "ExportTaskIdentifier": "my-s3-export-1",
12
+ "SourceArn": "arn:aws:rds:us-east-1:123456789012:snapshot:publisher-final-snapshot",
13
+ "SnapshotTime": "2019-03-24T20:01:09.815Z",
14
+ "S3Bucket": "amzn-s3-demo-bucket",
15
+ "S3Prefix": "",
16
+ "IamRoleArn": "arn:aws:iam::123456789012:role/service-role/export-snap-S3-role",
17
+ "KmsKeyId": "arn:aws:kms:us-east-1:123456789012:key/abcd0000-7bfd-4594-af38-aabbccddeeff",
18
+ "Status": "CANCELING",
19
+ "PercentProgress": 0,
20
+ "TotalExtractedDataInGB": 0
21
+ }
22
+
23
23
  For more information, see `Canceling a snapshot export task <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ExportSnapshot.html#USER_ExportSnapshot.Canceling>`__ in the *Amazon RDS User Guide* or `Canceling a snapshot export task <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_ExportSnapshot.html#USER_ExportSnapshot.Canceling>`__ in the *Amazon Aurora User Guide*.
@@ -1,40 +1,40 @@
1
- **To describe snapshot export tasks**
2
-
3
- The following ``describe-export-tasks`` example returns information about snapshot exports to Amazon S3. ::
4
-
5
- aws rds describe-export-tasks
6
-
7
- Output::
8
-
9
- {
10
- "ExportTasks": [
11
- {
12
- "ExportTaskIdentifier": "test-snapshot-export",
13
- "SourceArn": "arn:aws:rds:us-west-2:123456789012:snapshot:test-snapshot",
14
- "SnapshotTime": "2020-03-02T18:26:28.163Z",
15
- "TaskStartTime": "2020-03-02T18:57:56.896Z",
16
- "TaskEndTime": "2020-03-02T19:10:31.985Z",
17
- "S3Bucket": "mybucket",
18
- "S3Prefix": "",
19
- "IamRoleArn": "arn:aws:iam::123456789012:role/service-role/ExportRole",
20
- "KmsKeyId": "arn:aws:kms:us-west-2:123456789012:key/abcd0000-7fca-4128-82f2-aabbccddeeff",
21
- "Status": "COMPLETE",
22
- "PercentProgress": 100,
23
- "TotalExtractedDataInGB": 0
24
- },
25
- {
26
- "ExportTaskIdentifier": "my-s3-export",
27
- "SourceArn": "arn:aws:rds:us-west-2:123456789012:snapshot:db5-snapshot-test",
28
- "SnapshotTime": "2020-03-27T20:48:42.023Z",
29
- "S3Bucket": "mybucket",
30
- "S3Prefix": "",
31
- "IamRoleArn": "arn:aws:iam::123456789012:role/service-role/ExportRole",
32
- "KmsKeyId": "arn:aws:kms:us-west-2:123456789012:key/abcd0000-7fca-4128-82f2-aabbccddeeff",
33
- "Status": "STARTING",
34
- "PercentProgress": 0,
35
- "TotalExtractedDataInGB": 0
36
- }
37
- ]
38
- }
39
-
40
- For more information, see `Monitoring Snapshot Exports <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ExportSnapshot.html#USER_ExportSnapshot.Monitoring>`__ in the *Amazon RDS User Guide*.
1
+ **To describe snapshot export tasks**
2
+
3
+ The following ``describe-export-tasks`` example returns information about snapshot exports to Amazon S3. ::
4
+
5
+ aws rds describe-export-tasks
6
+
7
+ Output::
8
+
9
+ {
10
+ "ExportTasks": [
11
+ {
12
+ "ExportTaskIdentifier": "test-snapshot-export",
13
+ "SourceArn": "arn:aws:rds:us-west-2:123456789012:snapshot:test-snapshot",
14
+ "SnapshotTime": "2020-03-02T18:26:28.163Z",
15
+ "TaskStartTime": "2020-03-02T18:57:56.896Z",
16
+ "TaskEndTime": "2020-03-02T19:10:31.985Z",
17
+ "S3Bucket": "amzn-s3-demo-bucket",
18
+ "S3Prefix": "",
19
+ "IamRoleArn": "arn:aws:iam::123456789012:role/service-role/ExportRole",
20
+ "KmsKeyId": "arn:aws:kms:us-west-2:123456789012:key/abcd0000-7fca-4128-82f2-aabbccddeeff",
21
+ "Status": "COMPLETE",
22
+ "PercentProgress": 100,
23
+ "TotalExtractedDataInGB": 0
24
+ },
25
+ {
26
+ "ExportTaskIdentifier": "my-s3-export",
27
+ "SourceArn": "arn:aws:rds:us-west-2:123456789012:snapshot:db5-snapshot-test",
28
+ "SnapshotTime": "2020-03-27T20:48:42.023Z",
29
+ "S3Bucket": "amzn-s3-demo-bucket",
30
+ "S3Prefix": "",
31
+ "IamRoleArn": "arn:aws:iam::123456789012:role/service-role/ExportRole",
32
+ "KmsKeyId": "arn:aws:kms:us-west-2:123456789012:key/abcd0000-7fca-4128-82f2-aabbccddeeff",
33
+ "Status": "STARTING",
34
+ "PercentProgress": 0,
35
+ "TotalExtractedDataInGB": 0
36
+ }
37
+ ]
38
+ }
39
+
40
+ For more information, see `Monitoring Snapshot Exports <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ExportSnapshot.html#USER_ExportSnapshot.Monitoring>`__ in the *Amazon RDS User Guide*.