aws-sdk-mobile 1.4.0 → 1.5.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: 0a763416e37de5c08feb870a9a414d051a557c34
4
- data.tar.gz: bfc5ddf69851bf9c0d1c9d281105212f6a90e340
3
+ metadata.gz: a2aa5319064d339f4198fe9e6899145c9a3e8b8f
4
+ data.tar.gz: b29a3844df45a96e5f539e16ce2b3b3e76d52fe2
5
5
  SHA512:
6
- metadata.gz: 40da5046d465da20aa0e80c42c893b5fc804c0238d509fede1cd85ca744cd8bc4fb2758238c7d554734133464e47a0ba003de2acf8eb7686bf1a665e3de70776
7
- data.tar.gz: 49c8d5cf45628fbdbc02ad69e7881f843088a4f1db94fed9e8edb87acbf674f8bca149dea9ec8375b8e12e8e370b29dc541eaeff08f2edd2ef4cc1db4141f9b5
6
+ metadata.gz: ca124487c84ec4feea0519756078b48faedda68fbe187cf3e9709c0f499d6ffb88493cd951b9d12ef2e4f11a780cebdc2f4d8c6f41f862c014f9ca8a8dac6686
7
+ data.tar.gz: 6516f5c6588beceb5ccef79a570399f2669db8072d99263bb64439ca33ec21f17c9258d92683de69a037b389e9cdd4bd41c2360c19ca67f006e3113af5020e39
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-mobile/customizations'
42
42
  # @service
43
43
  module Aws::Mobile
44
44
 
45
- GEM_VERSION = '1.4.0'
45
+ GEM_VERSION = '1.5.0'
46
46
 
47
47
  end
@@ -54,121 +54,123 @@ module Aws::Mobile
54
54
  add_plugin(Aws::Plugins::SignatureV4)
55
55
  add_plugin(Aws::Plugins::Protocols::RestJson)
56
56
 
57
- # @option options [required, Aws::CredentialProvider] :credentials
58
- # Your AWS credentials. This can be an instance of any one of the
59
- # following classes:
57
+ # @overload initialize(options)
58
+ # @param [Hash] options
59
+ # @option options [required, Aws::CredentialProvider] :credentials
60
+ # Your AWS credentials. This can be an instance of any one of the
61
+ # following classes:
60
62
  #
61
- # * `Aws::Credentials` - Used for configuring static, non-refreshing
62
- # credentials.
63
+ # * `Aws::Credentials` - Used for configuring static, non-refreshing
64
+ # credentials.
63
65
  #
64
- # * `Aws::InstanceProfileCredentials` - Used for loading credentials
65
- # from an EC2 IMDS on an EC2 instance.
66
+ # * `Aws::InstanceProfileCredentials` - Used for loading credentials
67
+ # from an EC2 IMDS on an EC2 instance.
66
68
  #
67
- # * `Aws::SharedCredentials` - Used for loading credentials from a
68
- # shared file, such as `~/.aws/config`.
69
+ # * `Aws::SharedCredentials` - Used for loading credentials from a
70
+ # shared file, such as `~/.aws/config`.
69
71
  #
70
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
72
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
71
73
  #
72
- # When `:credentials` are not configured directly, the following
73
- # locations will be searched for credentials:
74
+ # When `:credentials` are not configured directly, the following
75
+ # locations will be searched for credentials:
74
76
  #
75
- # * `Aws.config[:credentials]`
76
- # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
77
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
78
- # * `~/.aws/credentials`
79
- # * `~/.aws/config`
80
- # * EC2 IMDS instance profile - When used by default, the timeouts are
81
- # very aggressive. Construct and pass an instance of
82
- # `Aws::InstanceProfileCredentails` to enable retries and extended
83
- # timeouts.
77
+ # * `Aws.config[:credentials]`
78
+ # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
79
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
80
+ # * `~/.aws/credentials`
81
+ # * `~/.aws/config`
82
+ # * EC2 IMDS instance profile - When used by default, the timeouts are
83
+ # very aggressive. Construct and pass an instance of
84
+ # `Aws::InstanceProfileCredentails` to enable retries and extended
85
+ # timeouts.
84
86
  #
85
- # @option options [required, String] :region
86
- # The AWS region to connect to. The configured `:region` is
87
- # used to determine the service `:endpoint`. When not passed,
88
- # a default `:region` is search for in the following locations:
87
+ # @option options [required, String] :region
88
+ # The AWS region to connect to. The configured `:region` is
89
+ # used to determine the service `:endpoint`. When not passed,
90
+ # a default `:region` is search for in the following locations:
89
91
  #
90
- # * `Aws.config[:region]`
91
- # * `ENV['AWS_REGION']`
92
- # * `ENV['AMAZON_REGION']`
93
- # * `ENV['AWS_DEFAULT_REGION']`
94
- # * `~/.aws/credentials`
95
- # * `~/.aws/config`
92
+ # * `Aws.config[:region]`
93
+ # * `ENV['AWS_REGION']`
94
+ # * `ENV['AMAZON_REGION']`
95
+ # * `ENV['AWS_DEFAULT_REGION']`
96
+ # * `~/.aws/credentials`
97
+ # * `~/.aws/config`
96
98
  #
97
- # @option options [String] :access_key_id
99
+ # @option options [String] :access_key_id
98
100
  #
99
- # @option options [Boolean] :client_side_monitoring (false)
100
- # When `true`, client-side metrics will be collected for all API requests from
101
- # this client.
101
+ # @option options [Boolean] :client_side_monitoring (false)
102
+ # When `true`, client-side metrics will be collected for all API requests from
103
+ # this client.
102
104
  #
103
- # @option options [String] :client_side_monitoring_client_id ("")
104
- # Allows you to provide an identifier for this client which will be attached to
105
- # all generated client side metrics. Defaults to an empty string.
105
+ # @option options [String] :client_side_monitoring_client_id ("")
106
+ # Allows you to provide an identifier for this client which will be attached to
107
+ # all generated client side metrics. Defaults to an empty string.
106
108
  #
107
- # @option options [Integer] :client_side_monitoring_port (31000)
108
- # Required for publishing client metrics. The port that the client side monitoring
109
- # agent is running on, where client metrics will be published via UDP.
109
+ # @option options [Integer] :client_side_monitoring_port (31000)
110
+ # Required for publishing client metrics. The port that the client side monitoring
111
+ # agent is running on, where client metrics will be published via UDP.
110
112
  #
111
- # @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
112
- # Allows you to provide a custom client-side monitoring publisher class. By default,
113
- # will use the Client Side Monitoring Agent Publisher.
113
+ # @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
114
+ # Allows you to provide a custom client-side monitoring publisher class. By default,
115
+ # will use the Client Side Monitoring Agent Publisher.
114
116
  #
115
- # @option options [Boolean] :convert_params (true)
116
- # When `true`, an attempt is made to coerce request parameters into
117
- # the required types.
117
+ # @option options [Boolean] :convert_params (true)
118
+ # When `true`, an attempt is made to coerce request parameters into
119
+ # the required types.
118
120
  #
119
- # @option options [String] :endpoint
120
- # The client endpoint is normally constructed from the `:region`
121
- # option. You should only configure an `:endpoint` when connecting
122
- # to test endpoints. This should be avalid HTTP(S) URI.
121
+ # @option options [String] :endpoint
122
+ # The client endpoint is normally constructed from the `:region`
123
+ # option. You should only configure an `:endpoint` when connecting
124
+ # to test endpoints. This should be avalid HTTP(S) URI.
123
125
  #
124
- # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
125
- # The log formatter.
126
+ # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
127
+ # The log formatter.
126
128
  #
127
- # @option options [Symbol] :log_level (:info)
128
- # The log level to send messages to the `:logger` at.
129
+ # @option options [Symbol] :log_level (:info)
130
+ # The log level to send messages to the `:logger` at.
129
131
  #
130
- # @option options [Logger] :logger
131
- # The Logger instance to send log messages to. If this option
132
- # is not set, logging will be disabled.
132
+ # @option options [Logger] :logger
133
+ # The Logger instance to send log messages to. If this option
134
+ # is not set, logging will be disabled.
133
135
  #
134
- # @option options [String] :profile ("default")
135
- # Used when loading credentials from the shared credentials file
136
- # at HOME/.aws/credentials. When not specified, 'default' is used.
136
+ # @option options [String] :profile ("default")
137
+ # Used when loading credentials from the shared credentials file
138
+ # at HOME/.aws/credentials. When not specified, 'default' is used.
137
139
  #
138
- # @option options [Float] :retry_base_delay (0.3)
139
- # The base delay in seconds used by the default backoff function.
140
+ # @option options [Float] :retry_base_delay (0.3)
141
+ # The base delay in seconds used by the default backoff function.
140
142
  #
141
- # @option options [Symbol] :retry_jitter (:none)
142
- # A delay randomiser function used by the default backoff function. Some predefined functions can be referenced by name - :none, :equal, :full, otherwise a Proc that takes and returns a number.
143
+ # @option options [Symbol] :retry_jitter (:none)
144
+ # A delay randomiser function used by the default backoff function. Some predefined functions can be referenced by name - :none, :equal, :full, otherwise a Proc that takes and returns a number.
143
145
  #
144
- # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
146
+ # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
145
147
  #
146
- # @option options [Integer] :retry_limit (3)
147
- # The maximum number of times to retry failed requests. Only
148
- # ~ 500 level server errors and certain ~ 400 level client errors
149
- # are retried. Generally, these are throttling errors, data
150
- # checksum errors, networking errors, timeout errors and auth
151
- # errors from expired credentials.
148
+ # @option options [Integer] :retry_limit (3)
149
+ # The maximum number of times to retry failed requests. Only
150
+ # ~ 500 level server errors and certain ~ 400 level client errors
151
+ # are retried. Generally, these are throttling errors, data
152
+ # checksum errors, networking errors, timeout errors and auth
153
+ # errors from expired credentials.
152
154
  #
153
- # @option options [Integer] :retry_max_delay (0)
154
- # The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
155
+ # @option options [Integer] :retry_max_delay (0)
156
+ # The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
155
157
  #
156
- # @option options [String] :secret_access_key
158
+ # @option options [String] :secret_access_key
157
159
  #
158
- # @option options [String] :session_token
160
+ # @option options [String] :session_token
159
161
  #
160
- # @option options [Boolean] :stub_responses (false)
161
- # Causes the client to return stubbed responses. By default
162
- # fake responses are generated and returned. You can specify
163
- # the response data to return or errors to raise by calling
164
- # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
162
+ # @option options [Boolean] :stub_responses (false)
163
+ # Causes the client to return stubbed responses. By default
164
+ # fake responses are generated and returned. You can specify
165
+ # the response data to return or errors to raise by calling
166
+ # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
165
167
  #
166
- # ** Please note ** When response stubbing is enabled, no HTTP
167
- # requests are made, and retries are disabled.
168
+ # ** Please note ** When response stubbing is enabled, no HTTP
169
+ # requests are made, and retries are disabled.
168
170
  #
169
- # @option options [Boolean] :validate_params (true)
170
- # When `true`, request parameters are validated before
171
- # sending the request.
171
+ # @option options [Boolean] :validate_params (true)
172
+ # When `true`, request parameters are validated before
173
+ # sending the request.
172
174
  #
173
175
  def initialize(*args)
174
176
  super
@@ -570,7 +572,7 @@ module Aws::Mobile
570
572
  params: params,
571
573
  config: config)
572
574
  context[:gem_name] = 'aws-sdk-mobile'
573
- context[:gem_version] = '1.4.0'
575
+ context[:gem_version] = '1.5.0'
574
576
  Seahorse::Client::Request.new(handlers, context)
575
577
  end
576
578
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-mobile
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.5.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: 2018-10-23 00:00:00.000000000 Z
11
+ date: 2018-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core