aws-sdk 1.43.3 → 1.44.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: eb3dc200a0317bdbd592bf709f9ca74ede471a32
4
- data.tar.gz: f52c4e64d52d2e3ada7655c27bde191efa4b0856
3
+ metadata.gz: d4d977db9ca82788899173305329b8781dfe049a
4
+ data.tar.gz: 8504e2f4842209551585382eec13b7292ecb3908
5
5
  SHA512:
6
- metadata.gz: 0367f747dfe9b54e901df28ca54af8c863647a0a7551af9a54a73dd8db8c0108f7fd10354f36edabf04c3b0cd41aed2210e5ba600143f4935ab5cf1c29fdc5b9
7
- data.tar.gz: ac2fef157406d2a5e30f2a7f5e80ada47403aef46fdf4cebdb7ac1a2294edc960dba8eb0cc5c4dac7171f104b9591d2de89dfeb03c2bada84bf9135f61081802
6
+ metadata.gz: fb1050397424be399749723e52218783336ab079fc0464c2a0ca3e498dda17dfaf35f01e91b4aff7ff04ea6cd4249e9e538f525bcc1b06a92c38c605fa37a4d9
7
+ data.tar.gz: d631567f633c5278539eb57dfc206770f0f3be4681c32b829d5247dd944aae407f34b09ab70faf4bcbb1a9cc7340f3317cfa2df3f20781b17b4b32865b12caad
@@ -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
@@ -90,6 +90,7 @@
90
90
  :inputs:
91
91
  ResourceId:
92
92
  - :string
93
+ - :required
93
94
  Tags:
94
95
  - :list:
95
96
  - :structure:
@@ -97,12 +98,14 @@
97
98
  - :string
98
99
  Value:
99
100
  - :string
101
+ - :required
100
102
  :outputs: {}
101
103
  - :name: DescribeCluster
102
104
  :method: :describe_cluster
103
105
  :inputs:
104
106
  ClusterId:
105
107
  - :string
108
+ - :required
106
109
  :outputs:
107
110
  Cluster:
108
111
  :sym: :cluster
@@ -207,6 +210,9 @@
207
210
  Value:
208
211
  :sym: :value
209
212
  :type: :string
213
+ ServiceRole:
214
+ :sym: :service_role
215
+ :type: :string
210
216
  - :name: DescribeJobFlows
211
217
  :method: :describe_job_flows
212
218
  :inputs:
@@ -435,13 +441,18 @@
435
441
  JobFlowRole:
436
442
  :sym: :job_flow_role
437
443
  :type: :string
444
+ ServiceRole:
445
+ :sym: :service_role
446
+ :type: :string
438
447
  - :name: DescribeStep
439
448
  :method: :describe_step
440
449
  :inputs:
441
450
  ClusterId:
442
451
  - :string
452
+ - :required
443
453
  StepId:
444
454
  - :string
455
+ - :required
445
456
  :outputs:
446
457
  Step:
447
458
  :sym: :step
@@ -510,6 +521,7 @@
510
521
  :inputs:
511
522
  ClusterId:
512
523
  - :string
524
+ - :required
513
525
  Marker:
514
526
  - :string
515
527
  :outputs:
@@ -590,6 +602,7 @@
590
602
  :inputs:
591
603
  ClusterId:
592
604
  - :string
605
+ - :required
593
606
  Marker:
594
607
  - :string
595
608
  :outputs:
@@ -659,6 +672,7 @@
659
672
  :inputs:
660
673
  ClusterId:
661
674
  - :string
675
+ - :required
662
676
  InstanceGroupId:
663
677
  - :string
664
678
  InstanceGroupTypes:
@@ -727,6 +741,7 @@
727
741
  :inputs:
728
742
  ClusterId:
729
743
  - :string
744
+ - :required
730
745
  StepStates:
731
746
  - :list:
732
747
  - :string
@@ -796,9 +811,11 @@
796
811
  :inputs:
797
812
  ResourceId:
798
813
  - :string
814
+ - :required
799
815
  TagKeys:
800
816
  - :list:
801
817
  - :string
818
+ - :required
802
819
  :outputs: {}
803
820
  - :name: RunJobFlow
804
821
  :method: :run_job_flow
@@ -910,6 +927,8 @@
910
927
  - :boolean
911
928
  JobFlowRole:
912
929
  - :string
930
+ ServiceRole:
931
+ - :string
913
932
  Tags:
914
933
  - :list:
915
934
  - :structure:
@@ -35,9 +35,11 @@
35
35
  :pipeline_id:
36
36
  :name: PipelineId
37
37
  :type: :string
38
+ :required: true
38
39
  :input:
39
40
  :name: Input
40
41
  :type: :hash
42
+ :required: true
41
43
  :members:
42
44
  :key:
43
45
  :name: Key
@@ -138,6 +140,45 @@
138
140
  :duration:
139
141
  :name: Duration
140
142
  :type: :string
143
+ :captions:
144
+ :name: Captions
145
+ :type: :hash
146
+ :members:
147
+ :merge_policy:
148
+ :name: MergePolicy
149
+ :type: :string
150
+ :caption_sources:
151
+ :name: CaptionSources
152
+ :type: :array
153
+ :members:
154
+ :name: member
155
+ :type: :hash
156
+ :members:
157
+ :key:
158
+ :name: Key
159
+ :type: :string
160
+ :language:
161
+ :name: Language
162
+ :type: :string
163
+ :time_offset:
164
+ :name: TimeOffset
165
+ :type: :string
166
+ :label:
167
+ :name: Label
168
+ :type: :string
169
+ :caption_formats:
170
+ :name: CaptionFormats
171
+ :type: :array
172
+ :members:
173
+ :name: member
174
+ :type: :hash
175
+ :members:
176
+ :format:
177
+ :name: Format
178
+ :type: :string
179
+ :pattern:
180
+ :name: Pattern
181
+ :type: :string
141
182
  :outputs:
142
183
  :name: Outputs
143
184
  :type: :array
@@ -222,6 +263,45 @@
222
263
  :duration:
223
264
  :name: Duration
224
265
  :type: :string
266
+ :captions:
267
+ :name: Captions
268
+ :type: :hash
269
+ :members:
270
+ :merge_policy:
271
+ :name: MergePolicy
272
+ :type: :string
273
+ :caption_sources:
274
+ :name: CaptionSources
275
+ :type: :array
276
+ :members:
277
+ :name: member
278
+ :type: :hash
279
+ :members:
280
+ :key:
281
+ :name: Key
282
+ :type: :string
283
+ :language:
284
+ :name: Language
285
+ :type: :string
286
+ :time_offset:
287
+ :name: TimeOffset
288
+ :type: :string
289
+ :label:
290
+ :name: Label
291
+ :type: :string
292
+ :caption_formats:
293
+ :name: CaptionFormats
294
+ :type: :array
295
+ :members:
296
+ :name: member
297
+ :type: :hash
298
+ :members:
299
+ :format:
300
+ :name: Format
301
+ :type: :string
302
+ :pattern:
303
+ :name: Pattern
304
+ :type: :string
225
305
  :output_key_prefix:
226
306
  :name: OutputKeyPrefix
227
307
  :type: :string
@@ -370,6 +450,39 @@
370
450
  Duration:
371
451
  :sym: :duration
372
452
  :type: :string
453
+ Captions:
454
+ :sym: :captions
455
+ :type: :hash
456
+ :members:
457
+ MergePolicy:
458
+ :sym: :merge_policy
459
+ :type: :string
460
+ CaptionSources:
461
+ :sym: :caption_sources
462
+ :type: :hash
463
+ :members:
464
+ Key:
465
+ :sym: :key
466
+ :type: :string
467
+ Language:
468
+ :sym: :language
469
+ :type: :string
470
+ TimeOffset:
471
+ :sym: :time_offset
472
+ :type: :string
473
+ Label:
474
+ :sym: :label
475
+ :type: :string
476
+ CaptionFormats:
477
+ :sym: :caption_formats
478
+ :type: :hash
479
+ :members:
480
+ Format:
481
+ :sym: :format
482
+ :type: :string
483
+ Pattern:
484
+ :sym: :pattern
485
+ :type: :string
373
486
  Outputs:
374
487
  :sym: :outputs
375
488
  :type: :hash
@@ -460,6 +573,39 @@
460
573
  Duration:
461
574
  :sym: :duration
462
575
  :type: :string
576
+ Captions:
577
+ :sym: :captions
578
+ :type: :hash
579
+ :members:
580
+ MergePolicy:
581
+ :sym: :merge_policy
582
+ :type: :string
583
+ CaptionSources:
584
+ :sym: :caption_sources
585
+ :type: :hash
586
+ :members:
587
+ Key:
588
+ :sym: :key
589
+ :type: :string
590
+ Language:
591
+ :sym: :language
592
+ :type: :string
593
+ TimeOffset:
594
+ :sym: :time_offset
595
+ :type: :string
596
+ Label:
597
+ :sym: :label
598
+ :type: :string
599
+ CaptionFormats:
600
+ :sym: :caption_formats
601
+ :type: :hash
602
+ :members:
603
+ Format:
604
+ :sym: :format
605
+ :type: :string
606
+ Pattern:
607
+ :sym: :pattern
608
+ :type: :string
463
609
  OutputKeyPrefix:
464
610
  :sym: :output_key_prefix
465
611
  :type: :string
@@ -495,15 +641,18 @@
495
641
  :name:
496
642
  :name: Name
497
643
  :type: :string
644
+ :required: true
498
645
  :input_bucket:
499
646
  :name: InputBucket
500
647
  :type: :string
648
+ :required: true
501
649
  :output_bucket:
502
650
  :name: OutputBucket
503
651
  :type: :string
504
652
  :role:
505
653
  :name: Role
506
654
  :type: :string
655
+ :required: true
507
656
  :notifications:
508
657
  :name: Notifications
509
658
  :type: :hash
@@ -676,12 +825,14 @@
676
825
  :name:
677
826
  :name: Name
678
827
  :type: :string
828
+ :required: true
679
829
  :description:
680
830
  :name: Description
681
831
  :type: :string
682
832
  :container:
683
833
  :name: Container
684
834
  :type: :string
835
+ :required: true
685
836
  :video:
686
837
  :name: Video
687
838
  :type: :hash
@@ -1143,6 +1294,39 @@
1143
1294
  Duration:
1144
1295
  :sym: :duration
1145
1296
  :type: :string
1297
+ Captions:
1298
+ :sym: :captions
1299
+ :type: :hash
1300
+ :members:
1301
+ MergePolicy:
1302
+ :sym: :merge_policy
1303
+ :type: :string
1304
+ CaptionSources:
1305
+ :sym: :caption_sources
1306
+ :type: :hash
1307
+ :members:
1308
+ Key:
1309
+ :sym: :key
1310
+ :type: :string
1311
+ Language:
1312
+ :sym: :language
1313
+ :type: :string
1314
+ TimeOffset:
1315
+ :sym: :time_offset
1316
+ :type: :string
1317
+ Label:
1318
+ :sym: :label
1319
+ :type: :string
1320
+ CaptionFormats:
1321
+ :sym: :caption_formats
1322
+ :type: :hash
1323
+ :members:
1324
+ Format:
1325
+ :sym: :format
1326
+ :type: :string
1327
+ Pattern:
1328
+ :sym: :pattern
1329
+ :type: :string
1146
1330
  Outputs:
1147
1331
  :sym: :outputs
1148
1332
  :type: :hash
@@ -1233,6 +1417,39 @@
1233
1417
  Duration:
1234
1418
  :sym: :duration
1235
1419
  :type: :string
1420
+ Captions:
1421
+ :sym: :captions
1422
+ :type: :hash
1423
+ :members:
1424
+ MergePolicy:
1425
+ :sym: :merge_policy
1426
+ :type: :string
1427
+ CaptionSources:
1428
+ :sym: :caption_sources
1429
+ :type: :hash
1430
+ :members:
1431
+ Key:
1432
+ :sym: :key
1433
+ :type: :string
1434
+ Language:
1435
+ :sym: :language
1436
+ :type: :string
1437
+ TimeOffset:
1438
+ :sym: :time_offset
1439
+ :type: :string
1440
+ Label:
1441
+ :sym: :label
1442
+ :type: :string
1443
+ CaptionFormats:
1444
+ :sym: :caption_formats
1445
+ :type: :hash
1446
+ :members:
1447
+ Format:
1448
+ :sym: :format
1449
+ :type: :string
1450
+ Pattern:
1451
+ :sym: :pattern
1452
+ :type: :string
1236
1453
  OutputKeyPrefix:
1237
1454
  :sym: :output_key_prefix
1238
1455
  :type: :string
@@ -1400,6 +1617,39 @@
1400
1617
  Duration:
1401
1618
  :sym: :duration
1402
1619
  :type: :string
1620
+ Captions:
1621
+ :sym: :captions
1622
+ :type: :hash
1623
+ :members:
1624
+ MergePolicy:
1625
+ :sym: :merge_policy
1626
+ :type: :string
1627
+ CaptionSources:
1628
+ :sym: :caption_sources
1629
+ :type: :hash
1630
+ :members:
1631
+ Key:
1632
+ :sym: :key
1633
+ :type: :string
1634
+ Language:
1635
+ :sym: :language
1636
+ :type: :string
1637
+ TimeOffset:
1638
+ :sym: :time_offset
1639
+ :type: :string
1640
+ Label:
1641
+ :sym: :label
1642
+ :type: :string
1643
+ CaptionFormats:
1644
+ :sym: :caption_formats
1645
+ :type: :hash
1646
+ :members:
1647
+ Format:
1648
+ :sym: :format
1649
+ :type: :string
1650
+ Pattern:
1651
+ :sym: :pattern
1652
+ :type: :string
1403
1653
  Outputs:
1404
1654
  :sym: :outputs
1405
1655
  :type: :hash
@@ -1490,6 +1740,39 @@
1490
1740
  Duration:
1491
1741
  :sym: :duration
1492
1742
  :type: :string
1743
+ Captions:
1744
+ :sym: :captions
1745
+ :type: :hash
1746
+ :members:
1747
+ MergePolicy:
1748
+ :sym: :merge_policy
1749
+ :type: :string
1750
+ CaptionSources:
1751
+ :sym: :caption_sources
1752
+ :type: :hash
1753
+ :members:
1754
+ Key:
1755
+ :sym: :key
1756
+ :type: :string
1757
+ Language:
1758
+ :sym: :language
1759
+ :type: :string
1760
+ TimeOffset:
1761
+ :sym: :time_offset
1762
+ :type: :string
1763
+ Label:
1764
+ :sym: :label
1765
+ :type: :string
1766
+ CaptionFormats:
1767
+ :sym: :caption_formats
1768
+ :type: :hash
1769
+ :members:
1770
+ Format:
1771
+ :sym: :format
1772
+ :type: :string
1773
+ Pattern:
1774
+ :sym: :pattern
1775
+ :type: :string
1493
1776
  OutputKeyPrefix:
1494
1777
  :sym: :output_key_prefix
1495
1778
  :type: :string
@@ -1924,6 +2207,39 @@
1924
2207
  Duration:
1925
2208
  :sym: :duration
1926
2209
  :type: :string
2210
+ Captions:
2211
+ :sym: :captions
2212
+ :type: :hash
2213
+ :members:
2214
+ MergePolicy:
2215
+ :sym: :merge_policy
2216
+ :type: :string
2217
+ CaptionSources:
2218
+ :sym: :caption_sources
2219
+ :type: :hash
2220
+ :members:
2221
+ Key:
2222
+ :sym: :key
2223
+ :type: :string
2224
+ Language:
2225
+ :sym: :language
2226
+ :type: :string
2227
+ TimeOffset:
2228
+ :sym: :time_offset
2229
+ :type: :string
2230
+ Label:
2231
+ :sym: :label
2232
+ :type: :string
2233
+ CaptionFormats:
2234
+ :sym: :caption_formats
2235
+ :type: :hash
2236
+ :members:
2237
+ Format:
2238
+ :sym: :format
2239
+ :type: :string
2240
+ Pattern:
2241
+ :sym: :pattern
2242
+ :type: :string
1927
2243
  Outputs:
1928
2244
  :sym: :outputs
1929
2245
  :type: :hash
@@ -2014,6 +2330,39 @@
2014
2330
  Duration:
2015
2331
  :sym: :duration
2016
2332
  :type: :string
2333
+ Captions:
2334
+ :sym: :captions
2335
+ :type: :hash
2336
+ :members:
2337
+ MergePolicy:
2338
+ :sym: :merge_policy
2339
+ :type: :string
2340
+ CaptionSources:
2341
+ :sym: :caption_sources
2342
+ :type: :hash
2343
+ :members:
2344
+ Key:
2345
+ :sym: :key
2346
+ :type: :string
2347
+ Language:
2348
+ :sym: :language
2349
+ :type: :string
2350
+ TimeOffset:
2351
+ :sym: :time_offset
2352
+ :type: :string
2353
+ Label:
2354
+ :sym: :label
2355
+ :type: :string
2356
+ CaptionFormats:
2357
+ :sym: :caption_formats
2358
+ :type: :hash
2359
+ :members:
2360
+ Format:
2361
+ :sym: :format
2362
+ :type: :string
2363
+ Pattern:
2364
+ :sym: :pattern
2365
+ :type: :string
2017
2366
  OutputKeyPrefix:
2018
2367
  :sym: :output_key_prefix
2019
2368
  :type: :string
@@ -2312,15 +2661,19 @@
2312
2661
  :role:
2313
2662
  :name: Role
2314
2663
  :type: :string
2664
+ :required: true
2315
2665
  :input_bucket:
2316
2666
  :name: InputBucket
2317
2667
  :type: :string
2668
+ :required: true
2318
2669
  :output_bucket:
2319
2670
  :name: OutputBucket
2320
2671
  :type: :string
2672
+ :required: true
2321
2673
  :topics:
2322
2674
  :name: Topics
2323
2675
  :type: :array
2676
+ :required: true
2324
2677
  :members:
2325
2678
  :name: member
2326
2679
  :type: :string
@@ -2524,6 +2877,7 @@
2524
2877
  :notifications:
2525
2878
  :name: Notifications
2526
2879
  :type: :hash
2880
+ :required: true
2527
2881
  :members:
2528
2882
  :progressing:
2529
2883
  :name: Progressing
@@ -2637,6 +2991,7 @@
2637
2991
  :status:
2638
2992
  :name: Status
2639
2993
  :type: :string
2994
+ :required: true
2640
2995
  :outputs:
2641
2996
  Pipeline:
2642
2997
  :sym: :pipeline
@@ -531,6 +531,57 @@ module AWS
531
531
 
532
532
  end
533
533
 
534
+ # An auto-refreshing credential provider that works by assuming
535
+ # a role via {AWS::STS#assume_role}.
536
+ #
537
+ # provider = AWS::Core::CredentialProviders::AssumeRoleProvider.new(
538
+ # sts: AWS::STS.new(access_key_id:'AKID', secret_access_key:'SECRET'),
539
+ # # assume role options:
540
+ # role_arn: "linked::account::arn",
541
+ # role_session_name: "session-name"
542
+ # )
543
+ #
544
+ # ec2 = AWS::EC2.new(credential_provider:provider)
545
+ #
546
+ # If you omit the `:sts` option, a new {STS} service object will be
547
+ # constructed and it will use the default credential provider
548
+ # from {Aws.config}.
549
+ #
550
+ class AssumeRoleProvider
551
+
552
+ include Provider
553
+
554
+ # @option options [AWS::STS] :sts (STS.new) An instance of {AWS::STS}.
555
+ # This is used to make the API call to assume role.
556
+ # @option options [required, String] :role_arn
557
+ # @option options [required, String] :role_session_name
558
+ # @option options [String] :policy
559
+ # @option options [Integer] :duration_seconds
560
+ # @option options [String] :external_id
561
+ def initialize(options = {})
562
+ @options = options.dup
563
+ @sts = @options.delete(:sts) || STS.new
564
+ end
565
+
566
+ def credentials
567
+ refresh if near_expiration?
568
+ super
569
+ end
570
+
571
+ private
572
+
573
+ def near_expiration?
574
+ @expiration && @expiration.utc <= Time.now.utc + 5 * 60
575
+ end
576
+
577
+ def get_credentials
578
+ role = @sts.assume_role(@options)
579
+ @expiration = role[:credentials][:expiration]
580
+ role[:credentials]
581
+ end
582
+
583
+ end
584
+
534
585
  # Returns a set of fake credentials, should only be used for testing.
535
586
  class FakeProvider < StaticProvider
536
587
 
@@ -13,5 +13,5 @@
13
13
 
14
14
  module AWS
15
15
  # Current version of the AWS SDK for Ruby
16
- VERSION = '1.43.3'
16
+ VERSION = '1.44.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.43.3
4
+ version: 1.44.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-06-17 00:00:00.000000000 Z
11
+ date: 2014-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri