aws-sdk-core 2.5.1 → 2.5.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,5 @@
1
+ {
2
+ "version": "1.0",
3
+ "examples": {
4
+ }
5
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "pagination": {
3
+ "ListCloudFrontOriginAccessIdentities": {
4
+ "input_token": "Marker",
5
+ "output_token": "CloudFrontOriginAccessIdentityList.NextMarker",
6
+ "limit_key": "MaxItems",
7
+ "more_results": "CloudFrontOriginAccessIdentityList.IsTruncated",
8
+ "result_key": "CloudFrontOriginAccessIdentityList.Items"
9
+ },
10
+ "ListDistributions": {
11
+ "input_token": "Marker",
12
+ "output_token": "DistributionList.NextMarker",
13
+ "limit_key": "MaxItems",
14
+ "more_results": "DistributionList.IsTruncated",
15
+ "result_key": "DistributionList.Items"
16
+ },
17
+ "ListInvalidations": {
18
+ "input_token": "Marker",
19
+ "output_token": "InvalidationList.NextMarker",
20
+ "limit_key": "MaxItems",
21
+ "more_results": "InvalidationList.IsTruncated",
22
+ "result_key": "InvalidationList.Items"
23
+ },
24
+ "ListStreamingDistributions": {
25
+ "input_token": "Marker",
26
+ "output_token": "StreamingDistributionList.NextMarker",
27
+ "limit_key": "MaxItems",
28
+ "more_results": "StreamingDistributionList.IsTruncated",
29
+ "result_key": "StreamingDistributionList.Items"
30
+ }
31
+ }
32
+ }
@@ -0,0 +1,47 @@
1
+ {
2
+ "version": 2,
3
+ "waiters": {
4
+ "DistributionDeployed": {
5
+ "delay": 60,
6
+ "operation": "GetDistribution",
7
+ "maxAttempts": 25,
8
+ "description": "Wait until a distribution is deployed.",
9
+ "acceptors": [
10
+ {
11
+ "expected": "Deployed",
12
+ "matcher": "path",
13
+ "state": "success",
14
+ "argument": "Distribution.Status"
15
+ }
16
+ ]
17
+ },
18
+ "InvalidationCompleted": {
19
+ "delay": 20,
20
+ "operation": "GetInvalidation",
21
+ "maxAttempts": 30,
22
+ "description": "Wait until an invalidation has completed.",
23
+ "acceptors": [
24
+ {
25
+ "expected": "Completed",
26
+ "matcher": "path",
27
+ "state": "success",
28
+ "argument": "Invalidation.Status"
29
+ }
30
+ ]
31
+ },
32
+ "StreamingDistributionDeployed": {
33
+ "delay": 60,
34
+ "operation": "GetStreamingDistribution",
35
+ "maxAttempts": 25,
36
+ "description": "Wait until a streaming distribution is deployed.",
37
+ "acceptors": [
38
+ {
39
+ "expected": "Deployed",
40
+ "matcher": "path",
41
+ "state": "success",
42
+ "argument": "StreamingDistribution.Status"
43
+ }
44
+ ]
45
+ }
46
+ }
47
+ }
@@ -669,6 +669,12 @@
669
669
  },
670
670
  "exception":true
671
671
  },
672
+ "ListImagesFilter":{
673
+ "type":"structure",
674
+ "members":{
675
+ "tagStatus":{"shape":"TagStatus"}
676
+ }
677
+ },
672
678
  "ListImagesRequest":{
673
679
  "type":"structure",
674
680
  "required":["repositoryName"],
@@ -676,7 +682,8 @@
676
682
  "registryId":{"shape":"RegistryId"},
677
683
  "repositoryName":{"shape":"RepositoryName"},
678
684
  "nextToken":{"shape":"NextToken"},
679
- "maxResults":{"shape":"MaxResults"}
685
+ "maxResults":{"shape":"MaxResults"},
686
+ "filter":{"shape":"ListImagesFilter"}
680
687
  }
681
688
  },
682
689
  "ListImagesResponse":{
@@ -806,6 +813,13 @@
806
813
  "policyText":{"shape":"RepositoryPolicyText"}
807
814
  }
808
815
  },
816
+ "TagStatus":{
817
+ "type":"string",
818
+ "enum":[
819
+ "TAGGED",
820
+ "UNTAGGED"
821
+ ]
822
+ },
809
823
  "UploadId":{
810
824
  "type":"string",
811
825
  "pattern":"[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"
@@ -22,6 +22,18 @@
22
22
  "errors":[
23
23
  {"shape":"MarketplaceCommerceAnalyticsException"}
24
24
  ]
25
+ },
26
+ "StartSupportDataExport":{
27
+ "name":"StartSupportDataExport",
28
+ "http":{
29
+ "method":"POST",
30
+ "requestUri":"/"
31
+ },
32
+ "input":{"shape":"StartSupportDataExportRequest"},
33
+ "output":{"shape":"StartSupportDataExportResult"},
34
+ "errors":[
35
+ {"shape":"MarketplaceCommerceAnalyticsException"}
36
+ ]
25
37
  }
26
38
  },
27
39
  "shapes":{
@@ -65,6 +77,7 @@
65
77
  },
66
78
  "DestinationS3Prefix":{"type":"string"},
67
79
  "ExceptionMessage":{"type":"string"},
80
+ "FromDate":{"type":"timestamp"},
68
81
  "GenerateDataSetRequest":{
69
82
  "type":"structure",
70
83
  "required":[
@@ -115,6 +128,40 @@
115
128
  "SnsTopicArn":{
116
129
  "type":"string",
117
130
  "min":1
131
+ },
132
+ "StartSupportDataExportRequest":{
133
+ "type":"structure",
134
+ "required":[
135
+ "dataSetType",
136
+ "fromDate",
137
+ "roleNameArn",
138
+ "destinationS3BucketName",
139
+ "snsTopicArn"
140
+ ],
141
+ "members":{
142
+ "dataSetType":{"shape":"SupportDataSetType"},
143
+ "fromDate":{"shape":"FromDate"},
144
+ "roleNameArn":{"shape":"RoleNameArn"},
145
+ "destinationS3BucketName":{"shape":"DestinationS3BucketName"},
146
+ "destinationS3Prefix":{"shape":"DestinationS3Prefix"},
147
+ "snsTopicArn":{"shape":"SnsTopicArn"},
148
+ "customerDefinedValues":{"shape":"CustomerDefinedValues"}
149
+ }
150
+ },
151
+ "StartSupportDataExportResult":{
152
+ "type":"structure",
153
+ "members":{
154
+ "dataSetRequestId":{"shape":"DataSetRequestId"}
155
+ }
156
+ },
157
+ "SupportDataSetType":{
158
+ "type":"string",
159
+ "enum":[
160
+ "customer_support_contacts_data",
161
+ "test_customer_support_contacts_data"
162
+ ],
163
+ "max":255,
164
+ "min":1
118
165
  }
119
166
  }
120
167
  }
@@ -41,18 +41,6 @@
41
41
  "matcher": "pathAny",
42
42
  "state": "failure",
43
43
  "argument": "DBInstances[].DBInstanceStatus"
44
- },
45
- {
46
- "expected": "incompatible-parameters",
47
- "matcher": "pathAny",
48
- "state": "failure",
49
- "argument": "DBInstances[].DBInstanceStatus"
50
- },
51
- {
52
- "expected": "incompatible-restore",
53
- "matcher": "pathAny",
54
- "state": "failure",
55
- "argument": "DBInstances[].DBInstanceStatus"
56
44
  }
57
45
  ]
58
46
  },
@@ -1,9 +1,9 @@
1
1
  Aws.add_service(:CloudFront, {
2
- api: "#{Aws::API_DIR}/cloudfront/2016-01-28/api-2.json",
3
- docs: "#{Aws::API_DIR}/cloudfront/2016-01-28/docs-2.json",
4
- examples: "#{Aws::API_DIR}/cloudfront/2016-01-28/examples-1.json",
5
- paginators: "#{Aws::API_DIR}/cloudfront/2016-01-28/paginators-1.json",
6
- waiters: "#{Aws::API_DIR}/cloudfront/2016-01-28/waiters-2.json",
2
+ api: "#{Aws::API_DIR}/cloudfront/2016-08-01/api-2.json",
3
+ docs: "#{Aws::API_DIR}/cloudfront/2016-08-01/docs-2.json",
4
+ examples: "#{Aws::API_DIR}/cloudfront/2016-08-01/examples-1.json",
5
+ paginators: "#{Aws::API_DIR}/cloudfront/2016-08-01/paginators-1.json",
6
+ waiters: "#{Aws::API_DIR}/cloudfront/2016-08-01/waiters-2.json",
7
7
  })
8
8
 
9
9
  module Aws
@@ -42,7 +42,7 @@ module Aws
42
42
  @config_enabled = options[:config_enabled]
43
43
  @credentials_path = options[:credentials_path] ||
44
44
  determine_credentials_path
45
- @parsed_credenetials = {}
45
+ @parsed_credentials = {}
46
46
  load_credentials_file if loadable?(@credentials_path)
47
47
  if @config_enabled
48
48
  @config_path = options[:config_path] || determine_config_path
@@ -91,7 +91,7 @@ module Aws
91
91
  # or `nil` if no valid credentials were found.
92
92
  def credentials(opts = {})
93
93
  p = opts[:profile] || @profile_name
94
- validate_profile_exists(p) if @parsed_credentials || @parsed_config
94
+ validate_profile_exists(p) if credentials_present?
95
95
  if credentials = credentials_from_shared(p, opts)
96
96
  credentials
97
97
  elsif credentials = credentials_from_config(p, opts)
@@ -129,6 +129,10 @@ module Aws
129
129
  end
130
130
 
131
131
  private
132
+ def credentials_present?
133
+ (@parsed_credentials && !@parsed_credentials.empty?) ||
134
+ (@parsed_config && !@parsed_config.empty?)
135
+ end
132
136
  def assume_role_from_profile(cfg, profile, opts)
133
137
  if cfg && prof_cfg = cfg[profile]
134
138
  opts[:source_profile] ||= prof_cfg["source_profile"]
@@ -1,3 +1,3 @@
1
1
  module Aws
2
- VERSION = '2.5.1'
2
+ VERSION = '2.5.2'
3
3
  end
@@ -24,7 +24,7 @@
24
24
  "endpoint": "cloudformation"
25
25
  },
26
26
  "CloudFront": {
27
- "models": "cloudfront/2016-01-28",
27
+ "models": "cloudfront/2016-08-01",
28
28
  "endpoint": "cloudfront"
29
29
  },
30
30
  "CloudHSM": {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.1
4
+ version: 2.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-04 00:00:00.000000000 Z
11
+ date: 2016-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jmespath
@@ -56,6 +56,10 @@ files:
56
56
  - apis/cloudfront/2016-01-28/examples-1.json
57
57
  - apis/cloudfront/2016-01-28/paginators-1.json
58
58
  - apis/cloudfront/2016-01-28/waiters-2.json
59
+ - apis/cloudfront/2016-08-01/api-2.json
60
+ - apis/cloudfront/2016-08-01/examples-1.json
61
+ - apis/cloudfront/2016-08-01/paginators-1.json
62
+ - apis/cloudfront/2016-08-01/waiters-2.json
59
63
  - apis/cloudhsm/2014-05-30/api-2.json
60
64
  - apis/cloudhsm/2014-05-30/examples-1.json
61
65
  - apis/cloudsearch/2013-01-01/api-2.json