aws-sdk 1.47.0 → 1.48.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8f68deea1c7c2e7c7e5ad27c2387f2f02cac07e4
4
- data.tar.gz: 18e98e85be4b6abe4ac45e88d3a6e369f3f3289f
3
+ metadata.gz: 9cd0853910b5cdb0803ed8861832cf021832e65a
4
+ data.tar.gz: f98be3355eba0650370ed6af07dd6b4a56706657
5
5
  SHA512:
6
- metadata.gz: 6478b3c83b70c5f7ad2749d0678b72df0d5586433cdac7a6c39fe4320fb9b9ce54ec18bcbe37044ada7b84c7dcd26142d359c4fb2fae8bae8e055ab97d8c11c6
7
- data.tar.gz: c29f4022ddb0f5ef887f15e346abb97adb892b09a10b0b405eb6535fafe7765963999f623cad96e82c49b26eb30f074090aa10cefc7d1512b0583f3b93d5a4d1
6
+ metadata.gz: 9b4da710549220e9c6aeb1f7ec222e9dfee8d58023781608f12c04be7d4af1cc470604027f99781d3650a6d7dd27afc7d91e7b76c80d914dd42c58ee8bfa3e34
7
+ data.tar.gz: bd91cf990e54da2a2745b65b2dd077bbd68c02bd5b404ae5344f424ef814c98f93a8f4039885c106f37568e64cc428446a5706d495c9156b8785d426481c86c7
data/bin/aws-rb CHANGED
@@ -61,6 +61,10 @@ OptionParser.new do |opts|
61
61
  options[:color] = value
62
62
  end
63
63
 
64
+ opts.on("--profile PROFLIE", "Use a specific profile from your credential file.") do |value|
65
+ options[:profile] = value
66
+ end
67
+
64
68
  opts.on("-d", "--[no-]debug", "log HTTP wire traces, off by default") do |value|
65
69
  options[:debug] = value
66
70
  options[:debug_set] = true
@@ -106,6 +110,13 @@ require 'aws-sdk'
106
110
 
107
111
  cfg = {}
108
112
 
113
+ if options[:profile]
114
+ provider = AWS::Core::CredentialProviders::SharedCredentialFileProvider.new(
115
+ :profile_name => options[:profile]
116
+ )
117
+ cfg[:credential_provider] = provider
118
+ end
119
+
109
120
  if options[:log]
110
121
  logger = Logger.new($stdout)
111
122
  logger.formatter = proc {|severity, datetime, progname, msg| msg }
@@ -1,4 +1,4 @@
1
- # Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
1
+ # Copyright 2011-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License"). You
4
4
  # may not use this file except in compliance with the License. A copy of
@@ -129,6 +129,8 @@
129
129
  Password:
130
130
  - :string
131
131
  - :required
132
+ PasswordResetRequired:
133
+ - :boolean
132
134
  :outputs:
133
135
  :children:
134
136
  CreateLoginProfileResult:
@@ -138,6 +140,8 @@
138
140
  :children:
139
141
  CreateDate:
140
142
  :type: :time
143
+ PasswordResetRequired:
144
+ :type: :boolean
141
145
  - :name: CreateRole
142
146
  :method: :create_role
143
147
  :inputs:
@@ -405,6 +409,13 @@
405
409
  :children:
406
410
  EnableMFADeviceResult:
407
411
  :ignore: true
412
+ - :name: GenerateCredentialReport
413
+ :method: :generate_credential_report
414
+ :inputs: {}
415
+ :outputs:
416
+ :children:
417
+ GenerateCredentialReportResult:
418
+ :ignore: true
408
419
  - :name: GetAccountPasswordPolicy
409
420
  :method: :get_account_password_policy
410
421
  :inputs: {}
@@ -431,6 +442,10 @@
431
442
  :type: :boolean
432
443
  MaxPasswordAge:
433
444
  :type: :integer
445
+ PasswordReusePrevention:
446
+ :type: :integer
447
+ HardExpiry:
448
+ :type: :boolean
434
449
  - :name: GetAccountSummary
435
450
  :method: :get_account_summary
436
451
  :inputs: {}
@@ -450,6 +465,18 @@
450
465
  :children:
451
466
  value:
452
467
  :type: :integer
468
+ - :name: GetCredentialReport
469
+ :method: :get_credential_report
470
+ :inputs: {}
471
+ :outputs:
472
+ :children:
473
+ GetCredentialReportResult:
474
+ :ignore: true
475
+ :children:
476
+ Content:
477
+ :type: :blob
478
+ GeneratedTime:
479
+ :type: :time
453
480
  - :name: GetGroup
454
481
  :method: :get_group
455
482
  :inputs:
@@ -532,6 +559,8 @@
532
559
  :children:
533
560
  CreateDate:
534
561
  :type: :time
562
+ PasswordResetRequired:
563
+ :type: :boolean
535
564
  - :name: GetRole
536
565
  :method: :get_role
537
566
  :inputs:
@@ -592,6 +621,8 @@
592
621
  :children:
593
622
  UploadDate:
594
623
  :type: :time
624
+ Expiration:
625
+ :type: :time
595
626
  - :name: GetUser
596
627
  :method: :get_user
597
628
  :inputs:
@@ -922,6 +953,8 @@
922
953
  :children:
923
954
  UploadDate:
924
955
  :type: :time
956
+ Expiration:
957
+ :type: :time
925
958
  IsTruncated:
926
959
  :type: :boolean
927
960
  - :name: ListSigningCertificates
@@ -1153,6 +1186,12 @@
1153
1186
  - :boolean
1154
1187
  AllowUsersToChangePassword:
1155
1188
  - :boolean
1189
+ MaxPasswordAge:
1190
+ - :integer
1191
+ PasswordReusePrevention:
1192
+ - :integer
1193
+ HardExpiry:
1194
+ - :boolean
1156
1195
  :outputs:
1157
1196
  :children:
1158
1197
  UpdateAccountPasswordPolicyResult:
@@ -1192,7 +1231,8 @@
1192
1231
  - :required
1193
1232
  Password:
1194
1233
  - :string
1195
- - :required
1234
+ PasswordResetRequired:
1235
+ - :boolean
1196
1236
  :outputs:
1197
1237
  :children:
1198
1238
  UpdateLoginProfileResult:
@@ -1278,6 +1318,8 @@
1278
1318
  :children:
1279
1319
  UploadDate:
1280
1320
  :type: :time
1321
+ Expiration:
1322
+ :type: :time
1281
1323
  - :name: UploadSigningCertificate
1282
1324
  :method: :upload_signing_certificate
1283
1325
  :inputs:
@@ -16,6 +16,26 @@
16
16
  :target_prefix: AWSSupport_20130415.
17
17
  :api_version: '2013-04-15'
18
18
  :operations:
19
+ - :name: AddAttachmentsToSet
20
+ :method: :add_attachments_to_set
21
+ :inputs:
22
+ attachmentSetId:
23
+ - :string
24
+ attachments:
25
+ - :list:
26
+ - :structure:
27
+ fileName:
28
+ - :string
29
+ data:
30
+ - :blob
31
+ - :required
32
+ :outputs:
33
+ attachmentSetId:
34
+ :sym: :attachment_set_id
35
+ :type: :string
36
+ expiryTime:
37
+ :sym: :expiry_time
38
+ :type: :string
19
39
  - :name: AddCommunicationToCase
20
40
  :method: :add_communication_to_case
21
41
  :inputs:
@@ -27,6 +47,8 @@
27
47
  ccEmailAddresses:
28
48
  - :list:
29
49
  - :string
50
+ attachmentSetId:
51
+ - :string
30
52
  :outputs:
31
53
  result:
32
54
  :sym: :result
@@ -53,10 +75,29 @@
53
75
  - :string
54
76
  issueType:
55
77
  - :string
78
+ attachmentSetId:
79
+ - :string
56
80
  :outputs:
57
81
  caseId:
58
82
  :sym: :case_id
59
83
  :type: :string
84
+ - :name: DescribeAttachment
85
+ :method: :describe_attachment
86
+ :inputs:
87
+ attachmentId:
88
+ - :string
89
+ - :required
90
+ :outputs:
91
+ attachment:
92
+ :sym: :attachment
93
+ :type: :hash
94
+ :members:
95
+ fileName:
96
+ :sym: :file_name
97
+ :type: :string
98
+ data:
99
+ :sym: :data
100
+ :type: :blob
60
101
  - :name: DescribeCases
61
102
  :method: :describe_cases
62
103
  :inputs:
@@ -77,6 +118,8 @@
77
118
  - :integer
78
119
  language:
79
120
  - :string
121
+ includeCommunications:
122
+ - :boolean
80
123
  :outputs:
81
124
  cases:
82
125
  :sym: :cases
@@ -129,6 +172,16 @@
129
172
  timeCreated:
130
173
  :sym: :time_created
131
174
  :type: :string
175
+ attachmentSet:
176
+ :sym: :attachment_set
177
+ :type: :hash
178
+ :members:
179
+ attachmentId:
180
+ :sym: :attachment_id
181
+ :type: :string
182
+ fileName:
183
+ :sym: :file_name
184
+ :type: :string
132
185
  nextToken:
133
186
  :sym: :next_token
134
187
  :type: :string
@@ -172,6 +225,16 @@
172
225
  timeCreated:
173
226
  :sym: :time_created
174
227
  :type: :string
228
+ attachmentSet:
229
+ :sym: :attachment_set
230
+ :type: :hash
231
+ :members:
232
+ attachmentId:
233
+ :sym: :attachment_id
234
+ :type: :string
235
+ fileName:
236
+ :sym: :file_name
237
+ :type: :string
175
238
  nextToken:
176
239
  :sym: :next_token
177
240
  :type: :string
@@ -52,8 +52,8 @@ module AWS
52
52
  @cached_credentials ||= get_credentials
53
53
  end
54
54
  end
55
- @cached_credentials[:access_key_id] &&
56
- @cached_credentials[:secret_access_key]
55
+ !!(@cached_credentials[:access_key_id] &&
56
+ @cached_credentials[:secret_access_key])
57
57
  end
58
58
 
59
59
  # @return [String] Returns the AWS access key id.
@@ -13,5 +13,5 @@
13
13
 
14
14
  module AWS
15
15
  # Current version of the AWS SDK for Ruby
16
- VERSION = '1.47.0'
16
+ VERSION = '1.48.0'
17
17
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.47.0
4
+ version: 1.48.0
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-07-10 00:00:00.000000000 Z
11
+ date: 2014-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri