aws-sdk-codeguruprofiler 1.21.0 → 1.33.0

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
  SHA256:
3
- metadata.gz: 84a028ec1adb42c031c7274980282ba59aceec4c508a1a5e9f1db83960d29028
4
- data.tar.gz: 6d6b8eb974d37c0ebc4d318a40cb892fc484f576b034e92dbbf02089df0efb99
3
+ metadata.gz: c8d8e1dd949590726a161970bbfefe2102240cad56e8d5694a67d97081e65e51
4
+ data.tar.gz: d9bcfd1159e2c16e0d2420eac70a083fa6e24f13f2ee836b785a88726b939a89
5
5
  SHA512:
6
- metadata.gz: 9f62536c92364597264d693f0ebfaf29bd56da1ad8ee51d8bb354539a9c77e1af2a5c2eca5936e26c235e0760288e32d0a86bf5cd47c09198a37097fadfc2170
7
- data.tar.gz: a0f2802f31cdab86b1b96c69458901ddd303f1df7be0b50680157f6eb7e64d1ab7d0a8f33984193458facc38d69e7f0076a8039dd0383b17829b37813a2eec48
6
+ metadata.gz: 5e99ccb5a56828776897f6ac4bfa5e6c6dd4ad286fe74d48e5a0bd1335bedbe5696ac6faa354aebea5f9b93d7bafae03d2e26b393e97ffa640e955a0ecb7066f
7
+ data.tar.gz: c1d02dcd38f0f8072e8eee3eae4e83778b4b0aa1fac305729c8f7c9b4ee3bfa300f2a52189b89d7f75fd8ee9106b9594df51374c1871e0ea708d8beb5d5ce825
data/CHANGELOG.md CHANGED
@@ -1,6 +1,68 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.33.0 (2023-09-27)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.32.0 (2023-09-19)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.31.0 (2023-07-11)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.30.0 (2023-07-06)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
24
+ 1.29.0 (2023-06-28)
25
+ ------------------
26
+
27
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
28
+
29
+ 1.28.0 (2023-06-15)
30
+ ------------------
31
+
32
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
33
+
34
+ 1.27.0 (2023-05-31)
35
+ ------------------
36
+
37
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
38
+
39
+ 1.26.0 (2023-01-18)
40
+ ------------------
41
+
42
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
43
+
44
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
45
+
46
+ 1.25.0 (2022-10-25)
47
+ ------------------
48
+
49
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
50
+
51
+ 1.24.0 (2022-02-24)
52
+ ------------------
53
+
54
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
55
+
56
+ 1.23.0 (2022-02-03)
57
+ ------------------
58
+
59
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
60
+
61
+ 1.22.0 (2021-12-21)
62
+ ------------------
63
+
64
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
65
+
4
66
  1.21.0 (2021-11-30)
5
67
  ------------------
6
68
 
@@ -121,4 +183,4 @@ Unreleased Changes
121
183
  1.0.0 (2019-12-03)
122
184
  ------------------
123
185
 
124
- * Feature - Initial release of `aws-sdk-codeguruprofiler`.
186
+ * Feature - Initial release of `aws-sdk-codeguruprofiler`.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.21.0
1
+ 1.33.0
@@ -27,7 +27,11 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
- require 'aws-sdk-core/plugins/signature_v4.rb'
30
+ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
31
+ require 'aws-sdk-core/plugins/request_compression.rb'
32
+ require 'aws-sdk-core/plugins/defaults_mode.rb'
33
+ require 'aws-sdk-core/plugins/recursion_detection.rb'
34
+ require 'aws-sdk-core/plugins/sign.rb'
31
35
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
32
36
 
33
37
  Aws::Plugins::GlobalConfiguration.add_identifier(:codeguruprofiler)
@@ -73,8 +77,13 @@ module Aws::CodeGuruProfiler
73
77
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
78
  add_plugin(Aws::Plugins::TransferEncoding)
75
79
  add_plugin(Aws::Plugins::HttpChecksum)
76
- add_plugin(Aws::Plugins::SignatureV4)
80
+ add_plugin(Aws::Plugins::ChecksumAlgorithm)
81
+ add_plugin(Aws::Plugins::RequestCompression)
82
+ add_plugin(Aws::Plugins::DefaultsMode)
83
+ add_plugin(Aws::Plugins::RecursionDetection)
84
+ add_plugin(Aws::Plugins::Sign)
77
85
  add_plugin(Aws::Plugins::Protocols::RestJson)
86
+ add_plugin(Aws::CodeGuruProfiler::Plugins::Endpoints)
78
87
 
79
88
  # @overload initialize(options)
80
89
  # @param [Hash] options
@@ -175,10 +184,18 @@ module Aws::CodeGuruProfiler
175
184
  # Used only in `standard` and adaptive retry modes. Specifies whether to apply
176
185
  # a clock skew correction and retry requests with skewed client clocks.
177
186
  #
187
+ # @option options [String] :defaults_mode ("legacy")
188
+ # See {Aws::DefaultsModeConfiguration} for a list of the
189
+ # accepted modes and the configuration defaults that are included.
190
+ #
178
191
  # @option options [Boolean] :disable_host_prefix_injection (false)
179
192
  # Set to true to disable SDK automatically adding host prefix
180
193
  # to default service endpoint when available.
181
194
  #
195
+ # @option options [Boolean] :disable_request_compression (false)
196
+ # When set to 'true' the request body will not be compressed
197
+ # for supported operations.
198
+ #
182
199
  # @option options [String] :endpoint
183
200
  # The client endpoint is normally constructed from the `:region`
184
201
  # option. You should only configure an `:endpoint` when connecting
@@ -199,6 +216,10 @@ module Aws::CodeGuruProfiler
199
216
  # @option options [Boolean] :endpoint_discovery (false)
200
217
  # When set to `true`, endpoint discovery will be enabled for operations when available.
201
218
  #
219
+ # @option options [Boolean] :ignore_configured_endpoint_urls
220
+ # Setting to true disables use of endpoint URLs provided via environment
221
+ # variables and the shared configuration file.
222
+ #
202
223
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
203
224
  # The log formatter.
204
225
  #
@@ -219,6 +240,11 @@ module Aws::CodeGuruProfiler
219
240
  # Used when loading credentials from the shared credentials file
220
241
  # at HOME/.aws/credentials. When not specified, 'default' is used.
221
242
  #
243
+ # @option options [Integer] :request_min_compression_size_bytes (10240)
244
+ # The minimum size in bytes that triggers compression for request
245
+ # bodies. The value must be non-negative integer value between 0
246
+ # and 10485780 bytes inclusive.
247
+ #
222
248
  # @option options [Proc] :retry_backoff
223
249
  # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
224
250
  # This option is only used in the `legacy` retry mode.
@@ -264,6 +290,11 @@ module Aws::CodeGuruProfiler
264
290
  # in the future.
265
291
  #
266
292
  #
293
+ # @option options [String] :sdk_ua_app_id
294
+ # A unique and opaque application ID that is appended to the
295
+ # User-Agent header as app/<sdk_ua_app_id>. It should have a
296
+ # maximum length of 50.
297
+ #
267
298
  # @option options [String] :secret_access_key
268
299
  #
269
300
  # @option options [String] :session_token
@@ -277,6 +308,19 @@ module Aws::CodeGuruProfiler
277
308
  # ** Please note ** When response stubbing is enabled, no HTTP
278
309
  # requests are made, and retries are disabled.
279
310
  #
311
+ # @option options [Aws::TokenProvider] :token_provider
312
+ # A Bearer Token Provider. This can be an instance of any one of the
313
+ # following classes:
314
+ #
315
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
316
+ # tokens.
317
+ #
318
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
319
+ # access token generated from `aws login`.
320
+ #
321
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
322
+ # will be used to search for tokens configured for your profile in shared configuration files.
323
+ #
280
324
  # @option options [Boolean] :use_dualstack_endpoint
281
325
  # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
282
326
  # will be used if available.
@@ -290,6 +334,9 @@ module Aws::CodeGuruProfiler
290
334
  # When `true`, request parameters are validated before
291
335
  # sending the request.
292
336
  #
337
+ # @option options [Aws::CodeGuruProfiler::EndpointProvider] :endpoint_provider
338
+ # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::CodeGuruProfiler::EndpointParameters`
339
+ #
293
340
  # @option options [URI::HTTP,String] :http_proxy A proxy to send
294
341
  # requests through. Formatted like 'http://proxy.com:123'.
295
342
  #
@@ -297,7 +344,7 @@ module Aws::CodeGuruProfiler
297
344
  # seconds to wait when opening a HTTP session before raising a
298
345
  # `Timeout::Error`.
299
346
  #
300
- # @option options [Integer] :http_read_timeout (60) The default
347
+ # @option options [Float] :http_read_timeout (60) The default
301
348
  # number of seconds to wait for response data. This value can
302
349
  # safely be set per-request on the session.
303
350
  #
@@ -313,6 +360,9 @@ module Aws::CodeGuruProfiler
313
360
  # disables this behaviour. This value can safely be set per
314
361
  # request on the session.
315
362
  #
363
+ # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
364
+ # in seconds.
365
+ #
316
366
  # @option options [Boolean] :http_wire_trace (false) When `true`,
317
367
  # HTTP debug output will be sent to the `:logger`.
318
368
  #
@@ -1644,7 +1694,7 @@ module Aws::CodeGuruProfiler
1644
1694
  params: params,
1645
1695
  config: config)
1646
1696
  context[:gem_name] = 'aws-sdk-codeguruprofiler'
1647
- context[:gem_version] = '1.21.0'
1697
+ context[:gem_version] = '1.33.0'
1648
1698
  Seahorse::Client::Request.new(handlers, context)
1649
1699
  end
1650
1700
 
@@ -0,0 +1,66 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::CodeGuruProfiler
11
+ # Endpoint parameters used to influence endpoints per request.
12
+ #
13
+ # @!attribute region
14
+ # The AWS region used to dispatch the request.
15
+ #
16
+ # @return [String]
17
+ #
18
+ # @!attribute use_dual_stack
19
+ # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
+ #
21
+ # @return [Boolean]
22
+ #
23
+ # @!attribute use_fips
24
+ # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
+ #
26
+ # @return [Boolean]
27
+ #
28
+ # @!attribute endpoint
29
+ # Override the endpoint used to send this request
30
+ #
31
+ # @return [String]
32
+ #
33
+ EndpointParameters = Struct.new(
34
+ :region,
35
+ :use_dual_stack,
36
+ :use_fips,
37
+ :endpoint,
38
+ ) do
39
+ include Aws::Structure
40
+
41
+ # @api private
42
+ class << self
43
+ PARAM_MAP = {
44
+ 'Region' => :region,
45
+ 'UseDualStack' => :use_dual_stack,
46
+ 'UseFIPS' => :use_fips,
47
+ 'Endpoint' => :endpoint,
48
+ }.freeze
49
+ end
50
+
51
+ def initialize(options = {})
52
+ self[:region] = options[:region]
53
+ self[:use_dual_stack] = options[:use_dual_stack]
54
+ self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
+ if self[:use_dual_stack].nil?
56
+ raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
+ end
58
+ self[:use_fips] = options[:use_fips]
59
+ self[:use_fips] = false if self[:use_fips].nil?
60
+ if self[:use_fips].nil?
61
+ raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
+ end
63
+ self[:endpoint] = options[:endpoint]
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,54 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::CodeGuruProfiler
11
+ class EndpointProvider
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
18
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
20
+ end
21
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://codeguru-profiler-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://codeguru-profiler-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://codeguru-profiler.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
45
+ end
46
+ return Aws::Endpoints::Endpoint.new(url: "https://codeguru-profiler.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
47
+ end
48
+ end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
50
+ raise ArgumentError, 'No endpoint could be resolved'
51
+
52
+ end
53
+ end
54
+ end
@@ -0,0 +1,338 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::CodeGuruProfiler
12
+ # @api private
13
+ module Endpoints
14
+
15
+ class AddNotificationChannels
16
+ def self.build(context)
17
+ unless context.config.regional_endpoint
18
+ endpoint = context.config.endpoint.to_s
19
+ end
20
+ Aws::CodeGuruProfiler::EndpointParameters.new(
21
+ region: context.config.region,
22
+ use_dual_stack: context.config.use_dualstack_endpoint,
23
+ use_fips: context.config.use_fips_endpoint,
24
+ endpoint: endpoint,
25
+ )
26
+ end
27
+ end
28
+
29
+ class BatchGetFrameMetricData
30
+ def self.build(context)
31
+ unless context.config.regional_endpoint
32
+ endpoint = context.config.endpoint.to_s
33
+ end
34
+ Aws::CodeGuruProfiler::EndpointParameters.new(
35
+ region: context.config.region,
36
+ use_dual_stack: context.config.use_dualstack_endpoint,
37
+ use_fips: context.config.use_fips_endpoint,
38
+ endpoint: endpoint,
39
+ )
40
+ end
41
+ end
42
+
43
+ class ConfigureAgent
44
+ def self.build(context)
45
+ unless context.config.regional_endpoint
46
+ endpoint = context.config.endpoint.to_s
47
+ end
48
+ Aws::CodeGuruProfiler::EndpointParameters.new(
49
+ region: context.config.region,
50
+ use_dual_stack: context.config.use_dualstack_endpoint,
51
+ use_fips: context.config.use_fips_endpoint,
52
+ endpoint: endpoint,
53
+ )
54
+ end
55
+ end
56
+
57
+ class CreateProfilingGroup
58
+ def self.build(context)
59
+ unless context.config.regional_endpoint
60
+ endpoint = context.config.endpoint.to_s
61
+ end
62
+ Aws::CodeGuruProfiler::EndpointParameters.new(
63
+ region: context.config.region,
64
+ use_dual_stack: context.config.use_dualstack_endpoint,
65
+ use_fips: context.config.use_fips_endpoint,
66
+ endpoint: endpoint,
67
+ )
68
+ end
69
+ end
70
+
71
+ class DeleteProfilingGroup
72
+ def self.build(context)
73
+ unless context.config.regional_endpoint
74
+ endpoint = context.config.endpoint.to_s
75
+ end
76
+ Aws::CodeGuruProfiler::EndpointParameters.new(
77
+ region: context.config.region,
78
+ use_dual_stack: context.config.use_dualstack_endpoint,
79
+ use_fips: context.config.use_fips_endpoint,
80
+ endpoint: endpoint,
81
+ )
82
+ end
83
+ end
84
+
85
+ class DescribeProfilingGroup
86
+ def self.build(context)
87
+ unless context.config.regional_endpoint
88
+ endpoint = context.config.endpoint.to_s
89
+ end
90
+ Aws::CodeGuruProfiler::EndpointParameters.new(
91
+ region: context.config.region,
92
+ use_dual_stack: context.config.use_dualstack_endpoint,
93
+ use_fips: context.config.use_fips_endpoint,
94
+ endpoint: endpoint,
95
+ )
96
+ end
97
+ end
98
+
99
+ class GetFindingsReportAccountSummary
100
+ def self.build(context)
101
+ unless context.config.regional_endpoint
102
+ endpoint = context.config.endpoint.to_s
103
+ end
104
+ Aws::CodeGuruProfiler::EndpointParameters.new(
105
+ region: context.config.region,
106
+ use_dual_stack: context.config.use_dualstack_endpoint,
107
+ use_fips: context.config.use_fips_endpoint,
108
+ endpoint: endpoint,
109
+ )
110
+ end
111
+ end
112
+
113
+ class GetNotificationConfiguration
114
+ def self.build(context)
115
+ unless context.config.regional_endpoint
116
+ endpoint = context.config.endpoint.to_s
117
+ end
118
+ Aws::CodeGuruProfiler::EndpointParameters.new(
119
+ region: context.config.region,
120
+ use_dual_stack: context.config.use_dualstack_endpoint,
121
+ use_fips: context.config.use_fips_endpoint,
122
+ endpoint: endpoint,
123
+ )
124
+ end
125
+ end
126
+
127
+ class GetPolicy
128
+ def self.build(context)
129
+ unless context.config.regional_endpoint
130
+ endpoint = context.config.endpoint.to_s
131
+ end
132
+ Aws::CodeGuruProfiler::EndpointParameters.new(
133
+ region: context.config.region,
134
+ use_dual_stack: context.config.use_dualstack_endpoint,
135
+ use_fips: context.config.use_fips_endpoint,
136
+ endpoint: endpoint,
137
+ )
138
+ end
139
+ end
140
+
141
+ class GetProfile
142
+ def self.build(context)
143
+ unless context.config.regional_endpoint
144
+ endpoint = context.config.endpoint.to_s
145
+ end
146
+ Aws::CodeGuruProfiler::EndpointParameters.new(
147
+ region: context.config.region,
148
+ use_dual_stack: context.config.use_dualstack_endpoint,
149
+ use_fips: context.config.use_fips_endpoint,
150
+ endpoint: endpoint,
151
+ )
152
+ end
153
+ end
154
+
155
+ class GetRecommendations
156
+ def self.build(context)
157
+ unless context.config.regional_endpoint
158
+ endpoint = context.config.endpoint.to_s
159
+ end
160
+ Aws::CodeGuruProfiler::EndpointParameters.new(
161
+ region: context.config.region,
162
+ use_dual_stack: context.config.use_dualstack_endpoint,
163
+ use_fips: context.config.use_fips_endpoint,
164
+ endpoint: endpoint,
165
+ )
166
+ end
167
+ end
168
+
169
+ class ListFindingsReports
170
+ def self.build(context)
171
+ unless context.config.regional_endpoint
172
+ endpoint = context.config.endpoint.to_s
173
+ end
174
+ Aws::CodeGuruProfiler::EndpointParameters.new(
175
+ region: context.config.region,
176
+ use_dual_stack: context.config.use_dualstack_endpoint,
177
+ use_fips: context.config.use_fips_endpoint,
178
+ endpoint: endpoint,
179
+ )
180
+ end
181
+ end
182
+
183
+ class ListProfileTimes
184
+ def self.build(context)
185
+ unless context.config.regional_endpoint
186
+ endpoint = context.config.endpoint.to_s
187
+ end
188
+ Aws::CodeGuruProfiler::EndpointParameters.new(
189
+ region: context.config.region,
190
+ use_dual_stack: context.config.use_dualstack_endpoint,
191
+ use_fips: context.config.use_fips_endpoint,
192
+ endpoint: endpoint,
193
+ )
194
+ end
195
+ end
196
+
197
+ class ListProfilingGroups
198
+ def self.build(context)
199
+ unless context.config.regional_endpoint
200
+ endpoint = context.config.endpoint.to_s
201
+ end
202
+ Aws::CodeGuruProfiler::EndpointParameters.new(
203
+ region: context.config.region,
204
+ use_dual_stack: context.config.use_dualstack_endpoint,
205
+ use_fips: context.config.use_fips_endpoint,
206
+ endpoint: endpoint,
207
+ )
208
+ end
209
+ end
210
+
211
+ class ListTagsForResource
212
+ def self.build(context)
213
+ unless context.config.regional_endpoint
214
+ endpoint = context.config.endpoint.to_s
215
+ end
216
+ Aws::CodeGuruProfiler::EndpointParameters.new(
217
+ region: context.config.region,
218
+ use_dual_stack: context.config.use_dualstack_endpoint,
219
+ use_fips: context.config.use_fips_endpoint,
220
+ endpoint: endpoint,
221
+ )
222
+ end
223
+ end
224
+
225
+ class PostAgentProfile
226
+ def self.build(context)
227
+ unless context.config.regional_endpoint
228
+ endpoint = context.config.endpoint.to_s
229
+ end
230
+ Aws::CodeGuruProfiler::EndpointParameters.new(
231
+ region: context.config.region,
232
+ use_dual_stack: context.config.use_dualstack_endpoint,
233
+ use_fips: context.config.use_fips_endpoint,
234
+ endpoint: endpoint,
235
+ )
236
+ end
237
+ end
238
+
239
+ class PutPermission
240
+ def self.build(context)
241
+ unless context.config.regional_endpoint
242
+ endpoint = context.config.endpoint.to_s
243
+ end
244
+ Aws::CodeGuruProfiler::EndpointParameters.new(
245
+ region: context.config.region,
246
+ use_dual_stack: context.config.use_dualstack_endpoint,
247
+ use_fips: context.config.use_fips_endpoint,
248
+ endpoint: endpoint,
249
+ )
250
+ end
251
+ end
252
+
253
+ class RemoveNotificationChannel
254
+ def self.build(context)
255
+ unless context.config.regional_endpoint
256
+ endpoint = context.config.endpoint.to_s
257
+ end
258
+ Aws::CodeGuruProfiler::EndpointParameters.new(
259
+ region: context.config.region,
260
+ use_dual_stack: context.config.use_dualstack_endpoint,
261
+ use_fips: context.config.use_fips_endpoint,
262
+ endpoint: endpoint,
263
+ )
264
+ end
265
+ end
266
+
267
+ class RemovePermission
268
+ def self.build(context)
269
+ unless context.config.regional_endpoint
270
+ endpoint = context.config.endpoint.to_s
271
+ end
272
+ Aws::CodeGuruProfiler::EndpointParameters.new(
273
+ region: context.config.region,
274
+ use_dual_stack: context.config.use_dualstack_endpoint,
275
+ use_fips: context.config.use_fips_endpoint,
276
+ endpoint: endpoint,
277
+ )
278
+ end
279
+ end
280
+
281
+ class SubmitFeedback
282
+ def self.build(context)
283
+ unless context.config.regional_endpoint
284
+ endpoint = context.config.endpoint.to_s
285
+ end
286
+ Aws::CodeGuruProfiler::EndpointParameters.new(
287
+ region: context.config.region,
288
+ use_dual_stack: context.config.use_dualstack_endpoint,
289
+ use_fips: context.config.use_fips_endpoint,
290
+ endpoint: endpoint,
291
+ )
292
+ end
293
+ end
294
+
295
+ class TagResource
296
+ def self.build(context)
297
+ unless context.config.regional_endpoint
298
+ endpoint = context.config.endpoint.to_s
299
+ end
300
+ Aws::CodeGuruProfiler::EndpointParameters.new(
301
+ region: context.config.region,
302
+ use_dual_stack: context.config.use_dualstack_endpoint,
303
+ use_fips: context.config.use_fips_endpoint,
304
+ endpoint: endpoint,
305
+ )
306
+ end
307
+ end
308
+
309
+ class UntagResource
310
+ def self.build(context)
311
+ unless context.config.regional_endpoint
312
+ endpoint = context.config.endpoint.to_s
313
+ end
314
+ Aws::CodeGuruProfiler::EndpointParameters.new(
315
+ region: context.config.region,
316
+ use_dual_stack: context.config.use_dualstack_endpoint,
317
+ use_fips: context.config.use_fips_endpoint,
318
+ endpoint: endpoint,
319
+ )
320
+ end
321
+ end
322
+
323
+ class UpdateProfilingGroup
324
+ def self.build(context)
325
+ unless context.config.regional_endpoint
326
+ endpoint = context.config.endpoint.to_s
327
+ end
328
+ Aws::CodeGuruProfiler::EndpointParameters.new(
329
+ region: context.config.region,
330
+ use_dual_stack: context.config.use_dualstack_endpoint,
331
+ use_fips: context.config.use_fips_endpoint,
332
+ endpoint: endpoint,
333
+ )
334
+ end
335
+ end
336
+
337
+ end
338
+ end
@@ -0,0 +1,114 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::CodeGuruProfiler
12
+ module Plugins
13
+ class Endpoints < Seahorse::Client::Plugin
14
+ option(
15
+ :endpoint_provider,
16
+ doc_type: 'Aws::CodeGuruProfiler::EndpointProvider',
17
+ docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
+ 'object that responds to `#resolve_endpoint(parameters)` '\
19
+ 'where `parameters` is a Struct similar to '\
20
+ '`Aws::CodeGuruProfiler::EndpointParameters`'
21
+ ) do |cfg|
22
+ Aws::CodeGuruProfiler::EndpointProvider.new
23
+ end
24
+
25
+ # @api private
26
+ class Handler < Seahorse::Client::Handler
27
+ def call(context)
28
+ # If endpoint was discovered, do not resolve or apply the endpoint.
29
+ unless context[:discovered_endpoint]
30
+ params = parameters_for_operation(context)
31
+ endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
+
33
+ context.http_request.endpoint = endpoint.url
34
+ apply_endpoint_headers(context, endpoint.headers)
35
+ end
36
+
37
+ context[:endpoint_params] = params
38
+ context[:auth_scheme] =
39
+ Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
+
41
+ @handler.call(context)
42
+ end
43
+
44
+ private
45
+
46
+ def apply_endpoint_headers(context, headers)
47
+ headers.each do |key, values|
48
+ value = values
49
+ .compact
50
+ .map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
51
+ .join(',')
52
+
53
+ context.http_request.headers[key] = value
54
+ end
55
+ end
56
+
57
+ def parameters_for_operation(context)
58
+ case context.operation_name
59
+ when :add_notification_channels
60
+ Aws::CodeGuruProfiler::Endpoints::AddNotificationChannels.build(context)
61
+ when :batch_get_frame_metric_data
62
+ Aws::CodeGuruProfiler::Endpoints::BatchGetFrameMetricData.build(context)
63
+ when :configure_agent
64
+ Aws::CodeGuruProfiler::Endpoints::ConfigureAgent.build(context)
65
+ when :create_profiling_group
66
+ Aws::CodeGuruProfiler::Endpoints::CreateProfilingGroup.build(context)
67
+ when :delete_profiling_group
68
+ Aws::CodeGuruProfiler::Endpoints::DeleteProfilingGroup.build(context)
69
+ when :describe_profiling_group
70
+ Aws::CodeGuruProfiler::Endpoints::DescribeProfilingGroup.build(context)
71
+ when :get_findings_report_account_summary
72
+ Aws::CodeGuruProfiler::Endpoints::GetFindingsReportAccountSummary.build(context)
73
+ when :get_notification_configuration
74
+ Aws::CodeGuruProfiler::Endpoints::GetNotificationConfiguration.build(context)
75
+ when :get_policy
76
+ Aws::CodeGuruProfiler::Endpoints::GetPolicy.build(context)
77
+ when :get_profile
78
+ Aws::CodeGuruProfiler::Endpoints::GetProfile.build(context)
79
+ when :get_recommendations
80
+ Aws::CodeGuruProfiler::Endpoints::GetRecommendations.build(context)
81
+ when :list_findings_reports
82
+ Aws::CodeGuruProfiler::Endpoints::ListFindingsReports.build(context)
83
+ when :list_profile_times
84
+ Aws::CodeGuruProfiler::Endpoints::ListProfileTimes.build(context)
85
+ when :list_profiling_groups
86
+ Aws::CodeGuruProfiler::Endpoints::ListProfilingGroups.build(context)
87
+ when :list_tags_for_resource
88
+ Aws::CodeGuruProfiler::Endpoints::ListTagsForResource.build(context)
89
+ when :post_agent_profile
90
+ Aws::CodeGuruProfiler::Endpoints::PostAgentProfile.build(context)
91
+ when :put_permission
92
+ Aws::CodeGuruProfiler::Endpoints::PutPermission.build(context)
93
+ when :remove_notification_channel
94
+ Aws::CodeGuruProfiler::Endpoints::RemoveNotificationChannel.build(context)
95
+ when :remove_permission
96
+ Aws::CodeGuruProfiler::Endpoints::RemovePermission.build(context)
97
+ when :submit_feedback
98
+ Aws::CodeGuruProfiler::Endpoints::SubmitFeedback.build(context)
99
+ when :tag_resource
100
+ Aws::CodeGuruProfiler::Endpoints::TagResource.build(context)
101
+ when :untag_resource
102
+ Aws::CodeGuruProfiler::Endpoints::UntagResource.build(context)
103
+ when :update_profiling_group
104
+ Aws::CodeGuruProfiler::Endpoints::UpdateProfilingGroup.build(context)
105
+ end
106
+ end
107
+ end
108
+
109
+ def add_handlers(handlers, _config)
110
+ handlers.add(Handler, step: :build, priority: 75)
111
+ end
112
+ end
113
+ end
114
+ end
@@ -12,20 +12,6 @@ module Aws::CodeGuruProfiler
12
12
 
13
13
  # The structure representing the AddNotificationChannelsRequest.
14
14
  #
15
- # @note When making an API call, you may pass AddNotificationChannelsRequest
16
- # data as a hash:
17
- #
18
- # {
19
- # channels: [ # required
20
- # {
21
- # event_publishers: ["AnomalyDetection"], # required, accepts AnomalyDetection
22
- # id: "ChannelId",
23
- # uri: "ChannelUri", # required
24
- # },
25
- # ],
26
- # profiling_group_name: "ProfilingGroupName", # required
27
- # }
28
- #
29
15
  # @!attribute [rw] channels
30
16
  # One or 2 channels to report to when anomalies are detected.
31
17
  # @return [Array<Types::Channel>]
@@ -121,13 +107,6 @@ module Aws::CodeGuruProfiler
121
107
  #
122
108
  # [1]: https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ConfigureAgent.html
123
109
  #
124
- # @note When making an API call, you may pass AgentOrchestrationConfig
125
- # data as a hash:
126
- #
127
- # {
128
- # profiling_enabled: false, # required
129
- # }
130
- #
131
110
  # @!attribute [rw] profiling_enabled
132
111
  # A `Boolean` that specifies whether the profiling agent collects
133
112
  # profiling data or not. Set to `true` to enable profiling.
@@ -248,24 +227,6 @@ module Aws::CodeGuruProfiler
248
227
 
249
228
  # The structure representing the BatchGetFrameMetricDataRequest.
250
229
  #
251
- # @note When making an API call, you may pass BatchGetFrameMetricDataRequest
252
- # data as a hash:
253
- #
254
- # {
255
- # end_time: Time.now,
256
- # frame_metrics: [
257
- # {
258
- # frame_name: "String", # required
259
- # thread_states: ["String"], # required
260
- # type: "AggregatedRelativeTotalTime", # required, accepts AggregatedRelativeTotalTime
261
- # },
262
- # ],
263
- # period: "Period",
264
- # profiling_group_name: "ProfilingGroupName", # required
265
- # start_time: Time.now,
266
- # target_resolution: "PT5M", # accepts PT5M, PT1H, P1D
267
- # }
268
- #
269
230
  # @!attribute [rw] end_time
270
231
  # The end time of the time period for the returned time series values.
271
232
  # This is specified using the ISO 8601 format. For example,
@@ -388,15 +349,6 @@ module Aws::CodeGuruProfiler
388
349
  # Notification medium for users to get alerted for events that occur in
389
350
  # application profile. We support SNS topic as a notification channel.
390
351
  #
391
- # @note When making an API call, you may pass Channel
392
- # data as a hash:
393
- #
394
- # {
395
- # event_publishers: ["AnomalyDetection"], # required, accepts AnomalyDetection
396
- # id: "ChannelId",
397
- # uri: "ChannelUri", # required
398
- # }
399
- #
400
352
  # @!attribute [rw] event_publishers
401
353
  # List of publishers for different type of events that may be detected
402
354
  # in an application from the profile. Anomaly detection is the only
@@ -427,17 +379,6 @@ module Aws::CodeGuruProfiler
427
379
 
428
380
  # The structure representing the configureAgentRequest.
429
381
  #
430
- # @note When making an API call, you may pass ConfigureAgentRequest
431
- # data as a hash:
432
- #
433
- # {
434
- # fleet_instance_id: "FleetInstanceId",
435
- # metadata: {
436
- # "ComputePlatform" => "String",
437
- # },
438
- # profiling_group_name: "ProfilingGroupName", # required
439
- # }
440
- #
441
382
  # @!attribute [rw] fleet_instance_id
442
383
  # A universally unique identifier (UUID) for a profiling instance. For
443
384
  # example, if the profiling instance is an Amazon EC2 instance, it is
@@ -527,21 +468,6 @@ module Aws::CodeGuruProfiler
527
468
 
528
469
  # The structure representing the createProfiliingGroupRequest.
529
470
  #
530
- # @note When making an API call, you may pass CreateProfilingGroupRequest
531
- # data as a hash:
532
- #
533
- # {
534
- # agent_orchestration_config: {
535
- # profiling_enabled: false, # required
536
- # },
537
- # client_token: "ClientToken", # required
538
- # compute_platform: "Default", # accepts Default, AWSLambda
539
- # profiling_group_name: "ProfilingGroupName", # required
540
- # tags: {
541
- # "String" => "String",
542
- # },
543
- # }
544
- #
545
471
  # @!attribute [rw] agent_orchestration_config
546
472
  # Specifies whether profiling is enabled or disabled for the created
547
473
  # profiling group.
@@ -605,13 +531,6 @@ module Aws::CodeGuruProfiler
605
531
 
606
532
  # The structure representing the deleteProfilingGroupRequest.
607
533
  #
608
- # @note When making an API call, you may pass DeleteProfilingGroupRequest
609
- # data as a hash:
610
- #
611
- # {
612
- # profiling_group_name: "ProfilingGroupName", # required
613
- # }
614
- #
615
534
  # @!attribute [rw] profiling_group_name
616
535
  # The name of the profiling group to delete.
617
536
  # @return [String]
@@ -632,13 +551,6 @@ module Aws::CodeGuruProfiler
632
551
 
633
552
  # The structure representing the describeProfilingGroupRequest.
634
553
  #
635
- # @note When making an API call, you may pass DescribeProfilingGroupRequest
636
- # data as a hash:
637
- #
638
- # {
639
- # profiling_group_name: "ProfilingGroupName", # required
640
- # }
641
- #
642
554
  # @!attribute [rw] profiling_group_name
643
555
  # The name of the profiling group to get information about.
644
556
  # @return [String]
@@ -717,15 +629,6 @@ module Aws::CodeGuruProfiler
717
629
  # The frame name, metric type, and thread states. These are used to
718
630
  # derive the value of the metric for the frame.
719
631
  #
720
- # @note When making an API call, you may pass FrameMetric
721
- # data as a hash:
722
- #
723
- # {
724
- # frame_name: "String", # required
725
- # thread_states: ["String"], # required
726
- # type: "AggregatedRelativeTotalTime", # required, accepts AggregatedRelativeTotalTime
727
- # }
728
- #
729
632
  # @!attribute [rw] frame_name
730
633
  # Name of the method common across the multiple occurrences of a frame
731
634
  # in an application profile.
@@ -775,15 +678,6 @@ module Aws::CodeGuruProfiler
775
678
 
776
679
  # The structure representing the GetFindingsReportAccountSummaryRequest.
777
680
  #
778
- # @note When making an API call, you may pass GetFindingsReportAccountSummaryRequest
779
- # data as a hash:
780
- #
781
- # {
782
- # daily_reports_only: false,
783
- # max_results: 1,
784
- # next_token: "PaginationToken",
785
- # }
786
- #
787
681
  # @!attribute [rw] daily_reports_only
788
682
  # A `Boolean` value indicating whether to only return reports from
789
683
  # daily profiles. If set to `True`, only analysis data from daily
@@ -857,13 +751,6 @@ module Aws::CodeGuruProfiler
857
751
 
858
752
  # The structure representing the GetNotificationConfigurationRequest.
859
753
  #
860
- # @note When making an API call, you may pass GetNotificationConfigurationRequest
861
- # data as a hash:
862
- #
863
- # {
864
- # profiling_group_name: "ProfilingGroupName", # required
865
- # }
866
- #
867
754
  # @!attribute [rw] profiling_group_name
868
755
  # The name of the profiling group we want to get the notification
869
756
  # configuration for.
@@ -893,13 +780,6 @@ module Aws::CodeGuruProfiler
893
780
 
894
781
  # The structure representing the `getPolicyRequest`.
895
782
  #
896
- # @note When making an API call, you may pass GetPolicyRequest
897
- # data as a hash:
898
- #
899
- # {
900
- # profiling_group_name: "ProfilingGroupName", # required
901
- # }
902
- #
903
783
  # @!attribute [rw] profiling_group_name
904
784
  # The name of the profiling group.
905
785
  # @return [String]
@@ -934,18 +814,6 @@ module Aws::CodeGuruProfiler
934
814
 
935
815
  # The structure representing the getProfileRequest.
936
816
  #
937
- # @note When making an API call, you may pass GetProfileRequest
938
- # data as a hash:
939
- #
940
- # {
941
- # accept: "String",
942
- # end_time: Time.now,
943
- # max_depth: 1,
944
- # period: "Period",
945
- # profiling_group_name: "ProfilingGroupName", # required
946
- # start_time: Time.now,
947
- # }
948
- #
949
817
  # @!attribute [rw] accept
950
818
  # The format of the returned profiling data. The format maps to the
951
819
  # `Accept` and `Content-Type` headers of the HTTP request. You can
@@ -1032,16 +900,6 @@ module Aws::CodeGuruProfiler
1032
900
 
1033
901
  # The structure representing the GetRecommendationsRequest.
1034
902
  #
1035
- # @note When making an API call, you may pass GetRecommendationsRequest
1036
- # data as a hash:
1037
- #
1038
- # {
1039
- # end_time: Time.now, # required
1040
- # locale: "Locale",
1041
- # profiling_group_name: "ProfilingGroupName", # required
1042
- # start_time: Time.now, # required
1043
- # }
1044
- #
1045
903
  # @!attribute [rw] end_time
1046
904
  # The start time of the profile to get analysis data about. You must
1047
905
  # specify `startTime` and `endTime`. This is specified using the ISO
@@ -1155,18 +1013,6 @@ module Aws::CodeGuruProfiler
1155
1013
 
1156
1014
  # The structure representing the ListFindingsReportsRequest.
1157
1015
  #
1158
- # @note When making an API call, you may pass ListFindingsReportsRequest
1159
- # data as a hash:
1160
- #
1161
- # {
1162
- # daily_reports_only: false,
1163
- # end_time: Time.now, # required
1164
- # max_results: 1,
1165
- # next_token: "PaginationToken",
1166
- # profiling_group_name: "ProfilingGroupName", # required
1167
- # start_time: Time.now, # required
1168
- # }
1169
- #
1170
1016
  # @!attribute [rw] daily_reports_only
1171
1017
  # A `Boolean` value indicating whether to only return reports from
1172
1018
  # daily profiles. If set to `True`, only analysis data from daily
@@ -1254,19 +1100,6 @@ module Aws::CodeGuruProfiler
1254
1100
 
1255
1101
  # The structure representing the listProfileTimesRequest.
1256
1102
  #
1257
- # @note When making an API call, you may pass ListProfileTimesRequest
1258
- # data as a hash:
1259
- #
1260
- # {
1261
- # end_time: Time.now, # required
1262
- # max_results: 1,
1263
- # next_token: "PaginationToken",
1264
- # order_by: "TimestampDescending", # accepts TimestampDescending, TimestampAscending
1265
- # period: "PT5M", # required, accepts PT5M, PT1H, P1D
1266
- # profiling_group_name: "ProfilingGroupName", # required
1267
- # start_time: Time.now, # required
1268
- # }
1269
- #
1270
1103
  # @!attribute [rw] end_time
1271
1104
  # The end time of the time range from which to list the profiles.
1272
1105
  # @return [Time]
@@ -1359,15 +1192,6 @@ module Aws::CodeGuruProfiler
1359
1192
 
1360
1193
  # The structure representing the listProfilingGroupsRequest.
1361
1194
  #
1362
- # @note When making an API call, you may pass ListProfilingGroupsRequest
1363
- # data as a hash:
1364
- #
1365
- # {
1366
- # include_description: false,
1367
- # max_results: 1,
1368
- # next_token: "PaginationToken",
1369
- # }
1370
- #
1371
1195
  # @!attribute [rw] include_description
1372
1196
  # A `Boolean` value indicating whether to include a description. If
1373
1197
  # `true`, then a list of [ `ProfilingGroupDescription` ][1] objects
@@ -1454,13 +1278,6 @@ module Aws::CodeGuruProfiler
1454
1278
  include Aws::Structure
1455
1279
  end
1456
1280
 
1457
- # @note When making an API call, you may pass ListTagsForResourceRequest
1458
- # data as a hash:
1459
- #
1460
- # {
1461
- # resource_arn: "ProfilingGroupArn", # required
1462
- # }
1463
- #
1464
1281
  # @!attribute [rw] resource_arn
1465
1282
  # The Amazon Resource Name (ARN) of the resource that contains the
1466
1283
  # tags to return.
@@ -1615,16 +1432,6 @@ module Aws::CodeGuruProfiler
1615
1432
 
1616
1433
  # The structure representing the postAgentProfileRequest.
1617
1434
  #
1618
- # @note When making an API call, you may pass PostAgentProfileRequest
1619
- # data as a hash:
1620
- #
1621
- # {
1622
- # agent_profile: "data", # required
1623
- # content_type: "String", # required
1624
- # profile_token: "ClientToken",
1625
- # profiling_group_name: "ProfilingGroupName", # required
1626
- # }
1627
- #
1628
1435
  # @!attribute [rw] agent_profile
1629
1436
  # The submitted profiling data.
1630
1437
  # @return [String]
@@ -1794,16 +1601,6 @@ module Aws::CodeGuruProfiler
1794
1601
 
1795
1602
  # The structure representing the `putPermissionRequest`.
1796
1603
  #
1797
- # @note When making an API call, you may pass PutPermissionRequest
1798
- # data as a hash:
1799
- #
1800
- # {
1801
- # action_group: "agentPermissions", # required, accepts agentPermissions
1802
- # principals: ["Principal"], # required
1803
- # profiling_group_name: "ProfilingGroupName", # required
1804
- # revision_id: "RevisionId",
1805
- # }
1806
- #
1807
1604
  # @!attribute [rw] action_group
1808
1605
  # Specifies an action group that contains permissions to add to a
1809
1606
  # profiling group resource. One action group is supported,
@@ -1911,14 +1708,6 @@ module Aws::CodeGuruProfiler
1911
1708
 
1912
1709
  # The structure representing the RemoveNotificationChannelRequest.
1913
1710
  #
1914
- # @note When making an API call, you may pass RemoveNotificationChannelRequest
1915
- # data as a hash:
1916
- #
1917
- # {
1918
- # channel_id: "ChannelId", # required
1919
- # profiling_group_name: "ProfilingGroupName", # required
1920
- # }
1921
- #
1922
1711
  # @!attribute [rw] channel_id
1923
1712
  # The id of the channel that we want to stop receiving notifications.
1924
1713
  # @return [String]
@@ -1954,15 +1743,6 @@ module Aws::CodeGuruProfiler
1954
1743
  # The structure representing the
1955
1744
  # <code>removePermissionRequest</code>.</p>
1956
1745
  #
1957
- # @note When making an API call, you may pass RemovePermissionRequest
1958
- # data as a hash:
1959
- #
1960
- # {
1961
- # action_group: "agentPermissions", # required, accepts agentPermissions
1962
- # profiling_group_name: "ProfilingGroupName", # required
1963
- # revision_id: "RevisionId", # required
1964
- # }
1965
- #
1966
1746
  # @!attribute [rw] action_group
1967
1747
  # Specifies an action group that contains the permissions to remove
1968
1748
  # from a profiling group's resource-based policy. One action group is
@@ -2046,16 +1826,6 @@ module Aws::CodeGuruProfiler
2046
1826
 
2047
1827
  # The structure representing the SubmitFeedbackRequest.
2048
1828
  #
2049
- # @note When making an API call, you may pass SubmitFeedbackRequest
2050
- # data as a hash:
2051
- #
2052
- # {
2053
- # anomaly_instance_id: "AnomalyInstanceId", # required
2054
- # comment: "String",
2055
- # profiling_group_name: "ProfilingGroupName", # required
2056
- # type: "Positive", # required, accepts Positive, Negative
2057
- # }
2058
- #
2059
1829
  # @!attribute [rw] anomaly_instance_id
2060
1830
  # The universally unique identifier (UUID) of the [ `AnomalyInstance`
2061
1831
  # ][1] object that is included in the analysis data.
@@ -2096,16 +1866,6 @@ module Aws::CodeGuruProfiler
2096
1866
  #
2097
1867
  class SubmitFeedbackResponse < Aws::EmptyStructure; end
2098
1868
 
2099
- # @note When making an API call, you may pass TagResourceRequest
2100
- # data as a hash:
2101
- #
2102
- # {
2103
- # resource_arn: "ProfilingGroupArn", # required
2104
- # tags: { # required
2105
- # "String" => "String",
2106
- # },
2107
- # }
2108
- #
2109
1869
  # @!attribute [rw] resource_arn
2110
1870
  # The Amazon Resource Name (ARN) of the resource that the tags are
2111
1871
  # added to.
@@ -2159,14 +1919,6 @@ module Aws::CodeGuruProfiler
2159
1919
  include Aws::Structure
2160
1920
  end
2161
1921
 
2162
- # @note When making an API call, you may pass UntagResourceRequest
2163
- # data as a hash:
2164
- #
2165
- # {
2166
- # resource_arn: "ProfilingGroupArn", # required
2167
- # tag_keys: ["String"], # required
2168
- # }
2169
- #
2170
1922
  # @!attribute [rw] resource_arn
2171
1923
  # The Amazon Resource Name (ARN) of the resource that contains the
2172
1924
  # tags to remove.
@@ -2192,16 +1944,6 @@ module Aws::CodeGuruProfiler
2192
1944
 
2193
1945
  # The structure representing the updateProfilingGroupRequest.
2194
1946
  #
2195
- # @note When making an API call, you may pass UpdateProfilingGroupRequest
2196
- # data as a hash:
2197
- #
2198
- # {
2199
- # agent_orchestration_config: { # required
2200
- # profiling_enabled: false, # required
2201
- # },
2202
- # profiling_group_name: "ProfilingGroupName", # required
2203
- # }
2204
- #
2205
1947
  # @!attribute [rw] agent_orchestration_config
2206
1948
  # Specifies whether profiling is enabled or disabled for a profiling
2207
1949
  # group.
@@ -13,9 +13,13 @@ require 'aws-sigv4'
13
13
 
14
14
  require_relative 'aws-sdk-codeguruprofiler/types'
15
15
  require_relative 'aws-sdk-codeguruprofiler/client_api'
16
+ require_relative 'aws-sdk-codeguruprofiler/plugins/endpoints.rb'
16
17
  require_relative 'aws-sdk-codeguruprofiler/client'
17
18
  require_relative 'aws-sdk-codeguruprofiler/errors'
18
19
  require_relative 'aws-sdk-codeguruprofiler/resource'
20
+ require_relative 'aws-sdk-codeguruprofiler/endpoint_parameters'
21
+ require_relative 'aws-sdk-codeguruprofiler/endpoint_provider'
22
+ require_relative 'aws-sdk-codeguruprofiler/endpoints'
19
23
  require_relative 'aws-sdk-codeguruprofiler/customizations'
20
24
 
21
25
  # This module provides support for Amazon CodeGuru Profiler. This module is available in the
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-codeguruprofiler/customizations'
48
52
  # @!group service
49
53
  module Aws::CodeGuruProfiler
50
54
 
51
- GEM_VERSION = '1.21.0'
55
+ GEM_VERSION = '1.33.0'
52
56
 
53
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-codeguruprofiler
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.21.0
4
+ version: 1.33.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: 2021-11-30 00:00:00.000000000 Z
11
+ date: 2023-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.122.0
22
+ version: 3.184.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.122.0
32
+ version: 3.184.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -59,7 +59,11 @@ files:
59
59
  - lib/aws-sdk-codeguruprofiler/client.rb
60
60
  - lib/aws-sdk-codeguruprofiler/client_api.rb
61
61
  - lib/aws-sdk-codeguruprofiler/customizations.rb
62
+ - lib/aws-sdk-codeguruprofiler/endpoint_parameters.rb
63
+ - lib/aws-sdk-codeguruprofiler/endpoint_provider.rb
64
+ - lib/aws-sdk-codeguruprofiler/endpoints.rb
62
65
  - lib/aws-sdk-codeguruprofiler/errors.rb
66
+ - lib/aws-sdk-codeguruprofiler/plugins/endpoints.rb
63
67
  - lib/aws-sdk-codeguruprofiler/resource.rb
64
68
  - lib/aws-sdk-codeguruprofiler/types.rb
65
69
  homepage: https://github.com/aws/aws-sdk-ruby