aws-sdk-core 2.0.11 → 2.0.12

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f871efae9872e34c5bc91e5c61046525d4287fa8
4
- data.tar.gz: e5152c54c751c8892eefc24b2cde38d76ac9705c
3
+ metadata.gz: aaac1c08a49dc9a05c499b1a7e09460e869fdf0d
4
+ data.tar.gz: 33d1a5cc186a153fba6595b8aa41dd355746a895
5
5
  SHA512:
6
- metadata.gz: 4e54cc26cf5e183e2896bfc1c5073c25cba814bb573760931d6aa218e23025da48f1da4b3853e574eda95e847c0a956b44527a17e63c6de137afa23869c14664
7
- data.tar.gz: f72ef86b8b8d80dda0f476a86313694f64af08009d890449c8d391cbc1f377b939bc6851bc79865d46fbc4a3ca72be4d9fa555f43841fcc705a469e5ce0e7532
6
+ metadata.gz: f9d7f336ef66e20b823dd69187dee2ba91e706282e6c73d8282a2ae8fd11b66641c80dbad4b50bac6d3af51f7390c598e86e2a7668ee985c03d51aee8db2b55e
7
+ data.tar.gz: f6cb27dd25c8482a198f8b56253d2749915d6473e3a8eefe7deb97de261b5aa3f15a952fb9a17202e213a5d8b792236b2aa20e81863fe5dc1974e13ba00099f4
@@ -1179,6 +1179,18 @@
1179
1179
  }
1180
1180
  ]
1181
1181
  },
1182
+ "GetAccountAuthorizationDetails":{
1183
+ "name":"GetAccountAuthorizationDetails",
1184
+ "http":{
1185
+ "method":"POST",
1186
+ "requestUri":"/"
1187
+ },
1188
+ "input":{"shape":"GetAccountAuthorizationDetailsRequest"},
1189
+ "output":{
1190
+ "shape":"GetAccountAuthorizationDetailsResponse",
1191
+ "resultWrapper":"GetAccountAuthorizationDetailsResult"
1192
+ }
1193
+ },
1182
1194
  "GetAccountPasswordPolicy":{
1183
1195
  "name":"GetAccountPasswordPolicy",
1184
1196
  "http":{
@@ -2986,6 +2998,14 @@
2986
2998
  },
2987
2999
  "exception":true
2988
3000
  },
3001
+ "EntityType":{
3002
+ "type":"string",
3003
+ "enum":[
3004
+ "User",
3005
+ "Role",
3006
+ "Group"
3007
+ ]
3008
+ },
2989
3009
  "GenerateCredentialReportResponse":{
2990
3010
  "type":"structure",
2991
3011
  "members":{
@@ -2993,6 +3013,24 @@
2993
3013
  "Description":{"shape":"ReportStateDescriptionType"}
2994
3014
  }
2995
3015
  },
3016
+ "GetAccountAuthorizationDetailsRequest":{
3017
+ "type":"structure",
3018
+ "members":{
3019
+ "Filter":{"shape":"entityListType"},
3020
+ "MaxItems":{"shape":"maxItemsType"},
3021
+ "Marker":{"shape":"markerType"}
3022
+ }
3023
+ },
3024
+ "GetAccountAuthorizationDetailsResponse":{
3025
+ "type":"structure",
3026
+ "members":{
3027
+ "UserDetailList":{"shape":"userDetailListType"},
3028
+ "GroupDetailList":{"shape":"groupDetailListType"},
3029
+ "RoleDetailList":{"shape":"roleDetailListType"},
3030
+ "IsTruncated":{"shape":"booleanType"},
3031
+ "Marker":{"shape":"markerType"}
3032
+ }
3033
+ },
2996
3034
  "GetAccountPasswordPolicyResponse":{
2997
3035
  "type":"structure",
2998
3036
  "required":["PasswordPolicy"],
@@ -3225,6 +3263,17 @@
3225
3263
  "CreateDate":{"shape":"dateType"}
3226
3264
  }
3227
3265
  },
3266
+ "GroupDetail":{
3267
+ "type":"structure",
3268
+ "members":{
3269
+ "Path":{"shape":"pathType"},
3270
+ "GroupName":{"shape":"groupNameType"},
3271
+ "GroupId":{"shape":"idType"},
3272
+ "Arn":{"shape":"arnType"},
3273
+ "CreateDate":{"shape":"dateType"},
3274
+ "GroupPolicyList":{"shape":"policyDetailListType"}
3275
+ }
3276
+ },
3228
3277
  "InstanceProfile":{
3229
3278
  "type":"structure",
3230
3279
  "required":[
@@ -3700,6 +3749,13 @@
3700
3749
  },
3701
3750
  "exception":true
3702
3751
  },
3752
+ "PolicyDetail":{
3753
+ "type":"structure",
3754
+ "members":{
3755
+ "PolicyName":{"shape":"policyNameType"},
3756
+ "PolicyDocument":{"shape":"policyDocumentType"}
3757
+ }
3758
+ },
3703
3759
  "PutGroupPolicyRequest":{
3704
3760
  "type":"structure",
3705
3761
  "required":[
@@ -3819,6 +3875,19 @@
3819
3875
  "AssumeRolePolicyDocument":{"shape":"policyDocumentType"}
3820
3876
  }
3821
3877
  },
3878
+ "RoleDetail":{
3879
+ "type":"structure",
3880
+ "members":{
3881
+ "Path":{"shape":"pathType"},
3882
+ "RoleName":{"shape":"roleNameType"},
3883
+ "RoleId":{"shape":"idType"},
3884
+ "Arn":{"shape":"arnType"},
3885
+ "CreateDate":{"shape":"dateType"},
3886
+ "AssumeRolePolicyDocument":{"shape":"policyDocumentType"},
3887
+ "InstanceProfileList":{"shape":"instanceProfileListType"},
3888
+ "RolePolicyList":{"shape":"policyDetailListType"}
3889
+ }
3890
+ },
3822
3891
  "SAMLMetadataDocumentType":{
3823
3892
  "type":"string",
3824
3893
  "min":1000,
@@ -4054,6 +4123,18 @@
4054
4123
  "PasswordLastUsed":{"shape":"dateType"}
4055
4124
  }
4056
4125
  },
4126
+ "UserDetail":{
4127
+ "type":"structure",
4128
+ "members":{
4129
+ "Path":{"shape":"pathType"},
4130
+ "UserName":{"shape":"userNameType"},
4131
+ "UserId":{"shape":"idType"},
4132
+ "Arn":{"shape":"arnType"},
4133
+ "CreateDate":{"shape":"dateType"},
4134
+ "UserPolicyList":{"shape":"policyDetailListType"},
4135
+ "GroupList":{"shape":"groupNameListType"}
4136
+ }
4137
+ },
4057
4138
  "VirtualMFADevice":{
4058
4139
  "type":"structure",
4059
4140
  "required":["SerialNumber"],
@@ -4151,6 +4232,10 @@
4151
4232
  "deleteConflictMessage":{"type":"string"},
4152
4233
  "duplicateCertificateMessage":{"type":"string"},
4153
4234
  "entityAlreadyExistsMessage":{"type":"string"},
4235
+ "entityListType":{
4236
+ "type":"list",
4237
+ "member":{"shape":"EntityType"}
4238
+ },
4154
4239
  "entityTemporarilyUnmodifiableMessage":{"type":"string"},
4155
4240
  "existingUserNameType":{
4156
4241
  "type":"string",
@@ -4158,10 +4243,18 @@
4158
4243
  "max":128,
4159
4244
  "pattern":"[\\w+=,.@-]*"
4160
4245
  },
4246
+ "groupDetailListType":{
4247
+ "type":"list",
4248
+ "member":{"shape":"GroupDetail"}
4249
+ },
4161
4250
  "groupListType":{
4162
4251
  "type":"list",
4163
4252
  "member":{"shape":"Group"}
4164
4253
  },
4254
+ "groupNameListType":{
4255
+ "type":"list",
4256
+ "member":{"shape":"groupNameType"}
4257
+ },
4165
4258
  "groupNameType":{
4166
4259
  "type":"string",
4167
4260
  "min":1,
@@ -4245,6 +4338,10 @@
4245
4338
  "max":512,
4246
4339
  "pattern":"(\\u002F)|(\\u002F[\\u0021-\\u007F]+\\u002F)"
4247
4340
  },
4341
+ "policyDetailListType":{
4342
+ "type":"list",
4343
+ "member":{"shape":"PolicyDetail"}
4344
+ },
4248
4345
  "policyDocumentType":{
4249
4346
  "type":"string",
4250
4347
  "min":1,
@@ -4268,6 +4365,10 @@
4268
4365
  "pattern":"[\\u0009\\u000A\\u000D\\u0020-\\u00FF]*",
4269
4366
  "sensitive":true
4270
4367
  },
4368
+ "roleDetailListType":{
4369
+ "type":"list",
4370
+ "member":{"shape":"RoleDetail"}
4371
+ },
4271
4372
  "roleListType":{
4272
4373
  "type":"list",
4273
4374
  "member":{"shape":"Role"}
@@ -4335,6 +4436,10 @@
4335
4436
  "min":40,
4336
4437
  "max":40
4337
4438
  },
4439
+ "userDetailListType":{
4440
+ "type":"list",
4441
+ "member":{"shape":"UserDetail"}
4442
+ },
4338
4443
  "userListType":{
4339
4444
  "type":"list",
4340
4445
  "member":{"shape":"User"}
@@ -232,6 +232,29 @@
232
232
  }
233
233
  ]
234
234
  },
235
+ "PutRecords":{
236
+ "name":"PutRecords",
237
+ "http":{
238
+ "method":"POST",
239
+ "requestUri":"/"
240
+ },
241
+ "input":{"shape":"PutRecordsInput"},
242
+ "output":{"shape":"PutRecordsOutput"},
243
+ "errors":[
244
+ {
245
+ "shape":"ResourceNotFoundException",
246
+ "exception":true
247
+ },
248
+ {
249
+ "shape":"InvalidArgumentException",
250
+ "exception":true
251
+ },
252
+ {
253
+ "shape":"ProvisionedThroughputExceededException",
254
+ "exception":true
255
+ }
256
+ ]
257
+ },
235
258
  "RemoveTagsFromStream":{
236
259
  "name":"RemoveTagsFromStream",
237
260
  "http":{
@@ -342,6 +365,7 @@
342
365
  "StreamDescription":{"shape":"StreamDescription"}
343
366
  }
344
367
  },
368
+ "ErrorCode":{"type":"string"},
345
369
  "ErrorMessage":{"type":"string"},
346
370
  "ExpiredIteratorException":{
347
371
  "type":"structure",
@@ -523,6 +547,58 @@
523
547
  "SequenceNumber":{"shape":"SequenceNumber"}
524
548
  }
525
549
  },
550
+ "PutRecordsInput":{
551
+ "type":"structure",
552
+ "required":[
553
+ "Records",
554
+ "StreamName"
555
+ ],
556
+ "members":{
557
+ "Records":{"shape":"PutRecordsRequestEntryList"},
558
+ "StreamName":{"shape":"StreamName"}
559
+ }
560
+ },
561
+ "PutRecordsOutput":{
562
+ "type":"structure",
563
+ "required":["Records"],
564
+ "members":{
565
+ "FailedRecordCount":{"shape":"PositiveIntegerObject"},
566
+ "Records":{"shape":"PutRecordsResultEntryList"}
567
+ }
568
+ },
569
+ "PutRecordsRequestEntry":{
570
+ "type":"structure",
571
+ "required":[
572
+ "Data",
573
+ "PartitionKey"
574
+ ],
575
+ "members":{
576
+ "Data":{"shape":"Data"},
577
+ "ExplicitHashKey":{"shape":"HashKey"},
578
+ "PartitionKey":{"shape":"PartitionKey"}
579
+ }
580
+ },
581
+ "PutRecordsRequestEntryList":{
582
+ "type":"list",
583
+ "member":{"shape":"PutRecordsRequestEntry"},
584
+ "min":1,
585
+ "max":500
586
+ },
587
+ "PutRecordsResultEntry":{
588
+ "type":"structure",
589
+ "members":{
590
+ "SequenceNumber":{"shape":"SequenceNumber"},
591
+ "ShardId":{"shape":"ShardId"},
592
+ "ErrorCode":{"shape":"ErrorCode"},
593
+ "ErrorMessage":{"shape":"ErrorMessage"}
594
+ }
595
+ },
596
+ "PutRecordsResultEntryList":{
597
+ "type":"list",
598
+ "member":{"shape":"PutRecordsResultEntry"},
599
+ "min":1,
600
+ "max":500
601
+ },
526
602
  "Record":{
527
603
  "type":"structure",
528
604
  "required":[
@@ -110,6 +110,11 @@
110
110
  "error":{"httpStatusCode":404},
111
111
  "exception":true
112
112
  },
113
+ {
114
+ "shape":"NoSuchHostedZone",
115
+ "error":{"httpStatusCode":404},
116
+ "exception":true
117
+ },
113
118
  {
114
119
  "shape":"PriorRequestNotComplete",
115
120
  "error":{"httpStatusCode":400},
@@ -659,6 +664,11 @@
659
664
  "error":{"httpStatusCode":404},
660
665
  "exception":true
661
666
  },
667
+ {
668
+ "shape":"NoSuchHostedZone",
669
+ "error":{"httpStatusCode":404},
670
+ "exception":true
671
+ },
662
672
  {
663
673
  "shape":"PriorRequestNotComplete",
664
674
  "error":{"httpStatusCode":400},
@@ -694,6 +704,11 @@
694
704
  "error":{"httpStatusCode":404},
695
705
  "exception":true
696
706
  },
707
+ {
708
+ "shape":"NoSuchHostedZone",
709
+ "error":{"httpStatusCode":404},
710
+ "exception":true
711
+ },
697
712
  {
698
713
  "shape":"PriorRequestNotComplete",
699
714
  "error":{"httpStatusCode":400},
@@ -735,6 +750,31 @@
735
750
  "exception":true
736
751
  }
737
752
  ]
753
+ },
754
+ "UpdateHostedZoneComment":{
755
+ "name":"UpdateHostedZoneComment",
756
+ "http":{
757
+ "method":"POST",
758
+ "requestUri":"/2013-04-01/hostedzone/{Id}"
759
+ },
760
+ "input":{
761
+ "shape":"UpdateHostedZoneCommentRequest",
762
+ "xmlNamespace":{"uri":"https://route53.amazonaws.com/doc/2013-04-01/"},
763
+ "locationName":"UpdateHostedZoneCommentRequest"
764
+ },
765
+ "output":{"shape":"UpdateHostedZoneCommentResponse"},
766
+ "errors":[
767
+ {
768
+ "shape":"NoSuchHostedZone",
769
+ "error":{"httpStatusCode":404},
770
+ "exception":true
771
+ },
772
+ {
773
+ "shape":"InvalidInput",
774
+ "error":{"httpStatusCode":400},
775
+ "exception":true
776
+ }
777
+ ]
738
778
  }
739
779
  },
740
780
  "shapes":{
@@ -2061,7 +2101,10 @@
2061
2101
  },
2062
2102
  "TagResourceType":{
2063
2103
  "type":"string",
2064
- "enum":["healthcheck"]
2104
+ "enum":[
2105
+ "healthcheck",
2106
+ "hostedzone"
2107
+ ]
2065
2108
  },
2066
2109
  "TagValue":{
2067
2110
  "type":"string",
@@ -2116,6 +2159,25 @@
2116
2159
  "HealthCheck":{"shape":"HealthCheck"}
2117
2160
  }
2118
2161
  },
2162
+ "UpdateHostedZoneCommentRequest":{
2163
+ "type":"structure",
2164
+ "required":["Id"],
2165
+ "members":{
2166
+ "Id":{
2167
+ "shape":"ResourceId",
2168
+ "location":"uri",
2169
+ "locationName":"Id"
2170
+ },
2171
+ "Comment":{"shape":"ResourceDescription"}
2172
+ }
2173
+ },
2174
+ "UpdateHostedZoneCommentResponse":{
2175
+ "type":"structure",
2176
+ "required":["HostedZone"],
2177
+ "members":{
2178
+ "HostedZone":{"shape":"HostedZone"}
2179
+ }
2180
+ },
2119
2181
  "VPC":{
2120
2182
  "type":"structure",
2121
2183
  "members":{
@@ -12,7 +12,7 @@
12
12
  "endpoint": "iam.us-gov.amazonaws.com"
13
13
  },
14
14
  "us-gov-west-1/sts": {
15
- "endpoint": "sts.us-gov.amazonaws.com"
15
+ "endpoint": "sts.us-gov-west-1.amazonaws.com"
16
16
  },
17
17
  "us-gov-west-1/s3": {
18
18
  "endpoint": "s3-{region}.amazonaws.com"
@@ -1,3 +1,3 @@
1
1
  module Aws
2
- VERSION = '2.0.11'
2
+ VERSION = '2.0.12'
3
3
  end
@@ -84,14 +84,14 @@ module Seahorse
84
84
  end
85
85
  end
86
86
 
87
- # @param [URI::HTTP, URI::HTTPS, String] endpoint The HTTP(S) endpoint
87
+ # @param [URI::HTTP, URI::HTTPS] endpoint The HTTP(S) endpoint
88
88
  # to connect to (e.g. 'https://domain.com').
89
89
  #
90
90
  # @yieldparam [Net::HTTPSession] session
91
91
  #
92
92
  # @return [nil]
93
93
  def session_for(endpoint, &block)
94
- endpoint = endpoint.to_s
94
+ endpoint = remove_path_and_query(endpoint)
95
95
  session = nil
96
96
 
97
97
  # attempt to recycle an already open session
@@ -151,13 +151,22 @@ module Seahorse
151
151
  nil
152
152
  end
153
153
 
154
+ private
155
+
156
+ def remove_path_and_query(endpoint)
157
+ endpoint.dup.tap do |e|
158
+ e.path = ''
159
+ e.query = nil
160
+ end.to_s
161
+ end
162
+
154
163
  class << self
155
164
 
156
165
  # Returns a connection pool constructed from the given options.
157
166
  # Calling this method twice with the same options will return
158
167
  # the same pool.
159
168
  #
160
- # @option options [URI::HTTP,String] :http_proxy A proxy to send
169
+ # @option options [URI::HTTP,String] :http_proxy A proxy to send
161
170
  # requests through. Formatted like 'http://proxy.com:123'.
162
171
  #
163
172
  # @option options [Float] :http_open_timeout (15) The number of
@@ -83,7 +83,7 @@ module Seahorse
83
83
  end
84
84
 
85
85
  def escape(string)
86
- CGI::escape(string.encode('UTF-8')).gsub('+', '%20').gsub('%7E', '~')
86
+ Util.uri_escape(string)
87
87
  end
88
88
 
89
89
  end
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.0.11
4
+ version: 2.0.12
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: 2014-11-26 00:00:00.000000000 Z
11
+ date: 2014-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json