aws-sdk-core 2.6.9 → 2.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/apis/acm/2015-12-08/api-2.json +34 -3
- data/apis/acm/2015-12-08/paginators-1.json +2 -2
- data/apis/apigateway/2015-07-09/api-2.json +625 -17
- data/apis/application-autoscaling/2016-02-06/api-2.json +5 -2
- data/apis/appstream/2016-12-01/api-2.json +820 -0
- data/apis/appstream/2016-12-01/examples-1.json +5 -0
- data/apis/appstream/2016-12-01/waiters-2.json +55 -0
- data/apis/autoscaling/2011-01-01/api-2.json +1 -0
- data/apis/autoscaling/2011-01-01/resources-1.json +12 -1
- data/apis/batch/2016-08-10/api-2.json +885 -0
- data/apis/batch/2016-08-10/examples-1.json +589 -0
- data/apis/budgets/2016-10-20/api-2.json +696 -0
- data/apis/budgets/2016-10-20/examples-1.json +5 -0
- data/apis/cloudformation/2010-05-15/api-2.json +126 -11
- data/apis/cloudformation/2010-05-15/examples-1.json +153 -0
- data/apis/cloudformation/2010-05-15/resources-1.json +10 -1
- data/apis/cloudformation/2010-05-15/waiters-2.json +18 -96
- data/apis/cloudfront/2016-01-28/api-2.json +1 -0
- data/apis/cloudfront/2016-08-01/api-2.json +1 -0
- data/apis/cloudfront/2016-08-20/api-2.json +1 -0
- data/apis/cloudfront/2016-09-07/api-2.json +1 -0
- data/apis/cloudfront/2016-09-29/api-2.json +2599 -0
- data/apis/cloudfront/2016-09-29/examples-1.json +5 -0
- data/apis/cloudfront/2016-09-29/paginators-1.json +32 -0
- data/apis/cloudfront/2016-09-29/waiters-2.json +47 -0
- data/apis/cloudfront/2016-11-25/api-2.json +2665 -0
- data/apis/cloudfront/2016-11-25/examples-1.json +5 -0
- data/apis/cloudfront/2016-11-25/paginators-1.json +32 -0
- data/apis/cloudfront/2016-11-25/waiters-2.json +47 -0
- data/apis/cloudhsm/2014-05-30/api-2.json +2 -1
- data/apis/cloudsearch/2013-01-01/api-2.json +2 -1
- data/apis/cloudsearchdomain/2013-01-01/api-2.json +2 -1
- data/apis/cloudtrail/2013-11-01/api-2.json +109 -3
- data/apis/cloudtrail/2013-11-01/paginators-1.json +6 -0
- data/apis/codebuild/2016-10-06/api-2.json +702 -0
- data/apis/codebuild/2016-10-06/examples-1.json +5 -0
- data/apis/codecommit/2015-04-13/api-2.json +2 -1
- data/apis/codedeploy/2014-10-06/api-2.json +35 -6
- data/apis/codepipeline/2015-07-09/api-2.json +3 -2
- data/apis/cognito-identity/2014-06-30/api-2.json +84 -5
- data/apis/cognito-idp/2016-04-18/api-2.json +368 -5
- data/apis/cognito-sync/2014-06-30/api-2.json +2 -1
- data/apis/config/2014-11-12/api-2.json +40 -9
- data/apis/config/2014-11-12/paginators-1.json +2 -2
- data/apis/cur/2017-01-06/api-2.json +226 -0
- data/apis/cur/2017-01-06/examples-1.json +5 -0
- data/apis/cur/2017-01-06/paginators-1.json +9 -0
- data/apis/datapipeline/2012-10-29/api-2.json +2 -1
- data/apis/devicefarm/2015-06-23/api-2.json +2 -1
- data/apis/directconnect/2012-10-25/api-2.json +257 -10
- data/apis/discovery/2015-11-01/api-2.json +316 -5
- data/apis/dms/2016-01-01/api-2.json +45 -9
- data/apis/ds/2015-04-16/api-2.json +144 -1
- data/apis/dynamodb/2011-12-05/api-2.json +802 -0
- data/apis/dynamodb/2011-12-05/examples-1.json +5 -0
- data/apis/dynamodb/2011-12-05/paginators-1.json +26 -0
- data/apis/dynamodb/2011-12-05/waiters-2.json +35 -0
- data/apis/dynamodb/2012-08-10/api-2.json +115 -1
- data/apis/dynamodb/2012-08-10/examples-1.json +623 -0
- data/apis/dynamodb/2012-08-10/paginators-1.json +4 -4
- data/apis/ec2/2015-10-01/api-2.json +1 -0
- data/apis/ec2/2016-04-01/api-2.json +1 -0
- data/apis/ec2/2016-09-15/api-2.json +1 -0
- data/apis/ec2/2016-11-15/api-2.json +15037 -0
- data/apis/ec2/2016-11-15/examples-1.json +3740 -0
- data/apis/ec2/2016-11-15/paginators-1.json +138 -0
- data/apis/ec2/2016-11-15/resources-1.json +2582 -0
- data/apis/ec2/2016-11-15/waiters-2.json +593 -0
- data/apis/ecr/2015-09-21/api-2.json +17 -3
- data/apis/ecr/2015-09-21/paginators-1.json +12 -6
- data/apis/ecs/2014-11-13/api-2.json +183 -9
- data/apis/elasticache/2015-02-02/api-2.json +5 -2
- data/apis/elasticache/2015-02-02/examples-1.json +2963 -0
- data/apis/elasticbeanstalk/2010-12-01/api-2.json +123 -6
- data/apis/elasticfilesystem/2015-02-01/api-2.json +2 -1
- data/apis/elasticfilesystem/2015-02-01/examples-1.json +217 -0
- data/apis/elasticloadbalancing/2012-06-01/api-2.json +1 -0
- data/apis/elasticloadbalancingv2/2015-12-01/api-2.json +1 -0
- data/apis/elasticmapreduce/2009-03-31/api-2.json +322 -5
- data/apis/elastictranscoder/2012-09-25/api-2.json +44 -13
- data/apis/elastictranscoder/2012-09-25/examples-1.json +5 -0
- data/apis/email/2010-12-01/api-2.json +425 -4
- data/apis/es/2015-01-01/api-2.json +1 -0
- data/apis/events/2015-10-07/api-2.json +1 -0
- data/apis/firehose/2015-08-04/api-2.json +151 -4
- data/apis/firehose/2015-08-04/examples-1.json +5 -0
- data/apis/gamelift/2015-10-01/api-2.json +59 -1
- data/apis/glacier/2012-06-01/api-2.json +369 -779
- data/apis/glacier/2012-06-01/examples-1.json +806 -0
- data/apis/glacier/2012-06-01/paginators-1.json +5 -5
- data/apis/health/2016-08-04/api-2.json +547 -0
- data/apis/health/2016-08-04/examples-1.json +5 -0
- data/apis/health/2016-08-04/paginators-1.json +31 -0
- data/apis/iam/2010-05-08/api-2.json +209 -0
- data/apis/iam/2010-05-08/examples-1.json +1186 -0
- data/apis/importexport/2010-06-01/api-2.json +1 -0
- data/apis/inspector/2016-02-16/api-2.json +2 -1
- data/apis/inspector/2016-02-16/examples-1.json +1135 -0
- data/apis/iot-data/2015-05-28/api-2.json +1 -0
- data/apis/iot/2015-05-28/api-2.json +16 -0
- data/apis/kinesis/2013-12-02/api-2.json +80 -12
- data/apis/kinesisanalytics/2015-08-14/api-2.json +7 -2
- data/apis/kms/2014-11-01/api-2.json +2 -1
- data/apis/kms/2014-11-01/examples-1.json +810 -0
- data/apis/lambda/2014-11-11/api-2.json +1 -0
- data/apis/lambda/2015-03-31/api-2.json +162 -9
- data/apis/lambda/2015-03-31/examples-1.json +609 -0
- data/apis/lightsail/2016-11-28/api-2.json +2137 -0
- data/apis/lightsail/2016-11-28/examples-1.json +5 -0
- data/apis/logs/2014-03-28/api-2.json +113 -6
- data/apis/machinelearning/2014-12-12/api-2.json +1 -0
- data/apis/marketplacecommerceanalytics/2015-07-01/api-2.json +5 -2
- data/apis/meteringmarketplace/2016-01-14/api-2.json +136 -0
- data/apis/monitoring/2010-08-01/api-2.json +27 -6
- data/apis/opsworks/2013-02-18/api-2.json +1 -0
- data/apis/opsworkscm/2016-11-01/api-2.json +712 -0
- data/apis/opsworkscm/2016-11-01/examples-1.json +5 -0
- data/apis/pinpoint/2016-12-01/api-2.json +2753 -0
- data/apis/pinpoint/2016-12-01/examples-1.json +5 -0
- data/apis/polly/2016-06-10/api-2.json +504 -0
- data/apis/polly/2016-06-10/examples-1.json +171 -0
- data/apis/rds/2013-01-10/api-2.json +2902 -0
- data/apis/rds/2013-01-10/examples-1.json +5 -0
- data/apis/rds/2013-01-10/paginators-1.json +97 -0
- data/apis/rds/2013-02-12/api-2.json +3058 -0
- data/apis/rds/2013-02-12/examples-1.json +5 -0
- data/apis/rds/2013-02-12/paginators-1.json +110 -0
- data/apis/rds/2013-09-09/api-2.json +3159 -0
- data/apis/rds/2013-09-09/examples-1.json +5 -0
- data/apis/rds/2013-09-09/paginators-1.json +110 -0
- data/apis/rds/2013-09-09/waiters-2.json +97 -0
- data/apis/rds/2014-09-01/api-2.json +3272 -0
- data/apis/rds/2014-09-01/examples-1.json +5 -0
- data/apis/rds/2014-09-01/paginators-1.json +4 -0
- data/apis/rds/2014-10-31/api-2.json +121 -6
- data/apis/rds/2014-10-31/examples-1.json +0 -444
- data/apis/rds/2014-10-31/paginators-1.json +18 -18
- data/apis/rds/2014-10-31/resources-1.json +1 -1
- data/apis/redshift/2012-12-01/api-2.json +1 -0
- data/apis/rekognition/2016-06-27/api-2.json +836 -0
- data/apis/rekognition/2016-06-27/examples-1.json +651 -0
- data/apis/rekognition/2016-06-27/paginators-1.json +16 -0
- data/apis/route53/2013-04-01/api-2.json +186 -219
- data/apis/route53/2013-04-01/paginators-1.json +9 -9
- data/apis/route53domains/2014-05-15/api-2.json +1 -0
- data/apis/s3/2006-03-01/api-2.json +843 -23
- data/apis/sdb/2009-04-15/api-2.json +1 -0
- data/apis/servicecatalog/2015-12-10/api-2.json +1214 -29
- data/apis/shield/2016-06-02/api-2.json +494 -0
- data/apis/shield/2016-06-02/examples-1.json +5 -0
- data/apis/sms/2016-10-24/api-2.json +612 -0
- data/apis/sms/2016-10-24/examples-1.json +5 -0
- data/apis/sms/2016-10-24/paginators-1.json +28 -0
- data/apis/snowball/2016-06-30/api-2.json +283 -11
- data/apis/snowball/2016-06-30/examples-1.json +437 -0
- data/apis/sns/2010-03-31/api-2.json +1 -0
- data/apis/sqs/2012-11-05/api-2.json +74 -38
- data/apis/sqs/2012-11-05/examples-1.json +0 -613
- data/apis/sqs/2012-11-05/resources-1.json +232 -0
- data/apis/ssm/2014-11-06/api-2.json +4036 -536
- data/apis/states/2016-11-23/api-2.json +1021 -0
- data/apis/states/2016-11-23/examples-1.json +5 -0
- data/apis/states/2016-11-23/paginators-1.json +28 -0
- data/apis/storagegateway/2013-06-30/api-2.json +269 -6
- data/apis/storagegateway/2013-06-30/examples-1.json +1376 -0
- data/apis/streams.dynamodb/2012-08-10/api-2.json +2 -1
- data/apis/streams.dynamodb/2012-08-10/examples-1.json +207 -0
- data/apis/sts/2011-06-15/api-2.json +1 -0
- data/apis/sts/2011-06-15/examples-1.json +201 -0
- data/apis/support/2013-04-15/api-2.json +1 -0
- data/apis/swf/2012-01-25/api-2.json +1 -0
- data/apis/waf-regional/2016-11-28/api-2.json +2090 -0
- data/apis/waf-regional/2016-11-28/examples-1.json +1017 -0
- data/apis/waf/2015-08-24/api-2.json +3 -1
- data/apis/waf/2015-08-24/examples-1.json +1012 -0
- data/apis/workspaces/2015-04-08/api-2.json +1 -0
- data/apis/xray/2016-04-12/api-2.json +491 -0
- data/apis/xray/2016-04-12/examples-1.json +5 -0
- data/endpoints.json +781 -392
- data/lib/aws-sdk-core.rb +20 -0
- data/lib/aws-sdk-core/api/customizations.rb +16 -0
- data/lib/aws-sdk-core/api/docs/builder.rb +2 -1
- data/lib/aws-sdk-core/api/docs/client_type_documenter.rb +9 -0
- data/lib/aws-sdk-core/api/docs/crosslink.rb +43 -0
- data/lib/aws-sdk-core/api/docs/operation_documenter.rb +11 -2
- data/lib/aws-sdk-core/appstream.rb +6 -0
- data/lib/aws-sdk-core/batch.rb +5 -0
- data/lib/aws-sdk-core/budgets.rb +5 -0
- data/lib/aws-sdk-core/client.rb +1 -0
- data/lib/aws-sdk-core/client_waiters.rb +5 -5
- data/lib/aws-sdk-core/cloudfront.rb +5 -5
- data/lib/aws-sdk-core/cloudfront/url_signer.rb +1 -1
- data/lib/aws-sdk-core/codebuild.rb +5 -0
- data/lib/aws-sdk-core/costandusagereportservice.rb +6 -0
- data/lib/aws-sdk-core/credential_provider_chain.rb +3 -3
- data/lib/aws-sdk-core/cur.rb +6 -0
- data/lib/aws-sdk-core/ec2.rb +6 -6
- data/lib/aws-sdk-core/elastictranscoder.rb +1 -0
- data/lib/aws-sdk-core/firehose.rb +1 -0
- data/lib/aws-sdk-core/glacier.rb +1 -0
- data/lib/aws-sdk-core/health.rb +6 -0
- data/lib/aws-sdk-core/lightsail.rb +5 -0
- data/lib/aws-sdk-core/opsworkscm.rb +5 -0
- data/lib/aws-sdk-core/partitions/region.rb +0 -12
- data/lib/aws-sdk-core/partitions/service.rb +1 -11
- data/lib/aws-sdk-core/pinpoint.rb +5 -0
- data/lib/aws-sdk-core/plugins/ec2_copy_encrypted_snapshot.rb +24 -55
- data/lib/aws-sdk-core/plugins/idempotency_token.rb +37 -0
- data/lib/aws-sdk-core/plugins/rds_cross_region_copying.rb +64 -0
- data/lib/aws-sdk-core/plugins/request_signer.rb +4 -0
- data/lib/aws-sdk-core/plugins/retry_errors.rb +1 -0
- data/lib/aws-sdk-core/plugins/s3_bucket_dns.rb +1 -1
- data/lib/aws-sdk-core/plugins/sqs_md5s.rb +1 -1
- data/lib/aws-sdk-core/polly.rb +13 -0
- data/lib/aws-sdk-core/polly/presigner.rb +70 -0
- data/lib/aws-sdk-core/rekognition.rb +6 -0
- data/lib/aws-sdk-core/rest/request/endpoint.rb +11 -66
- data/lib/aws-sdk-core/rest/request/querystring_builder.rb +90 -0
- data/lib/aws-sdk-core/shield.rb +5 -0
- data/lib/aws-sdk-core/signers/v4.rb +2 -1
- data/lib/aws-sdk-core/sms.rb +6 -0
- data/lib/aws-sdk-core/sqs.rb +1 -0
- data/lib/aws-sdk-core/states.rb +6 -0
- data/lib/aws-sdk-core/version.rb +1 -1
- data/lib/aws-sdk-core/wafregional.rb +5 -0
- data/lib/aws-sdk-core/xray.rb +5 -0
- data/lib/seahorse/client/net_http/connection_pool.rb +11 -7
- data/lib/seahorse/client/net_http/handler.rb +5 -2
- data/lib/seahorse/client/plugin_list.rb +3 -1
- data/lib/seahorse/client/response.rb +9 -20
- data/service-models.json +66 -2
- metadata +110 -2
@@ -8,7 +8,8 @@
|
|
8
8
|
"serviceFullName":"Amazon DynamoDB Streams",
|
9
9
|
"signatureVersion":"v4",
|
10
10
|
"signingName":"dynamodb",
|
11
|
-
"targetPrefix":"DynamoDBStreams_20120810"
|
11
|
+
"targetPrefix":"DynamoDBStreams_20120810",
|
12
|
+
"uid":"streams-dynamodb-2012-08-10"
|
12
13
|
},
|
13
14
|
"operations":{
|
14
15
|
"DescribeStream":{
|
@@ -1,5 +1,212 @@
|
|
1
1
|
{
|
2
2
|
"version": "1.0",
|
3
3
|
"examples": {
|
4
|
+
"DescribeStream": [
|
5
|
+
{
|
6
|
+
"input": {
|
7
|
+
"StreamArn": "arn:aws:dynamodb:us-west-2:111122223333:table/Forum/stream/2015-05-20T20:51:10.252"
|
8
|
+
},
|
9
|
+
"output": {
|
10
|
+
"StreamDescription": {
|
11
|
+
"CreationRequestDateTime": "Wed May 20 13:51:10 PDT 2015",
|
12
|
+
"KeySchema": [
|
13
|
+
{
|
14
|
+
"AttributeName": "ForumName",
|
15
|
+
"KeyType": "HASH"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"AttributeName": "Subject",
|
19
|
+
"KeyType": "RANGE"
|
20
|
+
}
|
21
|
+
],
|
22
|
+
"Shards": [
|
23
|
+
{
|
24
|
+
"SequenceNumberRange": {
|
25
|
+
"EndingSequenceNumber": "20500000000000000910398",
|
26
|
+
"StartingSequenceNumber": "20500000000000000910398"
|
27
|
+
},
|
28
|
+
"ShardId": "shardId-00000001414562045508-2bac9cd2"
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"ParentShardId": "shardId-00000001414562045508-2bac9cd2",
|
32
|
+
"SequenceNumberRange": {
|
33
|
+
"EndingSequenceNumber": "820400000000000001192334",
|
34
|
+
"StartingSequenceNumber": "820400000000000001192334"
|
35
|
+
},
|
36
|
+
"ShardId": "shardId-00000001414576573621-f55eea83"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"ParentShardId": "shardId-00000001414576573621-f55eea83",
|
40
|
+
"SequenceNumberRange": {
|
41
|
+
"EndingSequenceNumber": "1683700000000000001135967",
|
42
|
+
"StartingSequenceNumber": "1683700000000000001135967"
|
43
|
+
},
|
44
|
+
"ShardId": "shardId-00000001414592258131-674fd923"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"ParentShardId": "shardId-00000001414592258131-674fd923",
|
48
|
+
"SequenceNumberRange": {
|
49
|
+
"StartingSequenceNumber": "2574600000000000000935255"
|
50
|
+
},
|
51
|
+
"ShardId": "shardId-00000001414608446368-3a1afbaf"
|
52
|
+
}
|
53
|
+
],
|
54
|
+
"StreamArn": "arn:aws:dynamodb:us-west-2:111122223333:table/Forum/stream/2015-05-20T20:51:10.252",
|
55
|
+
"StreamLabel": "2015-05-20T20:51:10.252",
|
56
|
+
"StreamStatus": "ENABLED",
|
57
|
+
"StreamViewType": "NEW_AND_OLD_IMAGES",
|
58
|
+
"TableName": "Forum"
|
59
|
+
}
|
60
|
+
},
|
61
|
+
"comments": {
|
62
|
+
"input": {
|
63
|
+
},
|
64
|
+
"output": {
|
65
|
+
}
|
66
|
+
},
|
67
|
+
"description": "The following example describes a stream with a given stream ARN.",
|
68
|
+
"id": "to-describe-a-stream-with-a-given-stream-arn-1473457835200",
|
69
|
+
"title": "To describe a stream with a given stream ARN"
|
70
|
+
}
|
71
|
+
],
|
72
|
+
"GetRecords": [
|
73
|
+
{
|
74
|
+
"input": {
|
75
|
+
"ShardIterator": "arn:aws:dynamodb:us-west-2:111122223333:table/Forum/stream/2015-05-20T20:51:10.252|1|AAAAAAAAAAEvJp6D+zaQ... <remaining characters omitted> ..."
|
76
|
+
},
|
77
|
+
"output": {
|
78
|
+
"NextShardIterator": "arn:aws:dynamodb:us-west-2:111122223333:table/Forum/stream/2015-05-20T20:51:10.252|1|AAAAAAAAAAGQBYshYDEe ... <remaining characters omitted> ...",
|
79
|
+
"Records": [
|
80
|
+
{
|
81
|
+
"awsRegion": "us-west-2",
|
82
|
+
"dynamodb": {
|
83
|
+
"ApproximateCreationDateTime": "1.46480646E9",
|
84
|
+
"Keys": {
|
85
|
+
"ForumName": {
|
86
|
+
"S": "DynamoDB"
|
87
|
+
},
|
88
|
+
"Subject": {
|
89
|
+
"S": "DynamoDB Thread 3"
|
90
|
+
}
|
91
|
+
},
|
92
|
+
"SequenceNumber": "300000000000000499659",
|
93
|
+
"SizeBytes": 41,
|
94
|
+
"StreamViewType": "KEYS_ONLY"
|
95
|
+
},
|
96
|
+
"eventID": "e2fd9c34eff2d779b297b26f5fef4206",
|
97
|
+
"eventName": "INSERT",
|
98
|
+
"eventSource": "aws:dynamodb",
|
99
|
+
"eventVersion": "1.0"
|
100
|
+
},
|
101
|
+
{
|
102
|
+
"awsRegion": "us-west-2",
|
103
|
+
"dynamodb": {
|
104
|
+
"ApproximateCreationDateTime": "1.46480527E9",
|
105
|
+
"Keys": {
|
106
|
+
"ForumName": {
|
107
|
+
"S": "DynamoDB"
|
108
|
+
},
|
109
|
+
"Subject": {
|
110
|
+
"S": "DynamoDB Thread 1"
|
111
|
+
}
|
112
|
+
},
|
113
|
+
"SequenceNumber": "400000000000000499660",
|
114
|
+
"SizeBytes": 41,
|
115
|
+
"StreamViewType": "KEYS_ONLY"
|
116
|
+
},
|
117
|
+
"eventID": "4b25bd0da9a181a155114127e4837252",
|
118
|
+
"eventName": "MODIFY",
|
119
|
+
"eventSource": "aws:dynamodb",
|
120
|
+
"eventVersion": "1.0"
|
121
|
+
},
|
122
|
+
{
|
123
|
+
"awsRegion": "us-west-2",
|
124
|
+
"dynamodb": {
|
125
|
+
"ApproximateCreationDateTime": "1.46480646E9",
|
126
|
+
"Keys": {
|
127
|
+
"ForumName": {
|
128
|
+
"S": "DynamoDB"
|
129
|
+
},
|
130
|
+
"Subject": {
|
131
|
+
"S": "DynamoDB Thread 2"
|
132
|
+
}
|
133
|
+
},
|
134
|
+
"SequenceNumber": "500000000000000499661",
|
135
|
+
"SizeBytes": 41,
|
136
|
+
"StreamViewType": "KEYS_ONLY"
|
137
|
+
},
|
138
|
+
"eventID": "740280c73a3df7842edab3548a1b08ad",
|
139
|
+
"eventName": "REMOVE",
|
140
|
+
"eventSource": "aws:dynamodb",
|
141
|
+
"eventVersion": "1.0"
|
142
|
+
}
|
143
|
+
]
|
144
|
+
},
|
145
|
+
"comments": {
|
146
|
+
"input": {
|
147
|
+
},
|
148
|
+
"output": {
|
149
|
+
}
|
150
|
+
},
|
151
|
+
"description": "The following example retrieves all the stream records from a shard.",
|
152
|
+
"id": "to-retrieve-all-the-stream-records-from-a-shard-1473707781419",
|
153
|
+
"title": "To retrieve all the stream records from a shard"
|
154
|
+
}
|
155
|
+
],
|
156
|
+
"GetShardIterator": [
|
157
|
+
{
|
158
|
+
"input": {
|
159
|
+
"ShardId": "00000001414576573621-f55eea83",
|
160
|
+
"ShardIteratorType": "TRIM_HORIZON",
|
161
|
+
"StreamArn": "arn:aws:dynamodb:us-west-2:111122223333:table/Forum/stream/2015-05-20T20:51:10.252"
|
162
|
+
},
|
163
|
+
"output": {
|
164
|
+
"ShardIterator": "arn:aws:dynamodb:us-west-2:111122223333:table/Forum/stream/2015-05-20T20:51:10.252|1|AAAAAAAAAAEvJp6D+zaQ... <remaining characters omitted> ..."
|
165
|
+
},
|
166
|
+
"comments": {
|
167
|
+
"input": {
|
168
|
+
},
|
169
|
+
"output": {
|
170
|
+
}
|
171
|
+
},
|
172
|
+
"description": "The following example returns a shard iterator for the provided stream ARN and shard ID.",
|
173
|
+
"id": "to-obtain-a-shard-iterator-for-the-provided-stream-arn-and-shard-id-1473459941476",
|
174
|
+
"title": "To obtain a shard iterator for the provided stream ARN and shard ID"
|
175
|
+
}
|
176
|
+
],
|
177
|
+
"ListStreams": [
|
178
|
+
{
|
179
|
+
"input": {
|
180
|
+
},
|
181
|
+
"output": {
|
182
|
+
"Streams": [
|
183
|
+
{
|
184
|
+
"StreamArn": "arn:aws:dynamodb:us-wesst-2:111122223333:table/Forum/stream/2015-05-20T20:51:10.252",
|
185
|
+
"StreamLabel": "2015-05-20T20:51:10.252",
|
186
|
+
"TableName": "Forum"
|
187
|
+
},
|
188
|
+
{
|
189
|
+
"StreamArn": "arn:aws:dynamodb:us-west-2:111122223333:table/Forum/stream/2015-05-20T20:50:02.714",
|
190
|
+
"StreamLabel": "2015-05-20T20:50:02.714",
|
191
|
+
"TableName": "Forum"
|
192
|
+
},
|
193
|
+
{
|
194
|
+
"StreamArn": "arn:aws:dynamodb:us-west-2:111122223333:table/Forum/stream/2015-05-19T23:03:50.641",
|
195
|
+
"StreamLabel": "2015-05-19T23:03:50.641",
|
196
|
+
"TableName": "Forum"
|
197
|
+
}
|
198
|
+
]
|
199
|
+
},
|
200
|
+
"comments": {
|
201
|
+
"input": {
|
202
|
+
},
|
203
|
+
"output": {
|
204
|
+
}
|
205
|
+
},
|
206
|
+
"description": "The following example lists all of the stream ARNs.",
|
207
|
+
"id": "to-list-all-of-the-stream-arns--1473459534285",
|
208
|
+
"title": "To list all of the stream ARNs "
|
209
|
+
}
|
210
|
+
]
|
4
211
|
}
|
5
212
|
}
|
@@ -1,5 +1,206 @@
|
|
1
1
|
{
|
2
2
|
"version": "1.0",
|
3
3
|
"examples": {
|
4
|
+
"AssumeRole": [
|
5
|
+
{
|
6
|
+
"input": {
|
7
|
+
"DurationSeconds": 3600,
|
8
|
+
"ExternalId": "123ABC",
|
9
|
+
"Policy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Sid\":\"Stmt1\",\"Effect\":\"Allow\",\"Action\":\"s3:*\",\"Resource\":\"*\"}]}",
|
10
|
+
"RoleArn": "arn:aws:iam::123456789012:role/demo",
|
11
|
+
"RoleSessionName": "Bob"
|
12
|
+
},
|
13
|
+
"output": {
|
14
|
+
"AssumedRoleUser": {
|
15
|
+
"Arn": "arn:aws:sts::123456789012:assumed-role/demo/Bob",
|
16
|
+
"AssumedRoleId": "ARO123EXAMPLE123:Bob"
|
17
|
+
},
|
18
|
+
"Credentials": {
|
19
|
+
"AccessKeyId": "AKIAIOSFODNN7EXAMPLE",
|
20
|
+
"Expiration": "2011-07-15T23:28:33.359Z",
|
21
|
+
"SecretAccessKey": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYzEXAMPLEKEY",
|
22
|
+
"SessionToken": "AQoDYXdzEPT//////////wEXAMPLEtc764bNrC9SAPBSM22wDOk4x4HIZ8j4FZTwdQWLWsKWHGBuFqwAeMicRXmxfpSPfIeoIYRqTflfKD8YUuwthAx7mSEI/qkPpKPi/kMcGdQrmGdeehM4IC1NtBmUpp2wUE8phUZampKsburEDy0KPkyQDYwT7WZ0wq5VSXDvp75YU9HFvlRd8Tx6q6fE8YQcHNVXAkiY9q6d+xo0rKwT38xVqr7ZD0u0iPPkUL64lIZbqBAz+scqKmlzm8FDrypNC9Yjc8fPOLn9FX9KSYvKTr4rvx3iSIlTJabIQwj2ICCR/oLxBA=="
|
23
|
+
},
|
24
|
+
"PackedPolicySize": 6
|
25
|
+
},
|
26
|
+
"comments": {
|
27
|
+
"input": {
|
28
|
+
},
|
29
|
+
"output": {
|
30
|
+
}
|
31
|
+
},
|
32
|
+
"description": "",
|
33
|
+
"id": "to-assume-a-role-1480532402212",
|
34
|
+
"title": "To assume a role"
|
35
|
+
}
|
36
|
+
],
|
37
|
+
"AssumeRoleWithWebIdentity": [
|
38
|
+
{
|
39
|
+
"input": {
|
40
|
+
"DurationSeconds": 3600,
|
41
|
+
"ProviderId": "www.amazon.com",
|
42
|
+
"RoleArn": "arn:aws:iam::123456789012:role/FederatedWebIdentityRole",
|
43
|
+
"RoleSessionName": "app1",
|
44
|
+
"WebIdentityToken": "Atza%7CIQEBLjAsAhRFiXuWpUXuRvQ9PZL3GMFcYevydwIUFAHZwXZXXXXXXXXJnrulxKDHwy87oGKPznh0D6bEQZTSCzyoCtL_8S07pLpr0zMbn6w1lfVZKNTBdDansFBmtGnIsIapjI6xKR02Yc_2bQ8LZbUXSGm6Ry6_BG7PrtLZtj_dfCTj92xNGed-CrKqjG7nPBjNIL016GGvuS5gSvPRUxWES3VYfm1wl7WTI7jn-Pcb6M-buCgHhFOzTQxod27L9CqnOLio7N3gZAGpsp6n1-AJBOCJckcyXe2c6uD0srOJeZlKUm2eTDVMf8IehDVI0r1QOnTV6KzzAI3OY87Vd_cVMQ"
|
45
|
+
},
|
46
|
+
"output": {
|
47
|
+
"AssumedRoleUser": {
|
48
|
+
"Arn": "arn:aws:sts::123456789012:assumed-role/FederatedWebIdentityRole/app1",
|
49
|
+
"AssumedRoleId": "AROACLKWSDQRAOEXAMPLE:app1"
|
50
|
+
},
|
51
|
+
"Audience": "client.5498841531868486423.1548@apps.example.com",
|
52
|
+
"Credentials": {
|
53
|
+
"AccessKeyId": "AKIAIOSFODNN7EXAMPLE",
|
54
|
+
"Expiration": "2014-10-24T23:00:23Z",
|
55
|
+
"SecretAccessKey": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYzEXAMPLEKEY",
|
56
|
+
"SessionToken": "AQoDYXdzEE0a8ANXXXXXXXXNO1ewxE5TijQyp+IEXAMPLE"
|
57
|
+
},
|
58
|
+
"PackedPolicySize": 123,
|
59
|
+
"Provider": "www.amazon.com",
|
60
|
+
"SubjectFromWebIdentityToken": "amzn1.account.AF6RHO7KZU5XRVQJGXK6HEXAMPLE"
|
61
|
+
},
|
62
|
+
"comments": {
|
63
|
+
"input": {
|
64
|
+
},
|
65
|
+
"output": {
|
66
|
+
}
|
67
|
+
},
|
68
|
+
"description": "",
|
69
|
+
"id": "to-assume-a-role-as-an-openid-connect-federated-user-1480533445696",
|
70
|
+
"title": "To assume a role as an OpenID Connect-federated user"
|
71
|
+
}
|
72
|
+
],
|
73
|
+
"DecodeAuthorizationMessage": [
|
74
|
+
{
|
75
|
+
"input": {
|
76
|
+
"EncodedMessage": "<encoded-message>"
|
77
|
+
},
|
78
|
+
"output": {
|
79
|
+
"DecodedMessage": "{\"allowed\": \"false\",\"explicitDeny\": \"false\",\"matchedStatements\": \"\",\"failures\": \"\",\"context\": {\"principal\": {\"id\": \"AIDACKCEVSQ6C2EXAMPLE\",\"name\": \"Bob\",\"arn\": \"arn:aws:iam::123456789012:user/Bob\"},\"action\": \"ec2:StopInstances\",\"resource\": \"arn:aws:ec2:us-east-1:123456789012:instance/i-dd01c9bd\",\"conditions\": [{\"item\": {\"key\": \"ec2:Tenancy\",\"values\": [\"default\"]},{\"item\": {\"key\": \"ec2:ResourceTag/elasticbeanstalk:environment-name\",\"values\": [\"Default-Environment\"]}},(Additional items ...)]}}"
|
80
|
+
},
|
81
|
+
"comments": {
|
82
|
+
"input": {
|
83
|
+
},
|
84
|
+
"output": {
|
85
|
+
}
|
86
|
+
},
|
87
|
+
"description": "",
|
88
|
+
"id": "to-decode-information-about-an-authorization-status-of-a-request-1480533854499",
|
89
|
+
"title": "To decode information about an authorization status of a request"
|
90
|
+
}
|
91
|
+
],
|
92
|
+
"GetCallerIdentity": [
|
93
|
+
{
|
94
|
+
"input": {
|
95
|
+
},
|
96
|
+
"output": {
|
97
|
+
"Account": "123456789012",
|
98
|
+
"Arn": "arn:aws:iam::123456789012:user/Alice",
|
99
|
+
"UserId": "AKIAI44QH8DHBEXAMPLE"
|
100
|
+
},
|
101
|
+
"comments": {
|
102
|
+
"input": {
|
103
|
+
},
|
104
|
+
"output": {
|
105
|
+
}
|
106
|
+
},
|
107
|
+
"description": "This example shows a request and response made with the credentials for a user named Alice in the AWS account 123456789012.",
|
108
|
+
"id": "to-get-details-about-a-calling-iam-user-1480540050376",
|
109
|
+
"title": "To get details about a calling IAM user"
|
110
|
+
},
|
111
|
+
{
|
112
|
+
"input": {
|
113
|
+
},
|
114
|
+
"output": {
|
115
|
+
"Account": "123456789012",
|
116
|
+
"Arn": "arn:aws:sts::123456789012:assumed-role/my-role-name/my-role-session-name",
|
117
|
+
"UserId": "AKIAI44QH8DHBEXAMPLE:my-role-session-name"
|
118
|
+
},
|
119
|
+
"comments": {
|
120
|
+
"input": {
|
121
|
+
},
|
122
|
+
"output": {
|
123
|
+
}
|
124
|
+
},
|
125
|
+
"description": "This example shows a request and response made with temporary credentials created by AssumeRole. The name of the assumed role is my-role-name, and the RoleSessionName is set to my-role-session-name.",
|
126
|
+
"id": "to-get-details-about-a-calling-user-federated-with-assumerole-1480540158545",
|
127
|
+
"title": "To get details about a calling user federated with AssumeRole"
|
128
|
+
},
|
129
|
+
{
|
130
|
+
"input": {
|
131
|
+
},
|
132
|
+
"output": {
|
133
|
+
"Account": "123456789012",
|
134
|
+
"Arn": "arn:aws:sts::123456789012:federated-user/my-federated-user-name",
|
135
|
+
"UserId": "123456789012:my-federated-user-name"
|
136
|
+
},
|
137
|
+
"comments": {
|
138
|
+
"input": {
|
139
|
+
},
|
140
|
+
"output": {
|
141
|
+
}
|
142
|
+
},
|
143
|
+
"description": "This example shows a request and response made with temporary credentials created by using GetFederationToken. The Name parameter is set to my-federated-user-name.",
|
144
|
+
"id": "to-get-details-about-a-calling-user-federated-with-getfederationtoken-1480540231316",
|
145
|
+
"title": "To get details about a calling user federated with GetFederationToken"
|
146
|
+
}
|
147
|
+
],
|
148
|
+
"GetFederationToken": [
|
149
|
+
{
|
150
|
+
"input": {
|
151
|
+
"DurationSeconds": 3600,
|
152
|
+
"Name": "Bob",
|
153
|
+
"Policy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Sid\":\"Stmt1\",\"Effect\":\"Allow\",\"Action\":\"s3:*\",\"Resource\":\"*\"}]}"
|
154
|
+
},
|
155
|
+
"output": {
|
156
|
+
"Credentials": {
|
157
|
+
"AccessKeyId": "AKIAIOSFODNN7EXAMPLE",
|
158
|
+
"Expiration": "2011-07-15T23:28:33.359Z",
|
159
|
+
"SecretAccessKey": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYzEXAMPLEKEY",
|
160
|
+
"SessionToken": "AQoDYXdzEPT//////////wEXAMPLEtc764bNrC9SAPBSM22wDOk4x4HIZ8j4FZTwdQWLWsKWHGBuFqwAeMicRXmxfpSPfIeoIYRqTflfKD8YUuwthAx7mSEI/qkPpKPi/kMcGdQrmGdeehM4IC1NtBmUpp2wUE8phUZampKsburEDy0KPkyQDYwT7WZ0wq5VSXDvp75YU9HFvlRd8Tx6q6fE8YQcHNVXAkiY9q6d+xo0rKwT38xVqr7ZD0u0iPPkUL64lIZbqBAz+scqKmlzm8FDrypNC9Yjc8fPOLn9FX9KSYvKTr4rvx3iSIlTJabIQwj2ICCR/oLxBA=="
|
161
|
+
},
|
162
|
+
"FederatedUser": {
|
163
|
+
"Arn": "arn:aws:sts::123456789012:federated-user/Bob",
|
164
|
+
"FederatedUserId": "123456789012:Bob"
|
165
|
+
},
|
166
|
+
"PackedPolicySize": 6
|
167
|
+
},
|
168
|
+
"comments": {
|
169
|
+
"input": {
|
170
|
+
},
|
171
|
+
"output": {
|
172
|
+
}
|
173
|
+
},
|
174
|
+
"description": "",
|
175
|
+
"id": "to-get-temporary-credentials-for-a-role-by-using-getfederationtoken-1480540749900",
|
176
|
+
"title": "To get temporary credentials for a role by using GetFederationToken"
|
177
|
+
}
|
178
|
+
],
|
179
|
+
"GetSessionToken": [
|
180
|
+
{
|
181
|
+
"input": {
|
182
|
+
"DurationSeconds": 3600,
|
183
|
+
"SerialNumber": "YourMFASerialNumber",
|
184
|
+
"TokenCode": "123456"
|
185
|
+
},
|
186
|
+
"output": {
|
187
|
+
"Credentials": {
|
188
|
+
"AccessKeyId": "AKIAIOSFODNN7EXAMPLE",
|
189
|
+
"Expiration": "2011-07-11T19:55:29.611Z",
|
190
|
+
"SecretAccessKey": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYzEXAMPLEKEY",
|
191
|
+
"SessionToken": "AQoEXAMPLEH4aoAH0gNCAPyJxz4BlCFFxWNE1OPTgk5TthT+FvwqnKwRcOIfrRh3c/LTo6UDdyJwOOvEVPvLXCrrrUtdnniCEXAMPLE/IvU1dYUg2RVAJBanLiHb4IgRmpRV3zrkuWJOgQs8IZZaIv2BXIa2R4OlgkBN9bkUDNCJiBeb/AXlzBBko7b15fjrBs2+cTQtpZ3CYWFXG8C5zqx37wnOE49mRl/+OtkIKGO7fAE"
|
192
|
+
}
|
193
|
+
},
|
194
|
+
"comments": {
|
195
|
+
"input": {
|
196
|
+
},
|
197
|
+
"output": {
|
198
|
+
}
|
199
|
+
},
|
200
|
+
"description": "",
|
201
|
+
"id": "to-get-temporary-credentials-for-an-iam-user-or-an-aws-account-1480540814038",
|
202
|
+
"title": "To get temporary credentials for an IAM user or an AWS account"
|
203
|
+
}
|
204
|
+
]
|
4
205
|
}
|
5
206
|
}
|