aws-sdk 1.25.0 → 1.26.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -40,6 +40,33 @@
40
40
  :type: :time
41
41
  PackedPolicySize:
42
42
  :type: :integer
43
+ - :name: AssumeRoleWithSAML
44
+ :method: :assume_role_with_saml
45
+ :inputs:
46
+ RoleArn:
47
+ - :string
48
+ - :required
49
+ PrincipalArn:
50
+ - :string
51
+ - :required
52
+ SAMLAssertion:
53
+ - :string
54
+ - :required
55
+ Policy:
56
+ - :string
57
+ DurationSeconds:
58
+ - :integer
59
+ :outputs:
60
+ :children:
61
+ AssumeRoleWithSAMLResult:
62
+ :ignore: true
63
+ :children:
64
+ Credentials:
65
+ :children:
66
+ Expiration:
67
+ :type: :time
68
+ PackedPolicySize:
69
+ :type: :integer
43
70
  - :name: AssumeRoleWithWebIdentity
44
71
  :method: :assume_role_with_web_identity
45
72
  :inputs:
@@ -0,0 +1,73 @@
1
+ # Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License"). You
4
+ # may not use this file except in compliance with the License. A copy of
5
+ # the License is located at
6
+ #
7
+ # http://aws.amazon.com/apache2.0/
8
+ #
9
+ # or in the "license" file accompanying this file. This file is
10
+ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
11
+ # ANY KIND, either express or implied. See the License for the specific
12
+ # language governing permissions and limitations under the License.
13
+
14
+ require 'aws/core'
15
+ require 'aws/cloud_trail/config'
16
+
17
+ module AWS
18
+
19
+ # This class is the starting point for working with AWS CloudTrail.
20
+ #
21
+ # To use AWS CloudTrail you must first
22
+ # [sign up here](http://aws.amazon.com/cloudtrail/).
23
+ #
24
+ # For more information about AWS CloudTrail:
25
+ #
26
+ # * [AWS CloudTrail](http://aws.amazon.com/cloudtrail/)
27
+ # * [AWS CloudTrail Documentation](http://aws.amazon.com/documentation/cloudtrail/)
28
+ #
29
+ # # Credentials
30
+ #
31
+ # You can setup default credentials for all AWS services via
32
+ # AWS.config:
33
+ #
34
+ # AWS.config(
35
+ # :access_key_id => 'YOUR_ACCESS_KEY_ID',
36
+ # :secret_access_key => 'YOUR_SECRET_ACCESS_KEY')
37
+ #
38
+ # Or you can set them directly on the AWS::CloudTrail interface:
39
+ #
40
+ # ct = AWS::CloudTrail.new(
41
+ # :access_key_id => 'YOUR_ACCESS_KEY_ID',
42
+ # :secret_access_key => 'YOUR_SECRET_ACCESS_KEY')
43
+ #
44
+ # # Using the Client
45
+ #
46
+ # AWS::CloudTrail does not provide higher level abstractions for CloudTrail at
47
+ # this time. You can still access all of the API methods using
48
+ # {AWS::CloudTrail::Client}. Here is how you access the client and make
49
+ # a simple request:
50
+ #
51
+ # ct = AWS::CloudTrail.new
52
+ #
53
+ # resp = ct.client.describe_trails
54
+ # resp[:trail_list].each do |trail|
55
+ # puts trail
56
+ # end
57
+ #
58
+ # See {Client} for documentation on all of the supported operations.
59
+ #
60
+ # @!attribute [r] client
61
+ # @return [Client] the low-level CloudTrail client object
62
+ class CloudTrail
63
+
64
+ autoload :Client, 'aws/cloud_trail/client'
65
+ autoload :Errors, 'aws/cloud_trail/errors'
66
+ autoload :Request, 'aws/cloud_trail/request'
67
+
68
+ include Core::ServiceInterface
69
+
70
+ endpoint_prefix 'cloudtrail'
71
+
72
+ end
73
+ end
@@ -0,0 +1,33 @@
1
+ # Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License"). You
4
+ # may not use this file except in compliance with the License. A copy of
5
+ # the License is located at
6
+ #
7
+ # http://aws.amazon.com/apache2.0/
8
+ #
9
+ # or in the "license" file accompanying this file. This file is
10
+ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
11
+ # ANY KIND, either express or implied. See the License for the specific
12
+ # language governing permissions and limitations under the License.
13
+
14
+ module AWS
15
+ class CloudTrail
16
+
17
+ class Client < Core::QueryClient
18
+
19
+ API_VERSION = '2013-11-01'
20
+
21
+ # @api private
22
+ CACHEABLE_REQUESTS = Set[]
23
+
24
+ end
25
+
26
+ class Client::V20131101 < Client
27
+
28
+ define_client_methods('2013-11-01')
29
+
30
+ end
31
+
32
+ end
33
+ end
@@ -0,0 +1,18 @@
1
+ # Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License"). You
4
+ # may not use this file except in compliance with the License. A copy of
5
+ # the License is located at
6
+ #
7
+ # http://aws.amazon.com/apache2.0/
8
+ #
9
+ # or in the "license" file accompanying this file. This file is
10
+ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
11
+ # ANY KIND, either express or implied. See the License for the specific
12
+ # language governing permissions and limitations under the License.
13
+
14
+ AWS::Core::Configuration.module_eval do
15
+
16
+ add_service 'CloudTrail', 'cloud_trail', 'cloudtrail.%s.amazonaws.com'
17
+
18
+ end
@@ -0,0 +1,22 @@
1
+ # Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License"). You
4
+ # may not use this file except in compliance with the License. A copy of
5
+ # the License is located at
6
+ #
7
+ # http://aws.amazon.com/apache2.0/
8
+ #
9
+ # or in the "license" file accompanying this file. This file is
10
+ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
11
+ # ANY KIND, either express or implied. See the License for the specific
12
+ # language governing permissions and limitations under the License.
13
+
14
+ module AWS
15
+ class CloudTrail
16
+ module Errors
17
+
18
+ extend Core::LazyErrorClasses
19
+
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,30 @@
1
+ # Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License"). You
4
+ # may not use this file except in compliance with the License. A copy of
5
+ # the License is located at
6
+ #
7
+ # http://aws.amazon.com/apache2.0/
8
+ #
9
+ # or in the "license" file accompanying this file. This file is
10
+ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
11
+ # ANY KIND, either express or implied. See the License for the specific
12
+ # language governing permissions and limitations under the License.
13
+
14
+ require 'time'
15
+
16
+ module AWS
17
+ class CloudTrail
18
+
19
+ # @api private
20
+ class Request < Core::Http::Request
21
+
22
+ include Core::Signature::Version4
23
+
24
+ def service
25
+ 'cloudtrail'
26
+ end
27
+
28
+ end
29
+ end
30
+ end
@@ -52,6 +52,9 @@ module AWS
52
52
  SvcDetails.new("CloudSearch",
53
53
  :full_name => "Amazon CloudSearch",
54
54
  :method_name => :cloud_search),
55
+ SvcDetails.new("CloudTrail",
56
+ :full_name => "AWS CloudTrail",
57
+ :method_name => :cloud_trail),
55
58
  SvcDetails.new("CloudWatch",
56
59
  :full_name => "Amazon CloudWatch",
57
60
  :method_name => :cloud_watch),
@@ -153,8 +153,8 @@ module AWS
153
153
  # (throttling, server errors, socket errors, etc).
154
154
  # @api private
155
155
  def rebuild_request
156
- build_request
157
156
  @http_request.body_stream.rewind if @http_request.body_stream
157
+ build_request
158
158
  end
159
159
 
160
160
  # @return [Boolean] Returns `false` if it is not safe to retry a
@@ -56,9 +56,6 @@ module AWS
56
56
  #
57
57
  # table.provision_throughput :read_capacity_units => 100, :write_capacity_units => 100
58
58
  #
59
- # Please note that provisioned throughput can be decreased only once
60
- # within a 24 hour period.
61
- #
62
59
  # ## Table Status
63
60
  #
64
61
  # When you create or update a table the changes can take some time to
@@ -13,5 +13,5 @@
13
13
 
14
14
  module AWS
15
15
  # Current version of the AWS SDK for Ruby
16
- VERSION = '1.25.0'
16
+ VERSION = '1.26.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.25.0
4
+ version: 1.26.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: 2013-11-08 00:00:00.000000000 Z
11
+ date: 2013-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: uuidtools
@@ -118,6 +118,11 @@ files:
118
118
  - lib/aws/cloud_search/errors.rb
119
119
  - lib/aws/cloud_search/request.rb
120
120
  - lib/aws/cloud_search.rb
121
+ - lib/aws/cloud_trail/client.rb
122
+ - lib/aws/cloud_trail/config.rb
123
+ - lib/aws/cloud_trail/errors.rb
124
+ - lib/aws/cloud_trail/request.rb
125
+ - lib/aws/cloud_trail.rb
121
126
  - lib/aws/cloud_watch/alarm.rb
122
127
  - lib/aws/cloud_watch/alarm_collection.rb
123
128
  - lib/aws/cloud_watch/alarm_history_item.rb
@@ -594,6 +599,7 @@ files:
594
599
  - lib/aws/api_config/CloudFront-2013-08-26.yml
595
600
  - lib/aws/api_config/CloudFront-2013-09-27.yml
596
601
  - lib/aws/api_config/CloudSearch-2011-02-01.yml
602
+ - lib/aws/api_config/CloudTrail-2013-11-01.yml
597
603
  - lib/aws/api_config/CloudWatch-2010-08-01.yml
598
604
  - lib/aws/api_config/DataPipeline-2012-10-29.yml
599
605
  - lib/aws/api_config/DirectConnect-2012-10-25.yml