aws-sdk-codeguruprofiler 1.24.0 → 1.26.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 +4 -4
- data/CHANGELOG.md +13 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-codeguruprofiler/client.rb +20 -3
- data/lib/aws-sdk-codeguruprofiler/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-codeguruprofiler/endpoint_provider.rb +51 -0
- data/lib/aws-sdk-codeguruprofiler/endpoints.rb +337 -0
- data/lib/aws-sdk-codeguruprofiler/plugins/endpoints.rb +114 -0
- data/lib/aws-sdk-codeguruprofiler/types.rb +0 -258
- data/lib/aws-sdk-codeguruprofiler.rb +5 -1
- metadata +8 -4
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 4edb83f62b2414af44d201b9c536f258d83402118f034683d3fa802b4b654a23
         | 
| 4 | 
            +
              data.tar.gz: 705294221539313b73605ccf96bde3f4f2c2218ff92704edf9e2c14d93e132b1
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 022e495fc2c3c2b713a79d0c75dcac86cc8079c2d2aa8073cd93d42c5d1ad0ca5803474617c9ca8be170160896de8f9ec861511d9f65d0579edb5d2e6b8ca1b9
         | 
| 7 | 
            +
              data.tar.gz: 192d483620deb88992fa482eadacce7399d6e319a90624f959800b7357781e12493817b3b25bec60884acf0d377bd19712811ba58208d581051286ab07f2957d
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,6 +1,18 @@ | |
| 1 1 | 
             
            Unreleased Changes
         | 
| 2 2 | 
             
            ------------------
         | 
| 3 3 |  | 
| 4 | 
            +
            1.26.0 (2023-01-18)
         | 
| 5 | 
            +
            ------------------
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            * Issue - Replace runtime endpoint resolution approach with generated ruby code.
         | 
| 10 | 
            +
             | 
| 11 | 
            +
            1.25.0 (2022-10-25)
         | 
| 12 | 
            +
            ------------------
         | 
| 13 | 
            +
             | 
| 14 | 
            +
            * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
         | 
| 15 | 
            +
             | 
| 4 16 | 
             
            1.24.0 (2022-02-24)
         | 
| 5 17 | 
             
            ------------------
         | 
| 6 18 |  | 
| @@ -136,4 +148,4 @@ Unreleased Changes | |
| 136 148 | 
             
            1.0.0 (2019-12-03)
         | 
| 137 149 | 
             
            ------------------
         | 
| 138 150 |  | 
| 139 | 
            -
            * Feature - Initial release of `aws-sdk-codeguruprofiler`.
         | 
| 151 | 
            +
            * Feature - Initial release of `aws-sdk-codeguruprofiler`.
         | 
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            1. | 
| 1 | 
            +
            1.26.0
         | 
| @@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb' | |
| 30 30 | 
             
            require 'aws-sdk-core/plugins/checksum_algorithm.rb'
         | 
| 31 31 | 
             
            require 'aws-sdk-core/plugins/defaults_mode.rb'
         | 
| 32 32 | 
             
            require 'aws-sdk-core/plugins/recursion_detection.rb'
         | 
| 33 | 
            -
            require 'aws-sdk-core/plugins/ | 
| 33 | 
            +
            require 'aws-sdk-core/plugins/sign.rb'
         | 
| 34 34 | 
             
            require 'aws-sdk-core/plugins/protocols/rest_json.rb'
         | 
| 35 35 |  | 
| 36 36 | 
             
            Aws::Plugins::GlobalConfiguration.add_identifier(:codeguruprofiler)
         | 
| @@ -79,8 +79,9 @@ module Aws::CodeGuruProfiler | |
| 79 79 | 
             
                add_plugin(Aws::Plugins::ChecksumAlgorithm)
         | 
| 80 80 | 
             
                add_plugin(Aws::Plugins::DefaultsMode)
         | 
| 81 81 | 
             
                add_plugin(Aws::Plugins::RecursionDetection)
         | 
| 82 | 
            -
                add_plugin(Aws::Plugins:: | 
| 82 | 
            +
                add_plugin(Aws::Plugins::Sign)
         | 
| 83 83 | 
             
                add_plugin(Aws::Plugins::Protocols::RestJson)
         | 
| 84 | 
            +
                add_plugin(Aws::CodeGuruProfiler::Plugins::Endpoints)
         | 
| 84 85 |  | 
| 85 86 | 
             
                # @overload initialize(options)
         | 
| 86 87 | 
             
                #   @param [Hash] options
         | 
| @@ -287,6 +288,19 @@ module Aws::CodeGuruProfiler | |
| 287 288 | 
             
                #     ** Please note ** When response stubbing is enabled, no HTTP
         | 
| 288 289 | 
             
                #     requests are made, and retries are disabled.
         | 
| 289 290 | 
             
                #
         | 
| 291 | 
            +
                #   @option options [Aws::TokenProvider] :token_provider
         | 
| 292 | 
            +
                #     A Bearer Token Provider. This can be an instance of any one of the
         | 
| 293 | 
            +
                #     following classes:
         | 
| 294 | 
            +
                #
         | 
| 295 | 
            +
                #     * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
         | 
| 296 | 
            +
                #       tokens.
         | 
| 297 | 
            +
                #
         | 
| 298 | 
            +
                #     * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
         | 
| 299 | 
            +
                #       access token generated from `aws login`.
         | 
| 300 | 
            +
                #
         | 
| 301 | 
            +
                #     When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
         | 
| 302 | 
            +
                #     will be used to search for tokens configured for your profile in shared configuration files.
         | 
| 303 | 
            +
                #
         | 
| 290 304 | 
             
                #   @option options [Boolean] :use_dualstack_endpoint
         | 
| 291 305 | 
             
                #     When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
         | 
| 292 306 | 
             
                #     will be used if available.
         | 
| @@ -300,6 +314,9 @@ module Aws::CodeGuruProfiler | |
| 300 314 | 
             
                #     When `true`, request parameters are validated before
         | 
| 301 315 | 
             
                #     sending the request.
         | 
| 302 316 | 
             
                #
         | 
| 317 | 
            +
                #   @option options [Aws::CodeGuruProfiler::EndpointProvider] :endpoint_provider
         | 
| 318 | 
            +
                #     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`
         | 
| 319 | 
            +
                #
         | 
| 303 320 | 
             
                #   @option options [URI::HTTP,String] :http_proxy A proxy to send
         | 
| 304 321 | 
             
                #     requests through.  Formatted like 'http://proxy.com:123'.
         | 
| 305 322 | 
             
                #
         | 
| @@ -1657,7 +1674,7 @@ module Aws::CodeGuruProfiler | |
| 1657 1674 | 
             
                    params: params,
         | 
| 1658 1675 | 
             
                    config: config)
         | 
| 1659 1676 | 
             
                  context[:gem_name] = 'aws-sdk-codeguruprofiler'
         | 
| 1660 | 
            -
                  context[:gem_version] = '1. | 
| 1677 | 
            +
                  context[:gem_version] = '1.26.0'
         | 
| 1661 1678 | 
             
                  Seahorse::Client::Request.new(handlers, context)
         | 
| 1662 1679 | 
             
                end
         | 
| 1663 1680 |  | 
| @@ -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,51 @@ | |
| 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 (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
         | 
| 18 | 
            +
                    if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
         | 
| 19 | 
            +
                      if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
         | 
| 20 | 
            +
                        raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
         | 
| 21 | 
            +
                      end
         | 
| 22 | 
            +
                      if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
         | 
| 23 | 
            +
                        raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
         | 
| 24 | 
            +
                      end
         | 
| 25 | 
            +
                      return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
         | 
| 26 | 
            +
                    end
         | 
| 27 | 
            +
                    if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
         | 
| 28 | 
            +
                      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"))
         | 
| 29 | 
            +
                        return Aws::Endpoints::Endpoint.new(url: "https://codeguru-profiler-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
         | 
| 30 | 
            +
                      end
         | 
| 31 | 
            +
                      raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
         | 
| 32 | 
            +
                    end
         | 
| 33 | 
            +
                    if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
         | 
| 34 | 
            +
                      if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
         | 
| 35 | 
            +
                        return Aws::Endpoints::Endpoint.new(url: "https://codeguru-profiler-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
         | 
| 36 | 
            +
                      end
         | 
| 37 | 
            +
                      raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
         | 
| 38 | 
            +
                    end
         | 
| 39 | 
            +
                    if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
         | 
| 40 | 
            +
                      if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
         | 
| 41 | 
            +
                        return Aws::Endpoints::Endpoint.new(url: "https://codeguru-profiler.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
         | 
| 42 | 
            +
                      end
         | 
| 43 | 
            +
                      raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
         | 
| 44 | 
            +
                    end
         | 
| 45 | 
            +
                    return Aws::Endpoints::Endpoint.new(url: "https://codeguru-profiler.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
         | 
| 46 | 
            +
                  end
         | 
| 47 | 
            +
                  raise ArgumentError, 'No endpoint could be resolved'
         | 
| 48 | 
            +
             | 
| 49 | 
            +
                end
         | 
| 50 | 
            +
              end
         | 
| 51 | 
            +
            end
         | 
| @@ -0,0 +1,337 @@ | |
| 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 Endpoints
         | 
| 13 | 
            +
             | 
| 14 | 
            +
                class AddNotificationChannels
         | 
| 15 | 
            +
                  def self.build(context)
         | 
| 16 | 
            +
                    unless context.config.regional_endpoint
         | 
| 17 | 
            +
                      endpoint = context.config.endpoint.to_s
         | 
| 18 | 
            +
                    end
         | 
| 19 | 
            +
                    Aws::CodeGuruProfiler::EndpointParameters.new(
         | 
| 20 | 
            +
                      region: context.config.region,
         | 
| 21 | 
            +
                      use_dual_stack: context.config.use_dualstack_endpoint,
         | 
| 22 | 
            +
                      use_fips: context.config.use_fips_endpoint,
         | 
| 23 | 
            +
                      endpoint: endpoint,
         | 
| 24 | 
            +
                    )
         | 
| 25 | 
            +
                  end
         | 
| 26 | 
            +
                end
         | 
| 27 | 
            +
             | 
| 28 | 
            +
                class BatchGetFrameMetricData
         | 
| 29 | 
            +
                  def self.build(context)
         | 
| 30 | 
            +
                    unless context.config.regional_endpoint
         | 
| 31 | 
            +
                      endpoint = context.config.endpoint.to_s
         | 
| 32 | 
            +
                    end
         | 
| 33 | 
            +
                    Aws::CodeGuruProfiler::EndpointParameters.new(
         | 
| 34 | 
            +
                      region: context.config.region,
         | 
| 35 | 
            +
                      use_dual_stack: context.config.use_dualstack_endpoint,
         | 
| 36 | 
            +
                      use_fips: context.config.use_fips_endpoint,
         | 
| 37 | 
            +
                      endpoint: endpoint,
         | 
| 38 | 
            +
                    )
         | 
| 39 | 
            +
                  end
         | 
| 40 | 
            +
                end
         | 
| 41 | 
            +
             | 
| 42 | 
            +
                class ConfigureAgent
         | 
| 43 | 
            +
                  def self.build(context)
         | 
| 44 | 
            +
                    unless context.config.regional_endpoint
         | 
| 45 | 
            +
                      endpoint = context.config.endpoint.to_s
         | 
| 46 | 
            +
                    end
         | 
| 47 | 
            +
                    Aws::CodeGuruProfiler::EndpointParameters.new(
         | 
| 48 | 
            +
                      region: context.config.region,
         | 
| 49 | 
            +
                      use_dual_stack: context.config.use_dualstack_endpoint,
         | 
| 50 | 
            +
                      use_fips: context.config.use_fips_endpoint,
         | 
| 51 | 
            +
                      endpoint: endpoint,
         | 
| 52 | 
            +
                    )
         | 
| 53 | 
            +
                  end
         | 
| 54 | 
            +
                end
         | 
| 55 | 
            +
             | 
| 56 | 
            +
                class CreateProfilingGroup
         | 
| 57 | 
            +
                  def self.build(context)
         | 
| 58 | 
            +
                    unless context.config.regional_endpoint
         | 
| 59 | 
            +
                      endpoint = context.config.endpoint.to_s
         | 
| 60 | 
            +
                    end
         | 
| 61 | 
            +
                    Aws::CodeGuruProfiler::EndpointParameters.new(
         | 
| 62 | 
            +
                      region: context.config.region,
         | 
| 63 | 
            +
                      use_dual_stack: context.config.use_dualstack_endpoint,
         | 
| 64 | 
            +
                      use_fips: context.config.use_fips_endpoint,
         | 
| 65 | 
            +
                      endpoint: endpoint,
         | 
| 66 | 
            +
                    )
         | 
| 67 | 
            +
                  end
         | 
| 68 | 
            +
                end
         | 
| 69 | 
            +
             | 
| 70 | 
            +
                class DeleteProfilingGroup
         | 
| 71 | 
            +
                  def self.build(context)
         | 
| 72 | 
            +
                    unless context.config.regional_endpoint
         | 
| 73 | 
            +
                      endpoint = context.config.endpoint.to_s
         | 
| 74 | 
            +
                    end
         | 
| 75 | 
            +
                    Aws::CodeGuruProfiler::EndpointParameters.new(
         | 
| 76 | 
            +
                      region: context.config.region,
         | 
| 77 | 
            +
                      use_dual_stack: context.config.use_dualstack_endpoint,
         | 
| 78 | 
            +
                      use_fips: context.config.use_fips_endpoint,
         | 
| 79 | 
            +
                      endpoint: endpoint,
         | 
| 80 | 
            +
                    )
         | 
| 81 | 
            +
                  end
         | 
| 82 | 
            +
                end
         | 
| 83 | 
            +
             | 
| 84 | 
            +
                class DescribeProfilingGroup
         | 
| 85 | 
            +
                  def self.build(context)
         | 
| 86 | 
            +
                    unless context.config.regional_endpoint
         | 
| 87 | 
            +
                      endpoint = context.config.endpoint.to_s
         | 
| 88 | 
            +
                    end
         | 
| 89 | 
            +
                    Aws::CodeGuruProfiler::EndpointParameters.new(
         | 
| 90 | 
            +
                      region: context.config.region,
         | 
| 91 | 
            +
                      use_dual_stack: context.config.use_dualstack_endpoint,
         | 
| 92 | 
            +
                      use_fips: context.config.use_fips_endpoint,
         | 
| 93 | 
            +
                      endpoint: endpoint,
         | 
| 94 | 
            +
                    )
         | 
| 95 | 
            +
                  end
         | 
| 96 | 
            +
                end
         | 
| 97 | 
            +
             | 
| 98 | 
            +
                class GetFindingsReportAccountSummary
         | 
| 99 | 
            +
                  def self.build(context)
         | 
| 100 | 
            +
                    unless context.config.regional_endpoint
         | 
| 101 | 
            +
                      endpoint = context.config.endpoint.to_s
         | 
| 102 | 
            +
                    end
         | 
| 103 | 
            +
                    Aws::CodeGuruProfiler::EndpointParameters.new(
         | 
| 104 | 
            +
                      region: context.config.region,
         | 
| 105 | 
            +
                      use_dual_stack: context.config.use_dualstack_endpoint,
         | 
| 106 | 
            +
                      use_fips: context.config.use_fips_endpoint,
         | 
| 107 | 
            +
                      endpoint: endpoint,
         | 
| 108 | 
            +
                    )
         | 
| 109 | 
            +
                  end
         | 
| 110 | 
            +
                end
         | 
| 111 | 
            +
             | 
| 112 | 
            +
                class GetNotificationConfiguration
         | 
| 113 | 
            +
                  def self.build(context)
         | 
| 114 | 
            +
                    unless context.config.regional_endpoint
         | 
| 115 | 
            +
                      endpoint = context.config.endpoint.to_s
         | 
| 116 | 
            +
                    end
         | 
| 117 | 
            +
                    Aws::CodeGuruProfiler::EndpointParameters.new(
         | 
| 118 | 
            +
                      region: context.config.region,
         | 
| 119 | 
            +
                      use_dual_stack: context.config.use_dualstack_endpoint,
         | 
| 120 | 
            +
                      use_fips: context.config.use_fips_endpoint,
         | 
| 121 | 
            +
                      endpoint: endpoint,
         | 
| 122 | 
            +
                    )
         | 
| 123 | 
            +
                  end
         | 
| 124 | 
            +
                end
         | 
| 125 | 
            +
             | 
| 126 | 
            +
                class GetPolicy
         | 
| 127 | 
            +
                  def self.build(context)
         | 
| 128 | 
            +
                    unless context.config.regional_endpoint
         | 
| 129 | 
            +
                      endpoint = context.config.endpoint.to_s
         | 
| 130 | 
            +
                    end
         | 
| 131 | 
            +
                    Aws::CodeGuruProfiler::EndpointParameters.new(
         | 
| 132 | 
            +
                      region: context.config.region,
         | 
| 133 | 
            +
                      use_dual_stack: context.config.use_dualstack_endpoint,
         | 
| 134 | 
            +
                      use_fips: context.config.use_fips_endpoint,
         | 
| 135 | 
            +
                      endpoint: endpoint,
         | 
| 136 | 
            +
                    )
         | 
| 137 | 
            +
                  end
         | 
| 138 | 
            +
                end
         | 
| 139 | 
            +
             | 
| 140 | 
            +
                class GetProfile
         | 
| 141 | 
            +
                  def self.build(context)
         | 
| 142 | 
            +
                    unless context.config.regional_endpoint
         | 
| 143 | 
            +
                      endpoint = context.config.endpoint.to_s
         | 
| 144 | 
            +
                    end
         | 
| 145 | 
            +
                    Aws::CodeGuruProfiler::EndpointParameters.new(
         | 
| 146 | 
            +
                      region: context.config.region,
         | 
| 147 | 
            +
                      use_dual_stack: context.config.use_dualstack_endpoint,
         | 
| 148 | 
            +
                      use_fips: context.config.use_fips_endpoint,
         | 
| 149 | 
            +
                      endpoint: endpoint,
         | 
| 150 | 
            +
                    )
         | 
| 151 | 
            +
                  end
         | 
| 152 | 
            +
                end
         | 
| 153 | 
            +
             | 
| 154 | 
            +
                class GetRecommendations
         | 
| 155 | 
            +
                  def self.build(context)
         | 
| 156 | 
            +
                    unless context.config.regional_endpoint
         | 
| 157 | 
            +
                      endpoint = context.config.endpoint.to_s
         | 
| 158 | 
            +
                    end
         | 
| 159 | 
            +
                    Aws::CodeGuruProfiler::EndpointParameters.new(
         | 
| 160 | 
            +
                      region: context.config.region,
         | 
| 161 | 
            +
                      use_dual_stack: context.config.use_dualstack_endpoint,
         | 
| 162 | 
            +
                      use_fips: context.config.use_fips_endpoint,
         | 
| 163 | 
            +
                      endpoint: endpoint,
         | 
| 164 | 
            +
                    )
         | 
| 165 | 
            +
                  end
         | 
| 166 | 
            +
                end
         | 
| 167 | 
            +
             | 
| 168 | 
            +
                class ListFindingsReports
         | 
| 169 | 
            +
                  def self.build(context)
         | 
| 170 | 
            +
                    unless context.config.regional_endpoint
         | 
| 171 | 
            +
                      endpoint = context.config.endpoint.to_s
         | 
| 172 | 
            +
                    end
         | 
| 173 | 
            +
                    Aws::CodeGuruProfiler::EndpointParameters.new(
         | 
| 174 | 
            +
                      region: context.config.region,
         | 
| 175 | 
            +
                      use_dual_stack: context.config.use_dualstack_endpoint,
         | 
| 176 | 
            +
                      use_fips: context.config.use_fips_endpoint,
         | 
| 177 | 
            +
                      endpoint: endpoint,
         | 
| 178 | 
            +
                    )
         | 
| 179 | 
            +
                  end
         | 
| 180 | 
            +
                end
         | 
| 181 | 
            +
             | 
| 182 | 
            +
                class ListProfileTimes
         | 
| 183 | 
            +
                  def self.build(context)
         | 
| 184 | 
            +
                    unless context.config.regional_endpoint
         | 
| 185 | 
            +
                      endpoint = context.config.endpoint.to_s
         | 
| 186 | 
            +
                    end
         | 
| 187 | 
            +
                    Aws::CodeGuruProfiler::EndpointParameters.new(
         | 
| 188 | 
            +
                      region: context.config.region,
         | 
| 189 | 
            +
                      use_dual_stack: context.config.use_dualstack_endpoint,
         | 
| 190 | 
            +
                      use_fips: context.config.use_fips_endpoint,
         | 
| 191 | 
            +
                      endpoint: endpoint,
         | 
| 192 | 
            +
                    )
         | 
| 193 | 
            +
                  end
         | 
| 194 | 
            +
                end
         | 
| 195 | 
            +
             | 
| 196 | 
            +
                class ListProfilingGroups
         | 
| 197 | 
            +
                  def self.build(context)
         | 
| 198 | 
            +
                    unless context.config.regional_endpoint
         | 
| 199 | 
            +
                      endpoint = context.config.endpoint.to_s
         | 
| 200 | 
            +
                    end
         | 
| 201 | 
            +
                    Aws::CodeGuruProfiler::EndpointParameters.new(
         | 
| 202 | 
            +
                      region: context.config.region,
         | 
| 203 | 
            +
                      use_dual_stack: context.config.use_dualstack_endpoint,
         | 
| 204 | 
            +
                      use_fips: context.config.use_fips_endpoint,
         | 
| 205 | 
            +
                      endpoint: endpoint,
         | 
| 206 | 
            +
                    )
         | 
| 207 | 
            +
                  end
         | 
| 208 | 
            +
                end
         | 
| 209 | 
            +
             | 
| 210 | 
            +
                class ListTagsForResource
         | 
| 211 | 
            +
                  def self.build(context)
         | 
| 212 | 
            +
                    unless context.config.regional_endpoint
         | 
| 213 | 
            +
                      endpoint = context.config.endpoint.to_s
         | 
| 214 | 
            +
                    end
         | 
| 215 | 
            +
                    Aws::CodeGuruProfiler::EndpointParameters.new(
         | 
| 216 | 
            +
                      region: context.config.region,
         | 
| 217 | 
            +
                      use_dual_stack: context.config.use_dualstack_endpoint,
         | 
| 218 | 
            +
                      use_fips: context.config.use_fips_endpoint,
         | 
| 219 | 
            +
                      endpoint: endpoint,
         | 
| 220 | 
            +
                    )
         | 
| 221 | 
            +
                  end
         | 
| 222 | 
            +
                end
         | 
| 223 | 
            +
             | 
| 224 | 
            +
                class PostAgentProfile
         | 
| 225 | 
            +
                  def self.build(context)
         | 
| 226 | 
            +
                    unless context.config.regional_endpoint
         | 
| 227 | 
            +
                      endpoint = context.config.endpoint.to_s
         | 
| 228 | 
            +
                    end
         | 
| 229 | 
            +
                    Aws::CodeGuruProfiler::EndpointParameters.new(
         | 
| 230 | 
            +
                      region: context.config.region,
         | 
| 231 | 
            +
                      use_dual_stack: context.config.use_dualstack_endpoint,
         | 
| 232 | 
            +
                      use_fips: context.config.use_fips_endpoint,
         | 
| 233 | 
            +
                      endpoint: endpoint,
         | 
| 234 | 
            +
                    )
         | 
| 235 | 
            +
                  end
         | 
| 236 | 
            +
                end
         | 
| 237 | 
            +
             | 
| 238 | 
            +
                class PutPermission
         | 
| 239 | 
            +
                  def self.build(context)
         | 
| 240 | 
            +
                    unless context.config.regional_endpoint
         | 
| 241 | 
            +
                      endpoint = context.config.endpoint.to_s
         | 
| 242 | 
            +
                    end
         | 
| 243 | 
            +
                    Aws::CodeGuruProfiler::EndpointParameters.new(
         | 
| 244 | 
            +
                      region: context.config.region,
         | 
| 245 | 
            +
                      use_dual_stack: context.config.use_dualstack_endpoint,
         | 
| 246 | 
            +
                      use_fips: context.config.use_fips_endpoint,
         | 
| 247 | 
            +
                      endpoint: endpoint,
         | 
| 248 | 
            +
                    )
         | 
| 249 | 
            +
                  end
         | 
| 250 | 
            +
                end
         | 
| 251 | 
            +
             | 
| 252 | 
            +
                class RemoveNotificationChannel
         | 
| 253 | 
            +
                  def self.build(context)
         | 
| 254 | 
            +
                    unless context.config.regional_endpoint
         | 
| 255 | 
            +
                      endpoint = context.config.endpoint.to_s
         | 
| 256 | 
            +
                    end
         | 
| 257 | 
            +
                    Aws::CodeGuruProfiler::EndpointParameters.new(
         | 
| 258 | 
            +
                      region: context.config.region,
         | 
| 259 | 
            +
                      use_dual_stack: context.config.use_dualstack_endpoint,
         | 
| 260 | 
            +
                      use_fips: context.config.use_fips_endpoint,
         | 
| 261 | 
            +
                      endpoint: endpoint,
         | 
| 262 | 
            +
                    )
         | 
| 263 | 
            +
                  end
         | 
| 264 | 
            +
                end
         | 
| 265 | 
            +
             | 
| 266 | 
            +
                class RemovePermission
         | 
| 267 | 
            +
                  def self.build(context)
         | 
| 268 | 
            +
                    unless context.config.regional_endpoint
         | 
| 269 | 
            +
                      endpoint = context.config.endpoint.to_s
         | 
| 270 | 
            +
                    end
         | 
| 271 | 
            +
                    Aws::CodeGuruProfiler::EndpointParameters.new(
         | 
| 272 | 
            +
                      region: context.config.region,
         | 
| 273 | 
            +
                      use_dual_stack: context.config.use_dualstack_endpoint,
         | 
| 274 | 
            +
                      use_fips: context.config.use_fips_endpoint,
         | 
| 275 | 
            +
                      endpoint: endpoint,
         | 
| 276 | 
            +
                    )
         | 
| 277 | 
            +
                  end
         | 
| 278 | 
            +
                end
         | 
| 279 | 
            +
             | 
| 280 | 
            +
                class SubmitFeedback
         | 
| 281 | 
            +
                  def self.build(context)
         | 
| 282 | 
            +
                    unless context.config.regional_endpoint
         | 
| 283 | 
            +
                      endpoint = context.config.endpoint.to_s
         | 
| 284 | 
            +
                    end
         | 
| 285 | 
            +
                    Aws::CodeGuruProfiler::EndpointParameters.new(
         | 
| 286 | 
            +
                      region: context.config.region,
         | 
| 287 | 
            +
                      use_dual_stack: context.config.use_dualstack_endpoint,
         | 
| 288 | 
            +
                      use_fips: context.config.use_fips_endpoint,
         | 
| 289 | 
            +
                      endpoint: endpoint,
         | 
| 290 | 
            +
                    )
         | 
| 291 | 
            +
                  end
         | 
| 292 | 
            +
                end
         | 
| 293 | 
            +
             | 
| 294 | 
            +
                class TagResource
         | 
| 295 | 
            +
                  def self.build(context)
         | 
| 296 | 
            +
                    unless context.config.regional_endpoint
         | 
| 297 | 
            +
                      endpoint = context.config.endpoint.to_s
         | 
| 298 | 
            +
                    end
         | 
| 299 | 
            +
                    Aws::CodeGuruProfiler::EndpointParameters.new(
         | 
| 300 | 
            +
                      region: context.config.region,
         | 
| 301 | 
            +
                      use_dual_stack: context.config.use_dualstack_endpoint,
         | 
| 302 | 
            +
                      use_fips: context.config.use_fips_endpoint,
         | 
| 303 | 
            +
                      endpoint: endpoint,
         | 
| 304 | 
            +
                    )
         | 
| 305 | 
            +
                  end
         | 
| 306 | 
            +
                end
         | 
| 307 | 
            +
             | 
| 308 | 
            +
                class UntagResource
         | 
| 309 | 
            +
                  def self.build(context)
         | 
| 310 | 
            +
                    unless context.config.regional_endpoint
         | 
| 311 | 
            +
                      endpoint = context.config.endpoint.to_s
         | 
| 312 | 
            +
                    end
         | 
| 313 | 
            +
                    Aws::CodeGuruProfiler::EndpointParameters.new(
         | 
| 314 | 
            +
                      region: context.config.region,
         | 
| 315 | 
            +
                      use_dual_stack: context.config.use_dualstack_endpoint,
         | 
| 316 | 
            +
                      use_fips: context.config.use_fips_endpoint,
         | 
| 317 | 
            +
                      endpoint: endpoint,
         | 
| 318 | 
            +
                    )
         | 
| 319 | 
            +
                  end
         | 
| 320 | 
            +
                end
         | 
| 321 | 
            +
             | 
| 322 | 
            +
                class UpdateProfilingGroup
         | 
| 323 | 
            +
                  def self.build(context)
         | 
| 324 | 
            +
                    unless context.config.regional_endpoint
         | 
| 325 | 
            +
                      endpoint = context.config.endpoint.to_s
         | 
| 326 | 
            +
                    end
         | 
| 327 | 
            +
                    Aws::CodeGuruProfiler::EndpointParameters.new(
         | 
| 328 | 
            +
                      region: context.config.region,
         | 
| 329 | 
            +
                      use_dual_stack: context.config.use_dualstack_endpoint,
         | 
| 330 | 
            +
                      use_fips: context.config.use_fips_endpoint,
         | 
| 331 | 
            +
                      endpoint: endpoint,
         | 
| 332 | 
            +
                    )
         | 
| 333 | 
            +
                  end
         | 
| 334 | 
            +
                end
         | 
| 335 | 
            +
             | 
| 336 | 
            +
              end
         | 
| 337 | 
            +
            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. | 
| 55 | 
            +
              GEM_VERSION = '1.26.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. | 
| 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:  | 
| 11 | 
            +
            date: 2023-01-18 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. | 
| 22 | 
            +
                    version: 3.165.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. | 
| 32 | 
            +
                    version: 3.165.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
         |