# frozen_string_literal: true

# WARNING ABOUT GENERATED CODE
#
# This file is generated. See the contributing guide for more information:
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
#
# WARNING ABOUT GENERATED CODE

require 'seahorse/client/plugins/content_length'
require 'aws-sdk-core/plugins/credentials_configuration'
require 'aws-sdk-core/plugins/logging'
require 'aws-sdk-core/plugins/param_converter'
require 'aws-sdk-core/plugins/param_validator'
require 'aws-sdk-core/plugins/user_agent'
require 'aws-sdk-core/plugins/helpful_socket_errors'
require 'aws-sdk-core/plugins/retry_errors'
require 'aws-sdk-core/plugins/global_configuration'
require 'aws-sdk-core/plugins/regional_endpoint'
require 'aws-sdk-core/plugins/endpoint_discovery'
require 'aws-sdk-core/plugins/endpoint_pattern'
require 'aws-sdk-core/plugins/response_paging'
require 'aws-sdk-core/plugins/stub_responses'
require 'aws-sdk-core/plugins/idempotency_token'
require 'aws-sdk-core/plugins/invocation_id'
require 'aws-sdk-core/plugins/jsonvalue_converter'
require 'aws-sdk-core/plugins/client_metrics_plugin'
require 'aws-sdk-core/plugins/client_metrics_send_plugin'
require 'aws-sdk-core/plugins/transfer_encoding'
require 'aws-sdk-core/plugins/http_checksum'
require 'aws-sdk-core/plugins/checksum_algorithm'
require 'aws-sdk-core/plugins/request_compression'
require 'aws-sdk-core/plugins/defaults_mode'
require 'aws-sdk-core/plugins/recursion_detection'
require 'aws-sdk-core/plugins/telemetry'
require 'aws-sdk-core/plugins/sign'
require 'aws-sdk-core/plugins/protocols/rest_json'

module Aws::Greengrass
  # An API client for Greengrass.  To construct a client, you need to configure a `:region` and `:credentials`.
  #
  #     client = Aws::Greengrass::Client.new(
  #       region: region_name,
  #       credentials: credentials,
  #       # ...
  #     )
  #
  # For details on configuring region and credentials see
  # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
  #
  # See {#initialize} for a full list of supported configuration options.
  class Client < Seahorse::Client::Base

    include Aws::ClientStubs

    @identifier = :greengrass

    set_api(ClientApi::API)

    add_plugin(Seahorse::Client::Plugins::ContentLength)
    add_plugin(Aws::Plugins::CredentialsConfiguration)
    add_plugin(Aws::Plugins::Logging)
    add_plugin(Aws::Plugins::ParamConverter)
    add_plugin(Aws::Plugins::ParamValidator)
    add_plugin(Aws::Plugins::UserAgent)
    add_plugin(Aws::Plugins::HelpfulSocketErrors)
    add_plugin(Aws::Plugins::RetryErrors)
    add_plugin(Aws::Plugins::GlobalConfiguration)
    add_plugin(Aws::Plugins::RegionalEndpoint)
    add_plugin(Aws::Plugins::EndpointDiscovery)
    add_plugin(Aws::Plugins::EndpointPattern)
    add_plugin(Aws::Plugins::ResponsePaging)
    add_plugin(Aws::Plugins::StubResponses)
    add_plugin(Aws::Plugins::IdempotencyToken)
    add_plugin(Aws::Plugins::InvocationId)
    add_plugin(Aws::Plugins::JsonvalueConverter)
    add_plugin(Aws::Plugins::ClientMetricsPlugin)
    add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
    add_plugin(Aws::Plugins::TransferEncoding)
    add_plugin(Aws::Plugins::HttpChecksum)
    add_plugin(Aws::Plugins::ChecksumAlgorithm)
    add_plugin(Aws::Plugins::RequestCompression)
    add_plugin(Aws::Plugins::DefaultsMode)
    add_plugin(Aws::Plugins::RecursionDetection)
    add_plugin(Aws::Plugins::Telemetry)
    add_plugin(Aws::Plugins::Sign)
    add_plugin(Aws::Plugins::Protocols::RestJson)
    add_plugin(Aws::Greengrass::Plugins::Endpoints)

    # @overload initialize(options)
    #   @param [Hash] options
    #
    #   @option options [Array<Seahorse::Client::Plugin>] :plugins ([]])
    #     A list of plugins to apply to the client. Each plugin is either a
    #     class name or an instance of a plugin class.
    #
    #   @option options [required, Aws::CredentialProvider] :credentials
    #     Your AWS credentials used for authentication. This can be any class that includes and implements
    #     `Aws::CredentialProvider`, or instance of any one of the following classes:
    #
    #     * `Aws::Credentials` - Used for configuring static, non-refreshing
    #       credentials.
    #
    #     * `Aws::SharedCredentials` - Used for loading static credentials from a
    #       shared file, such as `~/.aws/config`.
    #
    #     * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
    #
    #     * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
    #       assume a role after providing credentials via the web.
    #
    #     * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
    #       access token generated from `aws login`.
    #
    #     * `Aws::ProcessCredentials` - Used for loading credentials from a
    #       process that outputs to stdout.
    #
    #     * `Aws::InstanceProfileCredentials` - Used for loading credentials
    #       from an EC2 IMDS on an EC2 instance.
    #
    #     * `Aws::ECSCredentials` - Used for loading credentials from
    #       instances running in ECS.
    #
    #     * `Aws::CognitoIdentityCredentials` - Used for loading credentials
    #       from the Cognito Identity service.
    #
    #     When `:credentials` are not configured directly, the following locations will be searched for credentials:
    #
    #     * `Aws.config[:credentials]`
    #
    #     * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
    #       `:account_id` options.
    #
    #     * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
    #       `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
    #
    #     * `~/.aws/credentials`
    #
    #     * `~/.aws/config`
    #
    #     * EC2/ECS IMDS instance profile - When used by default, the timeouts are very aggressive.
    #       Construct and pass an instance of `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
    #       enable retries and extended timeouts. Instance profile credential fetching can be disabled by
    #       setting `ENV['AWS_EC2_METADATA_DISABLED']` to `true`.
    #
    #   @option options [required, String] :region
    #     The AWS region to connect to.  The configured `:region` is
    #     used to determine the service `:endpoint`. When not passed,
    #     a default `:region` is searched for in the following locations:
    #
    #     * `Aws.config[:region]`
    #     * `ENV['AWS_REGION']`
    #     * `ENV['AMAZON_REGION']`
    #     * `ENV['AWS_DEFAULT_REGION']`
    #     * `~/.aws/credentials`
    #     * `~/.aws/config`
    #
    #   @option options [String] :access_key_id
    #
    #   @option options [String] :account_id
    #
    #   @option options [Boolean] :active_endpoint_cache (false)
    #     When set to `true`, a thread polling for endpoints will be running in
    #     the background every 60 secs (default). Defaults to `false`.
    #
    #   @option options [Boolean] :adaptive_retry_wait_to_fill (true)
    #     Used only in `adaptive` retry mode.  When true, the request will sleep
    #     until there is sufficent client side capacity to retry the request.
    #     When false, the request will raise a `RetryCapacityNotAvailableError` and will
    #     not retry instead of sleeping.
    #
    #   @option options [Array<String>] :auth_scheme_preference
    #     A list of preferred authentication schemes to use when making a request. Supported values are:
    #     `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
    #     shared config as `auth_scheme_preference`, the value should be a comma-separated list.
    #
    #   @option options [Boolean] :client_side_monitoring (false)
    #     When `true`, client-side metrics will be collected for all API requests from
    #     this client.
    #
    #   @option options [String] :client_side_monitoring_client_id ("")
    #     Allows you to provide an identifier for this client which will be attached to
    #     all generated client side metrics. Defaults to an empty string.
    #
    #   @option options [String] :client_side_monitoring_host ("127.0.0.1")
    #     Allows you to specify the DNS hostname or IPv4 or IPv6 address that the client
    #     side monitoring agent is running on, where client metrics will be published via UDP.
    #
    #   @option options [Integer] :client_side_monitoring_port (31000)
    #     Required for publishing client metrics. The port that the client side monitoring
    #     agent is running on, where client metrics will be published via UDP.
    #
    #   @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
    #     Allows you to provide a custom client-side monitoring publisher class. By default,
    #     will use the Client Side Monitoring Agent Publisher.
    #
    #   @option options [Boolean] :convert_params (true)
    #     When `true`, an attempt is made to coerce request parameters into
    #     the required types.
    #
    #   @option options [Boolean] :correct_clock_skew (true)
    #     Used only in `standard` and adaptive retry modes. Specifies whether to apply
    #     a clock skew correction and retry requests with skewed client clocks.
    #
    #   @option options [String] :defaults_mode ("legacy")
    #     See {Aws::DefaultsModeConfiguration} for a list of the
    #     accepted modes and the configuration defaults that are included.
    #
    #   @option options [Boolean] :disable_host_prefix_injection (false)
    #     When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
    #
    #   @option options [Boolean] :disable_request_compression (false)
    #     When set to 'true' the request body will not be compressed
    #     for supported operations.
    #
    #   @option options [String, URI::HTTPS, URI::HTTP] :endpoint
    #     Normally you should not configure the `:endpoint` option
    #     directly. This is normally constructed from the `:region`
    #     option. Configuring `:endpoint` is normally reserved for
    #     connecting to test or custom endpoints. The endpoint should
    #     be a URI formatted like:
    #
    #         'http://example.com'
    #         'https://example.com'
    #         'http://example.com:123'
    #
    #   @option options [Integer] :endpoint_cache_max_entries (1000)
    #     Used for the maximum size limit of the LRU cache storing endpoints data
    #     for endpoint discovery enabled operations. Defaults to 1000.
    #
    #   @option options [Integer] :endpoint_cache_max_threads (10)
    #     Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
    #
    #   @option options [Integer] :endpoint_cache_poll_interval (60)
    #     When :endpoint_discovery and :active_endpoint_cache is enabled,
    #     Use this option to config the time interval in seconds for making
    #     requests fetching endpoints information. Defaults to 60 sec.
    #
    #   @option options [Boolean] :endpoint_discovery (false)
    #     When set to `true`, endpoint discovery will be enabled for operations when available.
    #
    #   @option options [Boolean] :ignore_configured_endpoint_urls
    #     Setting to true disables use of endpoint URLs provided via environment
    #     variables and the shared configuration file.
    #
    #   @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
    #     The log formatter.
    #
    #   @option options [Symbol] :log_level (:info)
    #     The log level to send messages to the `:logger` at.
    #
    #   @option options [Logger] :logger
    #     The Logger instance to send log messages to.  If this option
    #     is not set, logging will be disabled.
    #
    #   @option options [Integer] :max_attempts (3)
    #     An integer representing the maximum number attempts that will be made for
    #     a single request, including the initial attempt.  For example,
    #     setting this value to 5 will result in a request being retried up to
    #     4 times. Used in `standard` and `adaptive` retry modes.
    #
    #   @option options [String] :profile ("default")
    #     Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
    #     When not specified, 'default' is used.
    #
    #   @option options [String] :request_checksum_calculation ("when_supported")
    #     Determines when a checksum will be calculated for request payloads. Values are:
    #
    #     * `when_supported` - (default) When set, a checksum will be
    #       calculated for all request payloads of operations modeled with the
    #       `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
    #       `requestAlgorithmMember` is modeled.
    #     * `when_required` - When set, a checksum will only be calculated for
    #       request payloads of operations modeled with the  `httpChecksum` trait where
    #       `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
    #       is modeled and supplied.
    #
    #   @option options [Integer] :request_min_compression_size_bytes (10240)
    #     The minimum size in bytes that triggers compression for request
    #     bodies. The value must be non-negative integer value between 0
    #     and 10485780 bytes inclusive.
    #
    #   @option options [String] :response_checksum_validation ("when_supported")
    #     Determines when checksum validation will be performed on response payloads. Values are:
    #
    #     * `when_supported` - (default) When set, checksum validation is performed on all
    #       response payloads of operations modeled with the `httpChecksum` trait where
    #       `responseAlgorithms` is modeled, except when no modeled checksum algorithms
    #       are supported.
    #     * `when_required` - When set, checksum validation is not performed on
    #       response payloads of operations unless the checksum algorithm is supported and
    #       the `requestValidationModeMember` member is set to `ENABLED`.
    #
    #   @option options [Proc] :retry_backoff
    #     A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
    #     This option is only used in the `legacy` retry mode.
    #
    #   @option options [Float] :retry_base_delay (0.3)
    #     The base delay in seconds used by the default backoff function. This option
    #     is only used in the `legacy` retry mode.
    #
    #   @option options [Symbol] :retry_jitter (:none)
    #     A delay randomiser function used by the default backoff function.
    #     Some predefined functions can be referenced by name - :none, :equal, :full,
    #     otherwise a Proc that takes and returns a number. This option is only used
    #     in the `legacy` retry mode.
    #
    #     @see https://www.awsarchitectureblog.com/2015/03/backoff.html
    #
    #   @option options [Integer] :retry_limit (3)
    #     The maximum number of times to retry failed requests.  Only
    #     ~ 500 level server errors and certain ~ 400 level client errors
    #     are retried.  Generally, these are throttling errors, data
    #     checksum errors, networking errors, timeout errors, auth errors,
    #     endpoint discovery, and errors from expired credentials.
    #     This option is only used in the `legacy` retry mode.
    #
    #   @option options [Integer] :retry_max_delay (0)
    #     The maximum number of seconds to delay between retries (0 for no limit)
    #     used by the default backoff function. This option is only used in the
    #     `legacy` retry mode.
    #
    #   @option options [String] :retry_mode ("legacy")
    #     Specifies which retry algorithm to use. Values are:
    #
    #     * `legacy` - The pre-existing retry behavior.  This is default value if
    #       no retry mode is provided.
    #
    #     * `standard` - A standardized set of retry rules across the AWS SDKs.
    #       This includes support for retry quotas, which limit the number of
    #       unsuccessful retries a client can make.
    #
    #     * `adaptive` - An experimental retry mode that includes all the
    #       functionality of `standard` mode along with automatic client side
    #       throttling.  This is a provisional mode that may change behavior
    #       in the future.
    #
    #   @option options [String] :sdk_ua_app_id
    #     A unique and opaque application ID that is appended to the
    #     User-Agent header as app/sdk_ua_app_id. It should have a
    #     maximum length of 50. This variable is sourced from environment
    #     variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
    #
    #   @option options [String] :secret_access_key
    #
    #   @option options [String] :session_token
    #
    #   @option options [Array] :sigv4a_signing_region_set
    #     A list of regions that should be signed with SigV4a signing. When
    #     not passed, a default `:sigv4a_signing_region_set` is searched for
    #     in the following locations:
    #
    #     * `Aws.config[:sigv4a_signing_region_set]`
    #     * `ENV['AWS_SIGV4A_SIGNING_REGION_SET']`
    #     * `~/.aws/config`
    #
    #   @option options [Boolean] :stub_responses (false)
    #     Causes the client to return stubbed responses. By default
    #     fake responses are generated and returned. You can specify
    #     the response data to return or errors to raise by calling
    #     {ClientStubs#stub_responses}. See {ClientStubs} for more information.
    #
    #     ** Please note ** When response stubbing is enabled, no HTTP
    #     requests are made, and retries are disabled.
    #
    #   @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
    #     Allows you to provide a telemetry provider, which is used to
    #     emit telemetry data. By default, uses `NoOpTelemetryProvider` which
    #     will not record or emit any telemetry data. The SDK supports the
    #     following telemetry providers:
    #
    #     * OpenTelemetry (OTel) - To use the OTel provider, install and require the
    #     `opentelemetry-sdk` gem and then, pass in an instance of a
    #     `Aws::Telemetry::OTelProvider` for telemetry provider.
    #
    #   @option options [Aws::TokenProvider] :token_provider
    #     Your Bearer token used for authentication. This can be any class that includes and implements
    #     `Aws::TokenProvider`, or instance of any one of the following classes:
    #
    #     * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
    #       tokens.
    #
    #     * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
    #       access token generated from `aws login`.
    #
    #     When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
    #     will be used to search for tokens configured for your profile in shared configuration files.
    #
    #   @option options [Boolean] :use_dualstack_endpoint
    #     When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
    #     will be used if available.
    #
    #   @option options [Boolean] :use_fips_endpoint
    #     When set to `true`, fips compatible endpoints will be used if available.
    #     When a `fips` region is used, the region is normalized and this config
    #     is set to `true`.
    #
    #   @option options [Boolean] :validate_params (true)
    #     When `true`, request parameters are validated before
    #     sending the request.
    #
    #   @option options [Aws::Greengrass::EndpointProvider] :endpoint_provider
    #     The endpoint provider used to resolve endpoints. Any object that responds to
    #     `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
    #     `Aws::Greengrass::EndpointParameters`.
    #
    #   @option options [Float] :http_continue_timeout (1)
    #     The number of seconds to wait for a 100-continue response before sending the
    #     request body.  This option has no effect unless the request has "Expect"
    #     header set to "100-continue".  Defaults to `nil` which  disables this
    #     behaviour.  This value can safely be set per request on the session.
    #
    #   @option options [Float] :http_idle_timeout (5)
    #     The number of seconds a connection is allowed to sit idle before it
    #     is considered stale.  Stale connections are closed and removed from the
    #     pool before making a request.
    #
    #   @option options [Float] :http_open_timeout (15)
    #     The default number of seconds to wait for response data.
    #     This value can safely be set per-request on the session.
    #
    #   @option options [URI::HTTP,String] :http_proxy
    #     A proxy to send requests through.  Formatted like 'http://proxy.com:123'.
    #
    #   @option options [Float] :http_read_timeout (60)
    #     The default number of seconds to wait for response data.
    #     This value can safely be set per-request on the session.
    #
    #   @option options [Boolean] :http_wire_trace (false)
    #     When `true`,  HTTP debug output will be sent to the `:logger`.
    #
    #   @option options [Proc] :on_chunk_received
    #     When a Proc object is provided, it will be used as callback when each chunk
    #     of the response body is received. It provides three arguments: the chunk,
    #     the number of bytes received, and the total number of
    #     bytes in the response (or nil if the server did not send a `content-length`).
    #
    #   @option options [Proc] :on_chunk_sent
    #     When a Proc object is provided, it will be used as callback when each chunk
    #     of the request body is sent. It provides three arguments: the chunk,
    #     the number of bytes read from the body, and the total number of
    #     bytes in the body.
    #
    #   @option options [Boolean] :raise_response_errors (true)
    #     When `true`, response errors are raised.
    #
    #   @option options [String] :ssl_ca_bundle
    #     Full path to the SSL certificate authority bundle file that should be used when
    #     verifying peer certificates.  If you do not pass `:ssl_ca_bundle` or
    #     `:ssl_ca_directory` the the system default will be used if available.
    #
    #   @option options [String] :ssl_ca_directory
    #     Full path of the directory that contains the unbundled SSL certificate
    #     authority files for verifying peer certificates.  If you do
    #     not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
    #     default will be used if available.
    #
    #   @option options [String] :ssl_ca_store
    #     Sets the X509::Store to verify peer certificate.
    #
    #   @option options [OpenSSL::X509::Certificate] :ssl_cert
    #     Sets a client certificate when creating http connections.
    #
    #   @option options [OpenSSL::PKey] :ssl_key
    #     Sets a client key when creating http connections.
    #
    #   @option options [Float] :ssl_timeout
    #     Sets the SSL timeout in seconds
    #
    #   @option options [Boolean] :ssl_verify_peer (true)
    #     When `true`, SSL peer certificates are verified when establishing a connection.
    #
    def initialize(*args)
      super
    end

    # @!group API Operations

    # Associates a role with a group. Your Greengrass core will use the role
    # to access AWS cloud services. The role's permissions should allow
    # Greengrass core Lambda functions to perform actions against the cloud.
    #
    # @option params [required, String] :group_id
    #
    # @option params [required, String] :role_arn
    #   The ARN of the role you wish to associate with this group. The
    #   existence of the role is not validated.
    #
    # @return [Types::AssociateRoleToGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::AssociateRoleToGroupResponse#associated_at #associated_at} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.associate_role_to_group({
    #     group_id: "__string", # required
    #     role_arn: "__string", # required
    #   })
    #
    # @example Response structure
    #
    #   resp.associated_at #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/AssociateRoleToGroup AWS API Documentation
    #
    # @overload associate_role_to_group(params = {})
    # @param [Hash] params ({})
    def associate_role_to_group(params = {}, options = {})
      req = build_request(:associate_role_to_group, params)
      req.send_request(options)
    end

    # Associates a role with your account. AWS IoT Greengrass will use the
    # role to access your Lambda functions and AWS IoT resources. This is
    # necessary for deployments to succeed. The role must have at least
    # minimum permissions in the policy
    # ''AWSGreengrassResourceAccessRolePolicy''.
    #
    # @option params [required, String] :role_arn
    #   The ARN of the service role you wish to associate with your account.
    #
    # @return [Types::AssociateServiceRoleToAccountResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::AssociateServiceRoleToAccountResponse#associated_at #associated_at} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.associate_service_role_to_account({
    #     role_arn: "__string", # required
    #   })
    #
    # @example Response structure
    #
    #   resp.associated_at #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/AssociateServiceRoleToAccount AWS API Documentation
    #
    # @overload associate_service_role_to_account(params = {})
    # @param [Hash] params ({})
    def associate_service_role_to_account(params = {}, options = {})
      req = build_request(:associate_service_role_to_account, params)
      req.send_request(options)
    end

    # Creates a connector definition. You may provide the initial version of
    # the connector definition now or use
    # ''CreateConnectorDefinitionVersion'' at a later time.
    #
    # @option params [String] :amzn_client_token
    #
    # @option params [Types::ConnectorDefinitionVersion] :initial_version
    #   Information about the connector definition version, which is a
    #   container for connectors.
    #
    # @option params [String] :name
    #
    # @option params [Hash<String,String>] :tags
    #   The key-value pair for the resource tag.
    #
    # @return [Types::CreateConnectorDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::CreateConnectorDefinitionResponse#arn #arn} => String
    #   * {Types::CreateConnectorDefinitionResponse#creation_timestamp #creation_timestamp} => String
    #   * {Types::CreateConnectorDefinitionResponse#id #id} => String
    #   * {Types::CreateConnectorDefinitionResponse#last_updated_timestamp #last_updated_timestamp} => String
    #   * {Types::CreateConnectorDefinitionResponse#latest_version #latest_version} => String
    #   * {Types::CreateConnectorDefinitionResponse#latest_version_arn #latest_version_arn} => String
    #   * {Types::CreateConnectorDefinitionResponse#name #name} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.create_connector_definition({
    #     amzn_client_token: "__string",
    #     initial_version: {
    #       connectors: [
    #         {
    #           connector_arn: "__string", # required
    #           id: "__string", # required
    #           parameters: {
    #             "__string" => "__string",
    #           },
    #         },
    #       ],
    #     },
    #     name: "__string",
    #     tags: {
    #       "__string" => "__string",
    #     },
    #   })
    #
    # @example Response structure
    #
    #   resp.arn #=> String
    #   resp.creation_timestamp #=> String
    #   resp.id #=> String
    #   resp.last_updated_timestamp #=> String
    #   resp.latest_version #=> String
    #   resp.latest_version_arn #=> String
    #   resp.name #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateConnectorDefinition AWS API Documentation
    #
    # @overload create_connector_definition(params = {})
    # @param [Hash] params ({})
    def create_connector_definition(params = {}, options = {})
      req = build_request(:create_connector_definition, params)
      req.send_request(options)
    end

    # Creates a version of a connector definition which has already been
    # defined.
    #
    # @option params [String] :amzn_client_token
    #
    # @option params [required, String] :connector_definition_id
    #
    # @option params [Array<Types::Connector>] :connectors
    #
    # @return [Types::CreateConnectorDefinitionVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::CreateConnectorDefinitionVersionResponse#arn #arn} => String
    #   * {Types::CreateConnectorDefinitionVersionResponse#creation_timestamp #creation_timestamp} => String
    #   * {Types::CreateConnectorDefinitionVersionResponse#id #id} => String
    #   * {Types::CreateConnectorDefinitionVersionResponse#version #version} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.create_connector_definition_version({
    #     amzn_client_token: "__string",
    #     connector_definition_id: "__string", # required
    #     connectors: [
    #       {
    #         connector_arn: "__string", # required
    #         id: "__string", # required
    #         parameters: {
    #           "__string" => "__string",
    #         },
    #       },
    #     ],
    #   })
    #
    # @example Response structure
    #
    #   resp.arn #=> String
    #   resp.creation_timestamp #=> String
    #   resp.id #=> String
    #   resp.version #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateConnectorDefinitionVersion AWS API Documentation
    #
    # @overload create_connector_definition_version(params = {})
    # @param [Hash] params ({})
    def create_connector_definition_version(params = {}, options = {})
      req = build_request(:create_connector_definition_version, params)
      req.send_request(options)
    end

    # Creates a core definition. You may provide the initial version of the
    # core definition now or use ''CreateCoreDefinitionVersion'' at a
    # later time. Greengrass groups must each contain exactly one Greengrass
    # core.
    #
    # @option params [String] :amzn_client_token
    #
    # @option params [Types::CoreDefinitionVersion] :initial_version
    #   Information about a core definition version.
    #
    # @option params [String] :name
    #
    # @option params [Hash<String,String>] :tags
    #   The key-value pair for the resource tag.
    #
    # @return [Types::CreateCoreDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::CreateCoreDefinitionResponse#arn #arn} => String
    #   * {Types::CreateCoreDefinitionResponse#creation_timestamp #creation_timestamp} => String
    #   * {Types::CreateCoreDefinitionResponse#id #id} => String
    #   * {Types::CreateCoreDefinitionResponse#last_updated_timestamp #last_updated_timestamp} => String
    #   * {Types::CreateCoreDefinitionResponse#latest_version #latest_version} => String
    #   * {Types::CreateCoreDefinitionResponse#latest_version_arn #latest_version_arn} => String
    #   * {Types::CreateCoreDefinitionResponse#name #name} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.create_core_definition({
    #     amzn_client_token: "__string",
    #     initial_version: {
    #       cores: [
    #         {
    #           certificate_arn: "__string", # required
    #           id: "__string", # required
    #           sync_shadow: false,
    #           thing_arn: "__string", # required
    #         },
    #       ],
    #     },
    #     name: "__string",
    #     tags: {
    #       "__string" => "__string",
    #     },
    #   })
    #
    # @example Response structure
    #
    #   resp.arn #=> String
    #   resp.creation_timestamp #=> String
    #   resp.id #=> String
    #   resp.last_updated_timestamp #=> String
    #   resp.latest_version #=> String
    #   resp.latest_version_arn #=> String
    #   resp.name #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateCoreDefinition AWS API Documentation
    #
    # @overload create_core_definition(params = {})
    # @param [Hash] params ({})
    def create_core_definition(params = {}, options = {})
      req = build_request(:create_core_definition, params)
      req.send_request(options)
    end

    # Creates a version of a core definition that has already been defined.
    # Greengrass groups must each contain exactly one Greengrass core.
    #
    # @option params [String] :amzn_client_token
    #
    # @option params [required, String] :core_definition_id
    #
    # @option params [Array<Types::Core>] :cores
    #
    # @return [Types::CreateCoreDefinitionVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::CreateCoreDefinitionVersionResponse#arn #arn} => String
    #   * {Types::CreateCoreDefinitionVersionResponse#creation_timestamp #creation_timestamp} => String
    #   * {Types::CreateCoreDefinitionVersionResponse#id #id} => String
    #   * {Types::CreateCoreDefinitionVersionResponse#version #version} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.create_core_definition_version({
    #     amzn_client_token: "__string",
    #     core_definition_id: "__string", # required
    #     cores: [
    #       {
    #         certificate_arn: "__string", # required
    #         id: "__string", # required
    #         sync_shadow: false,
    #         thing_arn: "__string", # required
    #       },
    #     ],
    #   })
    #
    # @example Response structure
    #
    #   resp.arn #=> String
    #   resp.creation_timestamp #=> String
    #   resp.id #=> String
    #   resp.version #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateCoreDefinitionVersion AWS API Documentation
    #
    # @overload create_core_definition_version(params = {})
    # @param [Hash] params ({})
    def create_core_definition_version(params = {}, options = {})
      req = build_request(:create_core_definition_version, params)
      req.send_request(options)
    end

    # Creates a deployment. ''CreateDeployment'' requests are idempotent
    # with respect to the ''X-Amzn-Client-Token'' token and the request
    # parameters.
    #
    # @option params [String] :amzn_client_token
    #
    # @option params [String] :deployment_id
    #   The ID of the deployment if you wish to redeploy a previous
    #   deployment.
    #
    # @option params [required, String] :deployment_type
    #   The type of deployment. When used for ''CreateDeployment'', only
    #   ''NewDeployment'' and ''Redeployment'' are valid.
    #
    # @option params [required, String] :group_id
    #
    # @option params [String] :group_version_id
    #   The ID of the group version to be deployed.
    #
    # @return [Types::CreateDeploymentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::CreateDeploymentResponse#deployment_arn #deployment_arn} => String
    #   * {Types::CreateDeploymentResponse#deployment_id #deployment_id} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.create_deployment({
    #     amzn_client_token: "__string",
    #     deployment_id: "__string",
    #     deployment_type: "NewDeployment", # required, accepts NewDeployment, Redeployment, ResetDeployment, ForceResetDeployment
    #     group_id: "__string", # required
    #     group_version_id: "__string",
    #   })
    #
    # @example Response structure
    #
    #   resp.deployment_arn #=> String
    #   resp.deployment_id #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateDeployment AWS API Documentation
    #
    # @overload create_deployment(params = {})
    # @param [Hash] params ({})
    def create_deployment(params = {}, options = {})
      req = build_request(:create_deployment, params)
      req.send_request(options)
    end

    # Creates a device definition. You may provide the initial version of
    # the device definition now or use ''CreateDeviceDefinitionVersion''
    # at a later time.
    #
    # @option params [String] :amzn_client_token
    #
    # @option params [Types::DeviceDefinitionVersion] :initial_version
    #   Information about a device definition version.
    #
    # @option params [String] :name
    #
    # @option params [Hash<String,String>] :tags
    #   The key-value pair for the resource tag.
    #
    # @return [Types::CreateDeviceDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::CreateDeviceDefinitionResponse#arn #arn} => String
    #   * {Types::CreateDeviceDefinitionResponse#creation_timestamp #creation_timestamp} => String
    #   * {Types::CreateDeviceDefinitionResponse#id #id} => String
    #   * {Types::CreateDeviceDefinitionResponse#last_updated_timestamp #last_updated_timestamp} => String
    #   * {Types::CreateDeviceDefinitionResponse#latest_version #latest_version} => String
    #   * {Types::CreateDeviceDefinitionResponse#latest_version_arn #latest_version_arn} => String
    #   * {Types::CreateDeviceDefinitionResponse#name #name} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.create_device_definition({
    #     amzn_client_token: "__string",
    #     initial_version: {
    #       devices: [
    #         {
    #           certificate_arn: "__string", # required
    #           id: "__string", # required
    #           sync_shadow: false,
    #           thing_arn: "__string", # required
    #         },
    #       ],
    #     },
    #     name: "__string",
    #     tags: {
    #       "__string" => "__string",
    #     },
    #   })
    #
    # @example Response structure
    #
    #   resp.arn #=> String
    #   resp.creation_timestamp #=> String
    #   resp.id #=> String
    #   resp.last_updated_timestamp #=> String
    #   resp.latest_version #=> String
    #   resp.latest_version_arn #=> String
    #   resp.name #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateDeviceDefinition AWS API Documentation
    #
    # @overload create_device_definition(params = {})
    # @param [Hash] params ({})
    def create_device_definition(params = {}, options = {})
      req = build_request(:create_device_definition, params)
      req.send_request(options)
    end

    # Creates a version of a device definition that has already been
    # defined.
    #
    # @option params [String] :amzn_client_token
    #
    # @option params [required, String] :device_definition_id
    #
    # @option params [Array<Types::Device>] :devices
    #
    # @return [Types::CreateDeviceDefinitionVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::CreateDeviceDefinitionVersionResponse#arn #arn} => String
    #   * {Types::CreateDeviceDefinitionVersionResponse#creation_timestamp #creation_timestamp} => String
    #   * {Types::CreateDeviceDefinitionVersionResponse#id #id} => String
    #   * {Types::CreateDeviceDefinitionVersionResponse#version #version} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.create_device_definition_version({
    #     amzn_client_token: "__string",
    #     device_definition_id: "__string", # required
    #     devices: [
    #       {
    #         certificate_arn: "__string", # required
    #         id: "__string", # required
    #         sync_shadow: false,
    #         thing_arn: "__string", # required
    #       },
    #     ],
    #   })
    #
    # @example Response structure
    #
    #   resp.arn #=> String
    #   resp.creation_timestamp #=> String
    #   resp.id #=> String
    #   resp.version #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateDeviceDefinitionVersion AWS API Documentation
    #
    # @overload create_device_definition_version(params = {})
    # @param [Hash] params ({})
    def create_device_definition_version(params = {}, options = {})
      req = build_request(:create_device_definition_version, params)
      req.send_request(options)
    end

    # Creates a Lambda function definition which contains a list of Lambda
    # functions and their configurations to be used in a group. You can
    # create an initial version of the definition by providing a list of
    # Lambda functions and their configurations now, or use
    # ''CreateFunctionDefinitionVersion'' later.
    #
    # @option params [String] :amzn_client_token
    #
    # @option params [Types::FunctionDefinitionVersion] :initial_version
    #   Information about a function definition version.
    #
    # @option params [String] :name
    #
    # @option params [Hash<String,String>] :tags
    #   The key-value pair for the resource tag.
    #
    # @return [Types::CreateFunctionDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::CreateFunctionDefinitionResponse#arn #arn} => String
    #   * {Types::CreateFunctionDefinitionResponse#creation_timestamp #creation_timestamp} => String
    #   * {Types::CreateFunctionDefinitionResponse#id #id} => String
    #   * {Types::CreateFunctionDefinitionResponse#last_updated_timestamp #last_updated_timestamp} => String
    #   * {Types::CreateFunctionDefinitionResponse#latest_version #latest_version} => String
    #   * {Types::CreateFunctionDefinitionResponse#latest_version_arn #latest_version_arn} => String
    #   * {Types::CreateFunctionDefinitionResponse#name #name} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.create_function_definition({
    #     amzn_client_token: "__string",
    #     initial_version: {
    #       default_config: {
    #         execution: {
    #           isolation_mode: "GreengrassContainer", # accepts GreengrassContainer, NoContainer
    #           run_as: {
    #             gid: 1,
    #             uid: 1,
    #           },
    #         },
    #       },
    #       functions: [
    #         {
    #           function_arn: "__string",
    #           function_configuration: {
    #             encoding_type: "binary", # accepts binary, json
    #             environment: {
    #               access_sysfs: false,
    #               execution: {
    #                 isolation_mode: "GreengrassContainer", # accepts GreengrassContainer, NoContainer
    #                 run_as: {
    #                   gid: 1,
    #                   uid: 1,
    #                 },
    #               },
    #               resource_access_policies: [
    #                 {
    #                   permission: "ro", # accepts ro, rw
    #                   resource_id: "__string", # required
    #                 },
    #               ],
    #               variables: {
    #                 "__string" => "__string",
    #               },
    #             },
    #             exec_args: "__string",
    #             executable: "__string",
    #             memory_size: 1,
    #             pinned: false,
    #             timeout: 1,
    #             function_runtime_override: "__string",
    #           },
    #           id: "__string", # required
    #         },
    #       ],
    #     },
    #     name: "__string",
    #     tags: {
    #       "__string" => "__string",
    #     },
    #   })
    #
    # @example Response structure
    #
    #   resp.arn #=> String
    #   resp.creation_timestamp #=> String
    #   resp.id #=> String
    #   resp.last_updated_timestamp #=> String
    #   resp.latest_version #=> String
    #   resp.latest_version_arn #=> String
    #   resp.name #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateFunctionDefinition AWS API Documentation
    #
    # @overload create_function_definition(params = {})
    # @param [Hash] params ({})
    def create_function_definition(params = {}, options = {})
      req = build_request(:create_function_definition, params)
      req.send_request(options)
    end

    # Creates a version of a Lambda function definition that has already
    # been defined.
    #
    # @option params [String] :amzn_client_token
    #
    # @option params [Types::FunctionDefaultConfig] :default_config
    #   The default configuration that applies to all Lambda functions in the
    #   group. Individual Lambda functions can override these settings.
    #
    # @option params [required, String] :function_definition_id
    #
    # @option params [Array<Types::Function>] :functions
    #
    # @return [Types::CreateFunctionDefinitionVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::CreateFunctionDefinitionVersionResponse#arn #arn} => String
    #   * {Types::CreateFunctionDefinitionVersionResponse#creation_timestamp #creation_timestamp} => String
    #   * {Types::CreateFunctionDefinitionVersionResponse#id #id} => String
    #   * {Types::CreateFunctionDefinitionVersionResponse#version #version} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.create_function_definition_version({
    #     amzn_client_token: "__string",
    #     default_config: {
    #       execution: {
    #         isolation_mode: "GreengrassContainer", # accepts GreengrassContainer, NoContainer
    #         run_as: {
    #           gid: 1,
    #           uid: 1,
    #         },
    #       },
    #     },
    #     function_definition_id: "__string", # required
    #     functions: [
    #       {
    #         function_arn: "__string",
    #         function_configuration: {
    #           encoding_type: "binary", # accepts binary, json
    #           environment: {
    #             access_sysfs: false,
    #             execution: {
    #               isolation_mode: "GreengrassContainer", # accepts GreengrassContainer, NoContainer
    #               run_as: {
    #                 gid: 1,
    #                 uid: 1,
    #               },
    #             },
    #             resource_access_policies: [
    #               {
    #                 permission: "ro", # accepts ro, rw
    #                 resource_id: "__string", # required
    #               },
    #             ],
    #             variables: {
    #               "__string" => "__string",
    #             },
    #           },
    #           exec_args: "__string",
    #           executable: "__string",
    #           memory_size: 1,
    #           pinned: false,
    #           timeout: 1,
    #           function_runtime_override: "__string",
    #         },
    #         id: "__string", # required
    #       },
    #     ],
    #   })
    #
    # @example Response structure
    #
    #   resp.arn #=> String
    #   resp.creation_timestamp #=> String
    #   resp.id #=> String
    #   resp.version #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateFunctionDefinitionVersion AWS API Documentation
    #
    # @overload create_function_definition_version(params = {})
    # @param [Hash] params ({})
    def create_function_definition_version(params = {}, options = {})
      req = build_request(:create_function_definition_version, params)
      req.send_request(options)
    end

    # Creates a group. You may provide the initial version of the group or
    # use ''CreateGroupVersion'' at a later time. Tip: You can use the
    # ''gg\_group\_setup'' package
    # (https://github.com/awslabs/aws-greengrass-group-setup) as a library
    # or command-line application to create and deploy Greengrass groups.
    #
    # @option params [String] :amzn_client_token
    #
    # @option params [Types::GroupVersion] :initial_version
    #   Information about a group version.
    #
    # @option params [required, String] :name
    #
    # @option params [Hash<String,String>] :tags
    #   The key-value pair for the resource tag.
    #
    # @return [Types::CreateGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::CreateGroupResponse#arn #arn} => String
    #   * {Types::CreateGroupResponse#creation_timestamp #creation_timestamp} => String
    #   * {Types::CreateGroupResponse#id #id} => String
    #   * {Types::CreateGroupResponse#last_updated_timestamp #last_updated_timestamp} => String
    #   * {Types::CreateGroupResponse#latest_version #latest_version} => String
    #   * {Types::CreateGroupResponse#latest_version_arn #latest_version_arn} => String
    #   * {Types::CreateGroupResponse#name #name} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.create_group({
    #     amzn_client_token: "__string",
    #     initial_version: {
    #       connector_definition_version_arn: "__string",
    #       core_definition_version_arn: "__string",
    #       device_definition_version_arn: "__string",
    #       function_definition_version_arn: "__string",
    #       logger_definition_version_arn: "__string",
    #       resource_definition_version_arn: "__string",
    #       subscription_definition_version_arn: "__string",
    #     },
    #     name: "__string", # required
    #     tags: {
    #       "__string" => "__string",
    #     },
    #   })
    #
    # @example Response structure
    #
    #   resp.arn #=> String
    #   resp.creation_timestamp #=> String
    #   resp.id #=> String
    #   resp.last_updated_timestamp #=> String
    #   resp.latest_version #=> String
    #   resp.latest_version_arn #=> String
    #   resp.name #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateGroup AWS API Documentation
    #
    # @overload create_group(params = {})
    # @param [Hash] params ({})
    def create_group(params = {}, options = {})
      req = build_request(:create_group, params)
      req.send_request(options)
    end

    # Creates a CA for the group. If a CA already exists, it will rotate the
    # existing CA.
    #
    # @option params [String] :amzn_client_token
    #
    # @option params [required, String] :group_id
    #
    # @return [Types::CreateGroupCertificateAuthorityResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::CreateGroupCertificateAuthorityResponse#group_certificate_authority_arn #group_certificate_authority_arn} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.create_group_certificate_authority({
    #     amzn_client_token: "__string",
    #     group_id: "__string", # required
    #   })
    #
    # @example Response structure
    #
    #   resp.group_certificate_authority_arn #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateGroupCertificateAuthority AWS API Documentation
    #
    # @overload create_group_certificate_authority(params = {})
    # @param [Hash] params ({})
    def create_group_certificate_authority(params = {}, options = {})
      req = build_request(:create_group_certificate_authority, params)
      req.send_request(options)
    end

    # Creates a version of a group which has already been defined.
    #
    # @option params [String] :amzn_client_token
    #
    # @option params [String] :connector_definition_version_arn
    #
    # @option params [String] :core_definition_version_arn
    #
    # @option params [String] :device_definition_version_arn
    #
    # @option params [String] :function_definition_version_arn
    #
    # @option params [required, String] :group_id
    #
    # @option params [String] :logger_definition_version_arn
    #
    # @option params [String] :resource_definition_version_arn
    #
    # @option params [String] :subscription_definition_version_arn
    #
    # @return [Types::CreateGroupVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::CreateGroupVersionResponse#arn #arn} => String
    #   * {Types::CreateGroupVersionResponse#creation_timestamp #creation_timestamp} => String
    #   * {Types::CreateGroupVersionResponse#id #id} => String
    #   * {Types::CreateGroupVersionResponse#version #version} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.create_group_version({
    #     amzn_client_token: "__string",
    #     connector_definition_version_arn: "__string",
    #     core_definition_version_arn: "__string",
    #     device_definition_version_arn: "__string",
    #     function_definition_version_arn: "__string",
    #     group_id: "__string", # required
    #     logger_definition_version_arn: "__string",
    #     resource_definition_version_arn: "__string",
    #     subscription_definition_version_arn: "__string",
    #   })
    #
    # @example Response structure
    #
    #   resp.arn #=> String
    #   resp.creation_timestamp #=> String
    #   resp.id #=> String
    #   resp.version #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateGroupVersion AWS API Documentation
    #
    # @overload create_group_version(params = {})
    # @param [Hash] params ({})
    def create_group_version(params = {}, options = {})
      req = build_request(:create_group_version, params)
      req.send_request(options)
    end

    # Creates a logger definition. You may provide the initial version of
    # the logger definition now or use ''CreateLoggerDefinitionVersion''
    # at a later time.
    #
    # @option params [String] :amzn_client_token
    #
    # @option params [Types::LoggerDefinitionVersion] :initial_version
    #   Information about a logger definition version.
    #
    # @option params [String] :name
    #
    # @option params [Hash<String,String>] :tags
    #   The key-value pair for the resource tag.
    #
    # @return [Types::CreateLoggerDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::CreateLoggerDefinitionResponse#arn #arn} => String
    #   * {Types::CreateLoggerDefinitionResponse#creation_timestamp #creation_timestamp} => String
    #   * {Types::CreateLoggerDefinitionResponse#id #id} => String
    #   * {Types::CreateLoggerDefinitionResponse#last_updated_timestamp #last_updated_timestamp} => String
    #   * {Types::CreateLoggerDefinitionResponse#latest_version #latest_version} => String
    #   * {Types::CreateLoggerDefinitionResponse#latest_version_arn #latest_version_arn} => String
    #   * {Types::CreateLoggerDefinitionResponse#name #name} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.create_logger_definition({
    #     amzn_client_token: "__string",
    #     initial_version: {
    #       loggers: [
    #         {
    #           component: "GreengrassSystem", # required, accepts GreengrassSystem, Lambda
    #           id: "__string", # required
    #           level: "DEBUG", # required, accepts DEBUG, INFO, WARN, ERROR, FATAL
    #           space: 1,
    #           type: "FileSystem", # required, accepts FileSystem, AWSCloudWatch
    #         },
    #       ],
    #     },
    #     name: "__string",
    #     tags: {
    #       "__string" => "__string",
    #     },
    #   })
    #
    # @example Response structure
    #
    #   resp.arn #=> String
    #   resp.creation_timestamp #=> String
    #   resp.id #=> String
    #   resp.last_updated_timestamp #=> String
    #   resp.latest_version #=> String
    #   resp.latest_version_arn #=> String
    #   resp.name #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateLoggerDefinition AWS API Documentation
    #
    # @overload create_logger_definition(params = {})
    # @param [Hash] params ({})
    def create_logger_definition(params = {}, options = {})
      req = build_request(:create_logger_definition, params)
      req.send_request(options)
    end

    # Creates a version of a logger definition that has already been
    # defined.
    #
    # @option params [String] :amzn_client_token
    #
    # @option params [required, String] :logger_definition_id
    #
    # @option params [Array<Types::Logger>] :loggers
    #
    # @return [Types::CreateLoggerDefinitionVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::CreateLoggerDefinitionVersionResponse#arn #arn} => String
    #   * {Types::CreateLoggerDefinitionVersionResponse#creation_timestamp #creation_timestamp} => String
    #   * {Types::CreateLoggerDefinitionVersionResponse#id #id} => String
    #   * {Types::CreateLoggerDefinitionVersionResponse#version #version} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.create_logger_definition_version({
    #     amzn_client_token: "__string",
    #     logger_definition_id: "__string", # required
    #     loggers: [
    #       {
    #         component: "GreengrassSystem", # required, accepts GreengrassSystem, Lambda
    #         id: "__string", # required
    #         level: "DEBUG", # required, accepts DEBUG, INFO, WARN, ERROR, FATAL
    #         space: 1,
    #         type: "FileSystem", # required, accepts FileSystem, AWSCloudWatch
    #       },
    #     ],
    #   })
    #
    # @example Response structure
    #
    #   resp.arn #=> String
    #   resp.creation_timestamp #=> String
    #   resp.id #=> String
    #   resp.version #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateLoggerDefinitionVersion AWS API Documentation
    #
    # @overload create_logger_definition_version(params = {})
    # @param [Hash] params ({})
    def create_logger_definition_version(params = {}, options = {})
      req = build_request(:create_logger_definition_version, params)
      req.send_request(options)
    end

    # Creates a resource definition which contains a list of resources to be
    # used in a group. You can create an initial version of the definition
    # by providing a list of resources now, or use
    # ''CreateResourceDefinitionVersion'' later.
    #
    # @option params [String] :amzn_client_token
    #
    # @option params [Types::ResourceDefinitionVersion] :initial_version
    #   Information about a resource definition version.
    #
    # @option params [String] :name
    #
    # @option params [Hash<String,String>] :tags
    #   The key-value pair for the resource tag.
    #
    # @return [Types::CreateResourceDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::CreateResourceDefinitionResponse#arn #arn} => String
    #   * {Types::CreateResourceDefinitionResponse#creation_timestamp #creation_timestamp} => String
    #   * {Types::CreateResourceDefinitionResponse#id #id} => String
    #   * {Types::CreateResourceDefinitionResponse#last_updated_timestamp #last_updated_timestamp} => String
    #   * {Types::CreateResourceDefinitionResponse#latest_version #latest_version} => String
    #   * {Types::CreateResourceDefinitionResponse#latest_version_arn #latest_version_arn} => String
    #   * {Types::CreateResourceDefinitionResponse#name #name} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.create_resource_definition({
    #     amzn_client_token: "__string",
    #     initial_version: {
    #       resources: [
    #         {
    #           id: "__string", # required
    #           name: "__string", # required
    #           resource_data_container: { # required
    #             local_device_resource_data: {
    #               group_owner_setting: {
    #                 auto_add_group_owner: false,
    #                 group_owner: "__string",
    #               },
    #               source_path: "__string",
    #             },
    #             local_volume_resource_data: {
    #               destination_path: "__string",
    #               group_owner_setting: {
    #                 auto_add_group_owner: false,
    #                 group_owner: "__string",
    #               },
    #               source_path: "__string",
    #             },
    #             s3_machine_learning_model_resource_data: {
    #               destination_path: "__string",
    #               owner_setting: {
    #                 group_owner: "__string", # required
    #                 group_permission: "ro", # required, accepts ro, rw
    #               },
    #               s3_uri: "__string",
    #             },
    #             sage_maker_machine_learning_model_resource_data: {
    #               destination_path: "__string",
    #               owner_setting: {
    #                 group_owner: "__string", # required
    #                 group_permission: "ro", # required, accepts ro, rw
    #               },
    #               sage_maker_job_arn: "__string",
    #             },
    #             secrets_manager_secret_resource_data: {
    #               arn: "__string",
    #               additional_staging_labels_to_download: ["__string"],
    #             },
    #           },
    #         },
    #       ],
    #     },
    #     name: "__string",
    #     tags: {
    #       "__string" => "__string",
    #     },
    #   })
    #
    # @example Response structure
    #
    #   resp.arn #=> String
    #   resp.creation_timestamp #=> String
    #   resp.id #=> String
    #   resp.last_updated_timestamp #=> String
    #   resp.latest_version #=> String
    #   resp.latest_version_arn #=> String
    #   resp.name #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateResourceDefinition AWS API Documentation
    #
    # @overload create_resource_definition(params = {})
    # @param [Hash] params ({})
    def create_resource_definition(params = {}, options = {})
      req = build_request(:create_resource_definition, params)
      req.send_request(options)
    end

    # Creates a version of a resource definition that has already been
    # defined.
    #
    # @option params [String] :amzn_client_token
    #
    # @option params [required, String] :resource_definition_id
    #
    # @option params [Array<Types::Resource>] :resources
    #
    # @return [Types::CreateResourceDefinitionVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::CreateResourceDefinitionVersionResponse#arn #arn} => String
    #   * {Types::CreateResourceDefinitionVersionResponse#creation_timestamp #creation_timestamp} => String
    #   * {Types::CreateResourceDefinitionVersionResponse#id #id} => String
    #   * {Types::CreateResourceDefinitionVersionResponse#version #version} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.create_resource_definition_version({
    #     amzn_client_token: "__string",
    #     resource_definition_id: "__string", # required
    #     resources: [
    #       {
    #         id: "__string", # required
    #         name: "__string", # required
    #         resource_data_container: { # required
    #           local_device_resource_data: {
    #             group_owner_setting: {
    #               auto_add_group_owner: false,
    #               group_owner: "__string",
    #             },
    #             source_path: "__string",
    #           },
    #           local_volume_resource_data: {
    #             destination_path: "__string",
    #             group_owner_setting: {
    #               auto_add_group_owner: false,
    #               group_owner: "__string",
    #             },
    #             source_path: "__string",
    #           },
    #           s3_machine_learning_model_resource_data: {
    #             destination_path: "__string",
    #             owner_setting: {
    #               group_owner: "__string", # required
    #               group_permission: "ro", # required, accepts ro, rw
    #             },
    #             s3_uri: "__string",
    #           },
    #           sage_maker_machine_learning_model_resource_data: {
    #             destination_path: "__string",
    #             owner_setting: {
    #               group_owner: "__string", # required
    #               group_permission: "ro", # required, accepts ro, rw
    #             },
    #             sage_maker_job_arn: "__string",
    #           },
    #           secrets_manager_secret_resource_data: {
    #             arn: "__string",
    #             additional_staging_labels_to_download: ["__string"],
    #           },
    #         },
    #       },
    #     ],
    #   })
    #
    # @example Response structure
    #
    #   resp.arn #=> String
    #   resp.creation_timestamp #=> String
    #   resp.id #=> String
    #   resp.version #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateResourceDefinitionVersion AWS API Documentation
    #
    # @overload create_resource_definition_version(params = {})
    # @param [Hash] params ({})
    def create_resource_definition_version(params = {}, options = {})
      req = build_request(:create_resource_definition_version, params)
      req.send_request(options)
    end

    # Creates a software update for a core or group of cores (specified as
    # an IoT thing group.) Use this to update the OTA Agent as well as the
    # Greengrass core software. It makes use of the IoT Jobs feature which
    # provides additional commands to manage a Greengrass core software
    # update job.
    #
    # @option params [String] :amzn_client_token
    #
    # @option params [required, String] :s3_url_signer_role
    #   The IAM Role that Greengrass will use to create pre-signed URLs
    #   pointing towards the update artifact.
    #
    # @option params [required, String] :software_to_update
    #   The piece of software on the Greengrass core that will be updated.
    #
    # @option params [String] :update_agent_log_level
    #   The minimum level of log statements that should be logged by the OTA
    #   Agent during an update.
    #
    # @option params [required, Array<String>] :update_targets
    #   The ARNs of the targets (IoT things or IoT thing groups) that this
    #   update will be applied to.
    #
    # @option params [required, String] :update_targets_architecture
    #   The architecture of the cores which are the targets of an update.
    #
    # @option params [required, String] :update_targets_operating_system
    #   The operating system of the cores which are the targets of an update.
    #
    # @return [Types::CreateSoftwareUpdateJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::CreateSoftwareUpdateJobResponse#iot_job_arn #iot_job_arn} => String
    #   * {Types::CreateSoftwareUpdateJobResponse#iot_job_id #iot_job_id} => String
    #   * {Types::CreateSoftwareUpdateJobResponse#platform_software_version #platform_software_version} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.create_software_update_job({
    #     amzn_client_token: "__string",
    #     s3_url_signer_role: "S3UrlSignerRole", # required
    #     software_to_update: "core", # required, accepts core, ota_agent
    #     update_agent_log_level: "NONE", # accepts NONE, TRACE, DEBUG, VERBOSE, INFO, WARN, ERROR, FATAL
    #     update_targets: ["__string"], # required
    #     update_targets_architecture: "armv6l", # required, accepts armv6l, armv7l, x86_64, aarch64
    #     update_targets_operating_system: "ubuntu", # required, accepts ubuntu, raspbian, amazon_linux, openwrt
    #   })
    #
    # @example Response structure
    #
    #   resp.iot_job_arn #=> String
    #   resp.iot_job_id #=> String
    #   resp.platform_software_version #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateSoftwareUpdateJob AWS API Documentation
    #
    # @overload create_software_update_job(params = {})
    # @param [Hash] params ({})
    def create_software_update_job(params = {}, options = {})
      req = build_request(:create_software_update_job, params)
      req.send_request(options)
    end

    # Creates a subscription definition. You may provide the initial version
    # of the subscription definition now or use
    # ''CreateSubscriptionDefinitionVersion'' at a later time.
    #
    # @option params [String] :amzn_client_token
    #
    # @option params [Types::SubscriptionDefinitionVersion] :initial_version
    #   Information about a subscription definition version.
    #
    # @option params [String] :name
    #
    # @option params [Hash<String,String>] :tags
    #   The key-value pair for the resource tag.
    #
    # @return [Types::CreateSubscriptionDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::CreateSubscriptionDefinitionResponse#arn #arn} => String
    #   * {Types::CreateSubscriptionDefinitionResponse#creation_timestamp #creation_timestamp} => String
    #   * {Types::CreateSubscriptionDefinitionResponse#id #id} => String
    #   * {Types::CreateSubscriptionDefinitionResponse#last_updated_timestamp #last_updated_timestamp} => String
    #   * {Types::CreateSubscriptionDefinitionResponse#latest_version #latest_version} => String
    #   * {Types::CreateSubscriptionDefinitionResponse#latest_version_arn #latest_version_arn} => String
    #   * {Types::CreateSubscriptionDefinitionResponse#name #name} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.create_subscription_definition({
    #     amzn_client_token: "__string",
    #     initial_version: {
    #       subscriptions: [
    #         {
    #           id: "__string", # required
    #           source: "__string", # required
    #           subject: "__string", # required
    #           target: "__string", # required
    #         },
    #       ],
    #     },
    #     name: "__string",
    #     tags: {
    #       "__string" => "__string",
    #     },
    #   })
    #
    # @example Response structure
    #
    #   resp.arn #=> String
    #   resp.creation_timestamp #=> String
    #   resp.id #=> String
    #   resp.last_updated_timestamp #=> String
    #   resp.latest_version #=> String
    #   resp.latest_version_arn #=> String
    #   resp.name #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateSubscriptionDefinition AWS API Documentation
    #
    # @overload create_subscription_definition(params = {})
    # @param [Hash] params ({})
    def create_subscription_definition(params = {}, options = {})
      req = build_request(:create_subscription_definition, params)
      req.send_request(options)
    end

    # Creates a version of a subscription definition which has already been
    # defined.
    #
    # @option params [String] :amzn_client_token
    #
    # @option params [required, String] :subscription_definition_id
    #
    # @option params [Array<Types::Subscription>] :subscriptions
    #
    # @return [Types::CreateSubscriptionDefinitionVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::CreateSubscriptionDefinitionVersionResponse#arn #arn} => String
    #   * {Types::CreateSubscriptionDefinitionVersionResponse#creation_timestamp #creation_timestamp} => String
    #   * {Types::CreateSubscriptionDefinitionVersionResponse#id #id} => String
    #   * {Types::CreateSubscriptionDefinitionVersionResponse#version #version} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.create_subscription_definition_version({
    #     amzn_client_token: "__string",
    #     subscription_definition_id: "__string", # required
    #     subscriptions: [
    #       {
    #         id: "__string", # required
    #         source: "__string", # required
    #         subject: "__string", # required
    #         target: "__string", # required
    #       },
    #     ],
    #   })
    #
    # @example Response structure
    #
    #   resp.arn #=> String
    #   resp.creation_timestamp #=> String
    #   resp.id #=> String
    #   resp.version #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateSubscriptionDefinitionVersion AWS API Documentation
    #
    # @overload create_subscription_definition_version(params = {})
    # @param [Hash] params ({})
    def create_subscription_definition_version(params = {}, options = {})
      req = build_request(:create_subscription_definition_version, params)
      req.send_request(options)
    end

    # Deletes a connector definition.
    #
    # @option params [required, String] :connector_definition_id
    #
    # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.delete_connector_definition({
    #     connector_definition_id: "__string", # required
    #   })
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteConnectorDefinition AWS API Documentation
    #
    # @overload delete_connector_definition(params = {})
    # @param [Hash] params ({})
    def delete_connector_definition(params = {}, options = {})
      req = build_request(:delete_connector_definition, params)
      req.send_request(options)
    end

    # Deletes a core definition.
    #
    # @option params [required, String] :core_definition_id
    #
    # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.delete_core_definition({
    #     core_definition_id: "__string", # required
    #   })
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteCoreDefinition AWS API Documentation
    #
    # @overload delete_core_definition(params = {})
    # @param [Hash] params ({})
    def delete_core_definition(params = {}, options = {})
      req = build_request(:delete_core_definition, params)
      req.send_request(options)
    end

    # Deletes a device definition.
    #
    # @option params [required, String] :device_definition_id
    #
    # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.delete_device_definition({
    #     device_definition_id: "__string", # required
    #   })
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteDeviceDefinition AWS API Documentation
    #
    # @overload delete_device_definition(params = {})
    # @param [Hash] params ({})
    def delete_device_definition(params = {}, options = {})
      req = build_request(:delete_device_definition, params)
      req.send_request(options)
    end

    # Deletes a Lambda function definition.
    #
    # @option params [required, String] :function_definition_id
    #
    # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.delete_function_definition({
    #     function_definition_id: "__string", # required
    #   })
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteFunctionDefinition AWS API Documentation
    #
    # @overload delete_function_definition(params = {})
    # @param [Hash] params ({})
    def delete_function_definition(params = {}, options = {})
      req = build_request(:delete_function_definition, params)
      req.send_request(options)
    end

    # Deletes a group.
    #
    # @option params [required, String] :group_id
    #
    # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.delete_group({
    #     group_id: "__string", # required
    #   })
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteGroup AWS API Documentation
    #
    # @overload delete_group(params = {})
    # @param [Hash] params ({})
    def delete_group(params = {}, options = {})
      req = build_request(:delete_group, params)
      req.send_request(options)
    end

    # Deletes a logger definition.
    #
    # @option params [required, String] :logger_definition_id
    #
    # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.delete_logger_definition({
    #     logger_definition_id: "__string", # required
    #   })
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteLoggerDefinition AWS API Documentation
    #
    # @overload delete_logger_definition(params = {})
    # @param [Hash] params ({})
    def delete_logger_definition(params = {}, options = {})
      req = build_request(:delete_logger_definition, params)
      req.send_request(options)
    end

    # Deletes a resource definition.
    #
    # @option params [required, String] :resource_definition_id
    #
    # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.delete_resource_definition({
    #     resource_definition_id: "__string", # required
    #   })
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteResourceDefinition AWS API Documentation
    #
    # @overload delete_resource_definition(params = {})
    # @param [Hash] params ({})
    def delete_resource_definition(params = {}, options = {})
      req = build_request(:delete_resource_definition, params)
      req.send_request(options)
    end

    # Deletes a subscription definition.
    #
    # @option params [required, String] :subscription_definition_id
    #
    # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.delete_subscription_definition({
    #     subscription_definition_id: "__string", # required
    #   })
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteSubscriptionDefinition AWS API Documentation
    #
    # @overload delete_subscription_definition(params = {})
    # @param [Hash] params ({})
    def delete_subscription_definition(params = {}, options = {})
      req = build_request(:delete_subscription_definition, params)
      req.send_request(options)
    end

    # Disassociates the role from a group.
    #
    # @option params [required, String] :group_id
    #
    # @return [Types::DisassociateRoleFromGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::DisassociateRoleFromGroupResponse#disassociated_at #disassociated_at} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.disassociate_role_from_group({
    #     group_id: "__string", # required
    #   })
    #
    # @example Response structure
    #
    #   resp.disassociated_at #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DisassociateRoleFromGroup AWS API Documentation
    #
    # @overload disassociate_role_from_group(params = {})
    # @param [Hash] params ({})
    def disassociate_role_from_group(params = {}, options = {})
      req = build_request(:disassociate_role_from_group, params)
      req.send_request(options)
    end

    # Disassociates the service role from your account. Without a service
    # role, deployments will not work.
    #
    # @return [Types::DisassociateServiceRoleFromAccountResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::DisassociateServiceRoleFromAccountResponse#disassociated_at #disassociated_at} => String
    #
    # @example Response structure
    #
    #   resp.disassociated_at #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DisassociateServiceRoleFromAccount AWS API Documentation
    #
    # @overload disassociate_service_role_from_account(params = {})
    # @param [Hash] params ({})
    def disassociate_service_role_from_account(params = {}, options = {})
      req = build_request(:disassociate_service_role_from_account, params)
      req.send_request(options)
    end

    # Retrieves the role associated with a particular group.
    #
    # @option params [required, String] :group_id
    #
    # @return [Types::GetAssociatedRoleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::GetAssociatedRoleResponse#associated_at #associated_at} => String
    #   * {Types::GetAssociatedRoleResponse#role_arn #role_arn} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.get_associated_role({
    #     group_id: "__string", # required
    #   })
    #
    # @example Response structure
    #
    #   resp.associated_at #=> String
    #   resp.role_arn #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetAssociatedRole AWS API Documentation
    #
    # @overload get_associated_role(params = {})
    # @param [Hash] params ({})
    def get_associated_role(params = {}, options = {})
      req = build_request(:get_associated_role, params)
      req.send_request(options)
    end

    # Returns the status of a bulk deployment.
    #
    # @option params [required, String] :bulk_deployment_id
    #
    # @return [Types::GetBulkDeploymentStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::GetBulkDeploymentStatusResponse#bulk_deployment_metrics #bulk_deployment_metrics} => Types::BulkDeploymentMetrics
    #   * {Types::GetBulkDeploymentStatusResponse#bulk_deployment_status #bulk_deployment_status} => String
    #   * {Types::GetBulkDeploymentStatusResponse#created_at #created_at} => String
    #   * {Types::GetBulkDeploymentStatusResponse#error_details #error_details} => Array&lt;Types::ErrorDetail&gt;
    #   * {Types::GetBulkDeploymentStatusResponse#error_message #error_message} => String
    #   * {Types::GetBulkDeploymentStatusResponse#tags #tags} => Hash&lt;String,String&gt;
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.get_bulk_deployment_status({
    #     bulk_deployment_id: "__string", # required
    #   })
    #
    # @example Response structure
    #
    #   resp.bulk_deployment_metrics.invalid_input_records #=> Integer
    #   resp.bulk_deployment_metrics.records_processed #=> Integer
    #   resp.bulk_deployment_metrics.retry_attempts #=> Integer
    #   resp.bulk_deployment_status #=> String, one of "Initializing", "Running", "Completed", "Stopping", "Stopped", "Failed"
    #   resp.created_at #=> String
    #   resp.error_details #=> Array
    #   resp.error_details[0].detailed_error_code #=> String
    #   resp.error_details[0].detailed_error_message #=> String
    #   resp.error_message #=> String
    #   resp.tags #=> Hash
    #   resp.tags["__string"] #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetBulkDeploymentStatus AWS API Documentation
    #
    # @overload get_bulk_deployment_status(params = {})
    # @param [Hash] params ({})
    def get_bulk_deployment_status(params = {}, options = {})
      req = build_request(:get_bulk_deployment_status, params)
      req.send_request(options)
    end

    # Retrieves the connectivity information for a core.
    #
    # @option params [required, String] :thing_name
    #
    # @return [Types::GetConnectivityInfoResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::GetConnectivityInfoResponse#connectivity_info #connectivity_info} => Array&lt;Types::ConnectivityInfo&gt;
    #   * {Types::GetConnectivityInfoResponse#message #message} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.get_connectivity_info({
    #     thing_name: "__string", # required
    #   })
    #
    # @example Response structure
    #
    #   resp.connectivity_info #=> Array
    #   resp.connectivity_info[0].host_address #=> String
    #   resp.connectivity_info[0].id #=> String
    #   resp.connectivity_info[0].metadata #=> String
    #   resp.connectivity_info[0].port_number #=> Integer
    #   resp.message #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetConnectivityInfo AWS API Documentation
    #
    # @overload get_connectivity_info(params = {})
    # @param [Hash] params ({})
    def get_connectivity_info(params = {}, options = {})
      req = build_request(:get_connectivity_info, params)
      req.send_request(options)
    end

    # Retrieves information about a connector definition.
    #
    # @option params [required, String] :connector_definition_id
    #
    # @return [Types::GetConnectorDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::GetConnectorDefinitionResponse#arn #arn} => String
    #   * {Types::GetConnectorDefinitionResponse#creation_timestamp #creation_timestamp} => String
    #   * {Types::GetConnectorDefinitionResponse#id #id} => String
    #   * {Types::GetConnectorDefinitionResponse#last_updated_timestamp #last_updated_timestamp} => String
    #   * {Types::GetConnectorDefinitionResponse#latest_version #latest_version} => String
    #   * {Types::GetConnectorDefinitionResponse#latest_version_arn #latest_version_arn} => String
    #   * {Types::GetConnectorDefinitionResponse#name #name} => String
    #   * {Types::GetConnectorDefinitionResponse#tags #tags} => Hash&lt;String,String&gt;
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.get_connector_definition({
    #     connector_definition_id: "__string", # required
    #   })
    #
    # @example Response structure
    #
    #   resp.arn #=> String
    #   resp.creation_timestamp #=> String
    #   resp.id #=> String
    #   resp.last_updated_timestamp #=> String
    #   resp.latest_version #=> String
    #   resp.latest_version_arn #=> String
    #   resp.name #=> String
    #   resp.tags #=> Hash
    #   resp.tags["__string"] #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetConnectorDefinition AWS API Documentation
    #
    # @overload get_connector_definition(params = {})
    # @param [Hash] params ({})
    def get_connector_definition(params = {}, options = {})
      req = build_request(:get_connector_definition, params)
      req.send_request(options)
    end

    # Retrieves information about a connector definition version, including
    # the connectors that the version contains. Connectors are prebuilt
    # modules that interact with local infrastructure, device protocols,
    # AWS, and other cloud services.
    #
    # @option params [required, String] :connector_definition_id
    #
    # @option params [required, String] :connector_definition_version_id
    #
    # @option params [String] :next_token
    #
    # @return [Types::GetConnectorDefinitionVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::GetConnectorDefinitionVersionResponse#arn #arn} => String
    #   * {Types::GetConnectorDefinitionVersionResponse#creation_timestamp #creation_timestamp} => String
    #   * {Types::GetConnectorDefinitionVersionResponse#definition #definition} => Types::ConnectorDefinitionVersion
    #   * {Types::GetConnectorDefinitionVersionResponse#id #id} => String
    #   * {Types::GetConnectorDefinitionVersionResponse#next_token #next_token} => String
    #   * {Types::GetConnectorDefinitionVersionResponse#version #version} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.get_connector_definition_version({
    #     connector_definition_id: "__string", # required
    #     connector_definition_version_id: "__string", # required
    #     next_token: "__string",
    #   })
    #
    # @example Response structure
    #
    #   resp.arn #=> String
    #   resp.creation_timestamp #=> String
    #   resp.definition.connectors #=> Array
    #   resp.definition.connectors[0].connector_arn #=> String
    #   resp.definition.connectors[0].id #=> String
    #   resp.definition.connectors[0].parameters #=> Hash
    #   resp.definition.connectors[0].parameters["__string"] #=> String
    #   resp.id #=> String
    #   resp.next_token #=> String
    #   resp.version #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetConnectorDefinitionVersion AWS API Documentation
    #
    # @overload get_connector_definition_version(params = {})
    # @param [Hash] params ({})
    def get_connector_definition_version(params = {}, options = {})
      req = build_request(:get_connector_definition_version, params)
      req.send_request(options)
    end

    # Retrieves information about a core definition version.
    #
    # @option params [required, String] :core_definition_id
    #
    # @return [Types::GetCoreDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::GetCoreDefinitionResponse#arn #arn} => String
    #   * {Types::GetCoreDefinitionResponse#creation_timestamp #creation_timestamp} => String
    #   * {Types::GetCoreDefinitionResponse#id #id} => String
    #   * {Types::GetCoreDefinitionResponse#last_updated_timestamp #last_updated_timestamp} => String
    #   * {Types::GetCoreDefinitionResponse#latest_version #latest_version} => String
    #   * {Types::GetCoreDefinitionResponse#latest_version_arn #latest_version_arn} => String
    #   * {Types::GetCoreDefinitionResponse#name #name} => String
    #   * {Types::GetCoreDefinitionResponse#tags #tags} => Hash&lt;String,String&gt;
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.get_core_definition({
    #     core_definition_id: "__string", # required
    #   })
    #
    # @example Response structure
    #
    #   resp.arn #=> String
    #   resp.creation_timestamp #=> String
    #   resp.id #=> String
    #   resp.last_updated_timestamp #=> String
    #   resp.latest_version #=> String
    #   resp.latest_version_arn #=> String
    #   resp.name #=> String
    #   resp.tags #=> Hash
    #   resp.tags["__string"] #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetCoreDefinition AWS API Documentation
    #
    # @overload get_core_definition(params = {})
    # @param [Hash] params ({})
    def get_core_definition(params = {}, options = {})
      req = build_request(:get_core_definition, params)
      req.send_request(options)
    end

    # Retrieves information about a core definition version.
    #
    # @option params [required, String] :core_definition_id
    #
    # @option params [required, String] :core_definition_version_id
    #
    # @return [Types::GetCoreDefinitionVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::GetCoreDefinitionVersionResponse#arn #arn} => String
    #   * {Types::GetCoreDefinitionVersionResponse#creation_timestamp #creation_timestamp} => String
    #   * {Types::GetCoreDefinitionVersionResponse#definition #definition} => Types::CoreDefinitionVersion
    #   * {Types::GetCoreDefinitionVersionResponse#id #id} => String
    #   * {Types::GetCoreDefinitionVersionResponse#next_token #next_token} => String
    #   * {Types::GetCoreDefinitionVersionResponse#version #version} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.get_core_definition_version({
    #     core_definition_id: "__string", # required
    #     core_definition_version_id: "__string", # required
    #   })
    #
    # @example Response structure
    #
    #   resp.arn #=> String
    #   resp.creation_timestamp #=> String
    #   resp.definition.cores #=> Array
    #   resp.definition.cores[0].certificate_arn #=> String
    #   resp.definition.cores[0].id #=> String
    #   resp.definition.cores[0].sync_shadow #=> Boolean
    #   resp.definition.cores[0].thing_arn #=> String
    #   resp.id #=> String
    #   resp.next_token #=> String
    #   resp.version #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetCoreDefinitionVersion AWS API Documentation
    #
    # @overload get_core_definition_version(params = {})
    # @param [Hash] params ({})
    def get_core_definition_version(params = {}, options = {})
      req = build_request(:get_core_definition_version, params)
      req.send_request(options)
    end

    # Returns the status of a deployment.
    #
    # @option params [required, String] :deployment_id
    #
    # @option params [required, String] :group_id
    #
    # @return [Types::GetDeploymentStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::GetDeploymentStatusResponse#deployment_status #deployment_status} => String
    #   * {Types::GetDeploymentStatusResponse#deployment_type #deployment_type} => String
    #   * {Types::GetDeploymentStatusResponse#error_details #error_details} => Array&lt;Types::ErrorDetail&gt;
    #   * {Types::GetDeploymentStatusResponse#error_message #error_message} => String
    #   * {Types::GetDeploymentStatusResponse#updated_at #updated_at} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.get_deployment_status({
    #     deployment_id: "__string", # required
    #     group_id: "__string", # required
    #   })
    #
    # @example Response structure
    #
    #   resp.deployment_status #=> String
    #   resp.deployment_type #=> String, one of "NewDeployment", "Redeployment", "ResetDeployment", "ForceResetDeployment"
    #   resp.error_details #=> Array
    #   resp.error_details[0].detailed_error_code #=> String
    #   resp.error_details[0].detailed_error_message #=> String
    #   resp.error_message #=> String
    #   resp.updated_at #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetDeploymentStatus AWS API Documentation
    #
    # @overload get_deployment_status(params = {})
    # @param [Hash] params ({})
    def get_deployment_status(params = {}, options = {})
      req = build_request(:get_deployment_status, params)
      req.send_request(options)
    end

    # Retrieves information about a device definition.
    #
    # @option params [required, String] :device_definition_id
    #
    # @return [Types::GetDeviceDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::GetDeviceDefinitionResponse#arn #arn} => String
    #   * {Types::GetDeviceDefinitionResponse#creation_timestamp #creation_timestamp} => String
    #   * {Types::GetDeviceDefinitionResponse#id #id} => String
    #   * {Types::GetDeviceDefinitionResponse#last_updated_timestamp #last_updated_timestamp} => String
    #   * {Types::GetDeviceDefinitionResponse#latest_version #latest_version} => String
    #   * {Types::GetDeviceDefinitionResponse#latest_version_arn #latest_version_arn} => String
    #   * {Types::GetDeviceDefinitionResponse#name #name} => String
    #   * {Types::GetDeviceDefinitionResponse#tags #tags} => Hash&lt;String,String&gt;
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.get_device_definition({
    #     device_definition_id: "__string", # required
    #   })
    #
    # @example Response structure
    #
    #   resp.arn #=> String
    #   resp.creation_timestamp #=> String
    #   resp.id #=> String
    #   resp.last_updated_timestamp #=> String
    #   resp.latest_version #=> String
    #   resp.latest_version_arn #=> String
    #   resp.name #=> String
    #   resp.tags #=> Hash
    #   resp.tags["__string"] #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetDeviceDefinition AWS API Documentation
    #
    # @overload get_device_definition(params = {})
    # @param [Hash] params ({})
    def get_device_definition(params = {}, options = {})
      req = build_request(:get_device_definition, params)
      req.send_request(options)
    end

    # Retrieves information about a device definition version.
    #
    # @option params [required, String] :device_definition_id
    #
    # @option params [required, String] :device_definition_version_id
    #
    # @option params [String] :next_token
    #
    # @return [Types::GetDeviceDefinitionVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::GetDeviceDefinitionVersionResponse#arn #arn} => String
    #   * {Types::GetDeviceDefinitionVersionResponse#creation_timestamp #creation_timestamp} => String
    #   * {Types::GetDeviceDefinitionVersionResponse#definition #definition} => Types::DeviceDefinitionVersion
    #   * {Types::GetDeviceDefinitionVersionResponse#id #id} => String
    #   * {Types::GetDeviceDefinitionVersionResponse#next_token #next_token} => String
    #   * {Types::GetDeviceDefinitionVersionResponse#version #version} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.get_device_definition_version({
    #     device_definition_id: "__string", # required
    #     device_definition_version_id: "__string", # required
    #     next_token: "__string",
    #   })
    #
    # @example Response structure
    #
    #   resp.arn #=> String
    #   resp.creation_timestamp #=> String
    #   resp.definition.devices #=> Array
    #   resp.definition.devices[0].certificate_arn #=> String
    #   resp.definition.devices[0].id #=> String
    #   resp.definition.devices[0].sync_shadow #=> Boolean
    #   resp.definition.devices[0].thing_arn #=> String
    #   resp.id #=> String
    #   resp.next_token #=> String
    #   resp.version #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetDeviceDefinitionVersion AWS API Documentation
    #
    # @overload get_device_definition_version(params = {})
    # @param [Hash] params ({})
    def get_device_definition_version(params = {}, options = {})
      req = build_request(:get_device_definition_version, params)
      req.send_request(options)
    end

    # Retrieves information about a Lambda function definition, including
    # its creation time and latest version.
    #
    # @option params [required, String] :function_definition_id
    #
    # @return [Types::GetFunctionDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::GetFunctionDefinitionResponse#arn #arn} => String
    #   * {Types::GetFunctionDefinitionResponse#creation_timestamp #creation_timestamp} => String
    #   * {Types::GetFunctionDefinitionResponse#id #id} => String
    #   * {Types::GetFunctionDefinitionResponse#last_updated_timestamp #last_updated_timestamp} => String
    #   * {Types::GetFunctionDefinitionResponse#latest_version #latest_version} => String
    #   * {Types::GetFunctionDefinitionResponse#latest_version_arn #latest_version_arn} => String
    #   * {Types::GetFunctionDefinitionResponse#name #name} => String
    #   * {Types::GetFunctionDefinitionResponse#tags #tags} => Hash&lt;String,String&gt;
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.get_function_definition({
    #     function_definition_id: "__string", # required
    #   })
    #
    # @example Response structure
    #
    #   resp.arn #=> String
    #   resp.creation_timestamp #=> String
    #   resp.id #=> String
    #   resp.last_updated_timestamp #=> String
    #   resp.latest_version #=> String
    #   resp.latest_version_arn #=> String
    #   resp.name #=> String
    #   resp.tags #=> Hash
    #   resp.tags["__string"] #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetFunctionDefinition AWS API Documentation
    #
    # @overload get_function_definition(params = {})
    # @param [Hash] params ({})
    def get_function_definition(params = {}, options = {})
      req = build_request(:get_function_definition, params)
      req.send_request(options)
    end

    # Retrieves information about a Lambda function definition version,
    # including which Lambda functions are included in the version and their
    # configurations.
    #
    # @option params [required, String] :function_definition_id
    #
    # @option params [required, String] :function_definition_version_id
    #
    # @option params [String] :next_token
    #
    # @return [Types::GetFunctionDefinitionVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::GetFunctionDefinitionVersionResponse#arn #arn} => String
    #   * {Types::GetFunctionDefinitionVersionResponse#creation_timestamp #creation_timestamp} => String
    #   * {Types::GetFunctionDefinitionVersionResponse#definition #definition} => Types::FunctionDefinitionVersion
    #   * {Types::GetFunctionDefinitionVersionResponse#id #id} => String
    #   * {Types::GetFunctionDefinitionVersionResponse#next_token #next_token} => String
    #   * {Types::GetFunctionDefinitionVersionResponse#version #version} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.get_function_definition_version({
    #     function_definition_id: "__string", # required
    #     function_definition_version_id: "__string", # required
    #     next_token: "__string",
    #   })
    #
    # @example Response structure
    #
    #   resp.arn #=> String
    #   resp.creation_timestamp #=> String
    #   resp.definition.default_config.execution.isolation_mode #=> String, one of "GreengrassContainer", "NoContainer"
    #   resp.definition.default_config.execution.run_as.gid #=> Integer
    #   resp.definition.default_config.execution.run_as.uid #=> Integer
    #   resp.definition.functions #=> Array
    #   resp.definition.functions[0].function_arn #=> String
    #   resp.definition.functions[0].function_configuration.encoding_type #=> String, one of "binary", "json"
    #   resp.definition.functions[0].function_configuration.environment.access_sysfs #=> Boolean
    #   resp.definition.functions[0].function_configuration.environment.execution.isolation_mode #=> String, one of "GreengrassContainer", "NoContainer"
    #   resp.definition.functions[0].function_configuration.environment.execution.run_as.gid #=> Integer
    #   resp.definition.functions[0].function_configuration.environment.execution.run_as.uid #=> Integer
    #   resp.definition.functions[0].function_configuration.environment.resource_access_policies #=> Array
    #   resp.definition.functions[0].function_configuration.environment.resource_access_policies[0].permission #=> String, one of "ro", "rw"
    #   resp.definition.functions[0].function_configuration.environment.resource_access_policies[0].resource_id #=> String
    #   resp.definition.functions[0].function_configuration.environment.variables #=> Hash
    #   resp.definition.functions[0].function_configuration.environment.variables["__string"] #=> String
    #   resp.definition.functions[0].function_configuration.exec_args #=> String
    #   resp.definition.functions[0].function_configuration.executable #=> String
    #   resp.definition.functions[0].function_configuration.memory_size #=> Integer
    #   resp.definition.functions[0].function_configuration.pinned #=> Boolean
    #   resp.definition.functions[0].function_configuration.timeout #=> Integer
    #   resp.definition.functions[0].function_configuration.function_runtime_override #=> String
    #   resp.definition.functions[0].id #=> String
    #   resp.id #=> String
    #   resp.next_token #=> String
    #   resp.version #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetFunctionDefinitionVersion AWS API Documentation
    #
    # @overload get_function_definition_version(params = {})
    # @param [Hash] params ({})
    def get_function_definition_version(params = {}, options = {})
      req = build_request(:get_function_definition_version, params)
      req.send_request(options)
    end

    # Retrieves information about a group.
    #
    # @option params [required, String] :group_id
    #
    # @return [Types::GetGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::GetGroupResponse#arn #arn} => String
    #   * {Types::GetGroupResponse#creation_timestamp #creation_timestamp} => String
    #   * {Types::GetGroupResponse#id #id} => String
    #   * {Types::GetGroupResponse#last_updated_timestamp #last_updated_timestamp} => String
    #   * {Types::GetGroupResponse#latest_version #latest_version} => String
    #   * {Types::GetGroupResponse#latest_version_arn #latest_version_arn} => String
    #   * {Types::GetGroupResponse#name #name} => String
    #   * {Types::GetGroupResponse#tags #tags} => Hash&lt;String,String&gt;
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.get_group({
    #     group_id: "__string", # required
    #   })
    #
    # @example Response structure
    #
    #   resp.arn #=> String
    #   resp.creation_timestamp #=> String
    #   resp.id #=> String
    #   resp.last_updated_timestamp #=> String
    #   resp.latest_version #=> String
    #   resp.latest_version_arn #=> String
    #   resp.name #=> String
    #   resp.tags #=> Hash
    #   resp.tags["__string"] #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetGroup AWS API Documentation
    #
    # @overload get_group(params = {})
    # @param [Hash] params ({})
    def get_group(params = {}, options = {})
      req = build_request(:get_group, params)
      req.send_request(options)
    end

    # Retreives the CA associated with a group. Returns the public key of
    # the CA.
    #
    # @option params [required, String] :certificate_authority_id
    #
    # @option params [required, String] :group_id
    #
    # @return [Types::GetGroupCertificateAuthorityResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::GetGroupCertificateAuthorityResponse#group_certificate_authority_arn #group_certificate_authority_arn} => String
    #   * {Types::GetGroupCertificateAuthorityResponse#group_certificate_authority_id #group_certificate_authority_id} => String
    #   * {Types::GetGroupCertificateAuthorityResponse#pem_encoded_certificate #pem_encoded_certificate} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.get_group_certificate_authority({
    #     certificate_authority_id: "__string", # required
    #     group_id: "__string", # required
    #   })
    #
    # @example Response structure
    #
    #   resp.group_certificate_authority_arn #=> String
    #   resp.group_certificate_authority_id #=> String
    #   resp.pem_encoded_certificate #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetGroupCertificateAuthority AWS API Documentation
    #
    # @overload get_group_certificate_authority(params = {})
    # @param [Hash] params ({})
    def get_group_certificate_authority(params = {}, options = {})
      req = build_request(:get_group_certificate_authority, params)
      req.send_request(options)
    end

    # Retrieves the current configuration for the CA used by the group.
    #
    # @option params [required, String] :group_id
    #
    # @return [Types::GetGroupCertificateConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::GetGroupCertificateConfigurationResponse#certificate_authority_expiry_in_milliseconds #certificate_authority_expiry_in_milliseconds} => String
    #   * {Types::GetGroupCertificateConfigurationResponse#certificate_expiry_in_milliseconds #certificate_expiry_in_milliseconds} => String
    #   * {Types::GetGroupCertificateConfigurationResponse#group_id #group_id} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.get_group_certificate_configuration({
    #     group_id: "__string", # required
    #   })
    #
    # @example Response structure
    #
    #   resp.certificate_authority_expiry_in_milliseconds #=> String
    #   resp.certificate_expiry_in_milliseconds #=> String
    #   resp.group_id #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetGroupCertificateConfiguration AWS API Documentation
    #
    # @overload get_group_certificate_configuration(params = {})
    # @param [Hash] params ({})
    def get_group_certificate_configuration(params = {}, options = {})
      req = build_request(:get_group_certificate_configuration, params)
      req.send_request(options)
    end

    # Retrieves information about a group version.
    #
    # @option params [required, String] :group_id
    #
    # @option params [required, String] :group_version_id
    #
    # @return [Types::GetGroupVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::GetGroupVersionResponse#arn #arn} => String
    #   * {Types::GetGroupVersionResponse#creation_timestamp #creation_timestamp} => String
    #   * {Types::GetGroupVersionResponse#definition #definition} => Types::GroupVersion
    #   * {Types::GetGroupVersionResponse#id #id} => String
    #   * {Types::GetGroupVersionResponse#version #version} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.get_group_version({
    #     group_id: "__string", # required
    #     group_version_id: "__string", # required
    #   })
    #
    # @example Response structure
    #
    #   resp.arn #=> String
    #   resp.creation_timestamp #=> String
    #   resp.definition.connector_definition_version_arn #=> String
    #   resp.definition.core_definition_version_arn #=> String
    #   resp.definition.device_definition_version_arn #=> String
    #   resp.definition.function_definition_version_arn #=> String
    #   resp.definition.logger_definition_version_arn #=> String
    #   resp.definition.resource_definition_version_arn #=> String
    #   resp.definition.subscription_definition_version_arn #=> String
    #   resp.id #=> String
    #   resp.version #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetGroupVersion AWS API Documentation
    #
    # @overload get_group_version(params = {})
    # @param [Hash] params ({})
    def get_group_version(params = {}, options = {})
      req = build_request(:get_group_version, params)
      req.send_request(options)
    end

    # Retrieves information about a logger definition.
    #
    # @option params [required, String] :logger_definition_id
    #
    # @return [Types::GetLoggerDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::GetLoggerDefinitionResponse#arn #arn} => String
    #   * {Types::GetLoggerDefinitionResponse#creation_timestamp #creation_timestamp} => String
    #   * {Types::GetLoggerDefinitionResponse#id #id} => String
    #   * {Types::GetLoggerDefinitionResponse#last_updated_timestamp #last_updated_timestamp} => String
    #   * {Types::GetLoggerDefinitionResponse#latest_version #latest_version} => String
    #   * {Types::GetLoggerDefinitionResponse#latest_version_arn #latest_version_arn} => String
    #   * {Types::GetLoggerDefinitionResponse#name #name} => String
    #   * {Types::GetLoggerDefinitionResponse#tags #tags} => Hash&lt;String,String&gt;
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.get_logger_definition({
    #     logger_definition_id: "__string", # required
    #   })
    #
    # @example Response structure
    #
    #   resp.arn #=> String
    #   resp.creation_timestamp #=> String
    #   resp.id #=> String
    #   resp.last_updated_timestamp #=> String
    #   resp.latest_version #=> String
    #   resp.latest_version_arn #=> String
    #   resp.name #=> String
    #   resp.tags #=> Hash
    #   resp.tags["__string"] #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetLoggerDefinition AWS API Documentation
    #
    # @overload get_logger_definition(params = {})
    # @param [Hash] params ({})
    def get_logger_definition(params = {}, options = {})
      req = build_request(:get_logger_definition, params)
      req.send_request(options)
    end

    # Retrieves information about a logger definition version.
    #
    # @option params [required, String] :logger_definition_id
    #
    # @option params [required, String] :logger_definition_version_id
    #
    # @option params [String] :next_token
    #
    # @return [Types::GetLoggerDefinitionVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::GetLoggerDefinitionVersionResponse#arn #arn} => String
    #   * {Types::GetLoggerDefinitionVersionResponse#creation_timestamp #creation_timestamp} => String
    #   * {Types::GetLoggerDefinitionVersionResponse#definition #definition} => Types::LoggerDefinitionVersion
    #   * {Types::GetLoggerDefinitionVersionResponse#id #id} => String
    #   * {Types::GetLoggerDefinitionVersionResponse#version #version} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.get_logger_definition_version({
    #     logger_definition_id: "__string", # required
    #     logger_definition_version_id: "__string", # required
    #     next_token: "__string",
    #   })
    #
    # @example Response structure
    #
    #   resp.arn #=> String
    #   resp.creation_timestamp #=> String
    #   resp.definition.loggers #=> Array
    #   resp.definition.loggers[0].component #=> String, one of "GreengrassSystem", "Lambda"
    #   resp.definition.loggers[0].id #=> String
    #   resp.definition.loggers[0].level #=> String, one of "DEBUG", "INFO", "WARN", "ERROR", "FATAL"
    #   resp.definition.loggers[0].space #=> Integer
    #   resp.definition.loggers[0].type #=> String, one of "FileSystem", "AWSCloudWatch"
    #   resp.id #=> String
    #   resp.version #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetLoggerDefinitionVersion AWS API Documentation
    #
    # @overload get_logger_definition_version(params = {})
    # @param [Hash] params ({})
    def get_logger_definition_version(params = {}, options = {})
      req = build_request(:get_logger_definition_version, params)
      req.send_request(options)
    end

    # Retrieves information about a resource definition, including its
    # creation time and latest version.
    #
    # @option params [required, String] :resource_definition_id
    #
    # @return [Types::GetResourceDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::GetResourceDefinitionResponse#arn #arn} => String
    #   * {Types::GetResourceDefinitionResponse#creation_timestamp #creation_timestamp} => String
    #   * {Types::GetResourceDefinitionResponse#id #id} => String
    #   * {Types::GetResourceDefinitionResponse#last_updated_timestamp #last_updated_timestamp} => String
    #   * {Types::GetResourceDefinitionResponse#latest_version #latest_version} => String
    #   * {Types::GetResourceDefinitionResponse#latest_version_arn #latest_version_arn} => String
    #   * {Types::GetResourceDefinitionResponse#name #name} => String
    #   * {Types::GetResourceDefinitionResponse#tags #tags} => Hash&lt;String,String&gt;
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.get_resource_definition({
    #     resource_definition_id: "__string", # required
    #   })
    #
    # @example Response structure
    #
    #   resp.arn #=> String
    #   resp.creation_timestamp #=> String
    #   resp.id #=> String
    #   resp.last_updated_timestamp #=> String
    #   resp.latest_version #=> String
    #   resp.latest_version_arn #=> String
    #   resp.name #=> String
    #   resp.tags #=> Hash
    #   resp.tags["__string"] #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetResourceDefinition AWS API Documentation
    #
    # @overload get_resource_definition(params = {})
    # @param [Hash] params ({})
    def get_resource_definition(params = {}, options = {})
      req = build_request(:get_resource_definition, params)
      req.send_request(options)
    end

    # Retrieves information about a resource definition version, including
    # which resources are included in the version.
    #
    # @option params [required, String] :resource_definition_id
    #
    # @option params [required, String] :resource_definition_version_id
    #
    # @return [Types::GetResourceDefinitionVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::GetResourceDefinitionVersionResponse#arn #arn} => String
    #   * {Types::GetResourceDefinitionVersionResponse#creation_timestamp #creation_timestamp} => String
    #   * {Types::GetResourceDefinitionVersionResponse#definition #definition} => Types::ResourceDefinitionVersion
    #   * {Types::GetResourceDefinitionVersionResponse#id #id} => String
    #   * {Types::GetResourceDefinitionVersionResponse#version #version} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.get_resource_definition_version({
    #     resource_definition_id: "__string", # required
    #     resource_definition_version_id: "__string", # required
    #   })
    #
    # @example Response structure
    #
    #   resp.arn #=> String
    #   resp.creation_timestamp #=> String
    #   resp.definition.resources #=> Array
    #   resp.definition.resources[0].id #=> String
    #   resp.definition.resources[0].name #=> String
    #   resp.definition.resources[0].resource_data_container.local_device_resource_data.group_owner_setting.auto_add_group_owner #=> Boolean
    #   resp.definition.resources[0].resource_data_container.local_device_resource_data.group_owner_setting.group_owner #=> String
    #   resp.definition.resources[0].resource_data_container.local_device_resource_data.source_path #=> String
    #   resp.definition.resources[0].resource_data_container.local_volume_resource_data.destination_path #=> String
    #   resp.definition.resources[0].resource_data_container.local_volume_resource_data.group_owner_setting.auto_add_group_owner #=> Boolean
    #   resp.definition.resources[0].resource_data_container.local_volume_resource_data.group_owner_setting.group_owner #=> String
    #   resp.definition.resources[0].resource_data_container.local_volume_resource_data.source_path #=> String
    #   resp.definition.resources[0].resource_data_container.s3_machine_learning_model_resource_data.destination_path #=> String
    #   resp.definition.resources[0].resource_data_container.s3_machine_learning_model_resource_data.owner_setting.group_owner #=> String
    #   resp.definition.resources[0].resource_data_container.s3_machine_learning_model_resource_data.owner_setting.group_permission #=> String, one of "ro", "rw"
    #   resp.definition.resources[0].resource_data_container.s3_machine_learning_model_resource_data.s3_uri #=> String
    #   resp.definition.resources[0].resource_data_container.sage_maker_machine_learning_model_resource_data.destination_path #=> String
    #   resp.definition.resources[0].resource_data_container.sage_maker_machine_learning_model_resource_data.owner_setting.group_owner #=> String
    #   resp.definition.resources[0].resource_data_container.sage_maker_machine_learning_model_resource_data.owner_setting.group_permission #=> String, one of "ro", "rw"
    #   resp.definition.resources[0].resource_data_container.sage_maker_machine_learning_model_resource_data.sage_maker_job_arn #=> String
    #   resp.definition.resources[0].resource_data_container.secrets_manager_secret_resource_data.arn #=> String
    #   resp.definition.resources[0].resource_data_container.secrets_manager_secret_resource_data.additional_staging_labels_to_download #=> Array
    #   resp.definition.resources[0].resource_data_container.secrets_manager_secret_resource_data.additional_staging_labels_to_download[0] #=> String
    #   resp.id #=> String
    #   resp.version #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetResourceDefinitionVersion AWS API Documentation
    #
    # @overload get_resource_definition_version(params = {})
    # @param [Hash] params ({})
    def get_resource_definition_version(params = {}, options = {})
      req = build_request(:get_resource_definition_version, params)
      req.send_request(options)
    end

    # Retrieves the service role that is attached to your account.
    #
    # @return [Types::GetServiceRoleForAccountResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::GetServiceRoleForAccountResponse#associated_at #associated_at} => String
    #   * {Types::GetServiceRoleForAccountResponse#role_arn #role_arn} => String
    #
    # @example Response structure
    #
    #   resp.associated_at #=> String
    #   resp.role_arn #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetServiceRoleForAccount AWS API Documentation
    #
    # @overload get_service_role_for_account(params = {})
    # @param [Hash] params ({})
    def get_service_role_for_account(params = {}, options = {})
      req = build_request(:get_service_role_for_account, params)
      req.send_request(options)
    end

    # Retrieves information about a subscription definition.
    #
    # @option params [required, String] :subscription_definition_id
    #
    # @return [Types::GetSubscriptionDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::GetSubscriptionDefinitionResponse#arn #arn} => String
    #   * {Types::GetSubscriptionDefinitionResponse#creation_timestamp #creation_timestamp} => String
    #   * {Types::GetSubscriptionDefinitionResponse#id #id} => String
    #   * {Types::GetSubscriptionDefinitionResponse#last_updated_timestamp #last_updated_timestamp} => String
    #   * {Types::GetSubscriptionDefinitionResponse#latest_version #latest_version} => String
    #   * {Types::GetSubscriptionDefinitionResponse#latest_version_arn #latest_version_arn} => String
    #   * {Types::GetSubscriptionDefinitionResponse#name #name} => String
    #   * {Types::GetSubscriptionDefinitionResponse#tags #tags} => Hash&lt;String,String&gt;
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.get_subscription_definition({
    #     subscription_definition_id: "__string", # required
    #   })
    #
    # @example Response structure
    #
    #   resp.arn #=> String
    #   resp.creation_timestamp #=> String
    #   resp.id #=> String
    #   resp.last_updated_timestamp #=> String
    #   resp.latest_version #=> String
    #   resp.latest_version_arn #=> String
    #   resp.name #=> String
    #   resp.tags #=> Hash
    #   resp.tags["__string"] #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetSubscriptionDefinition AWS API Documentation
    #
    # @overload get_subscription_definition(params = {})
    # @param [Hash] params ({})
    def get_subscription_definition(params = {}, options = {})
      req = build_request(:get_subscription_definition, params)
      req.send_request(options)
    end

    # Retrieves information about a subscription definition version.
    #
    # @option params [String] :next_token
    #
    # @option params [required, String] :subscription_definition_id
    #
    # @option params [required, String] :subscription_definition_version_id
    #
    # @return [Types::GetSubscriptionDefinitionVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::GetSubscriptionDefinitionVersionResponse#arn #arn} => String
    #   * {Types::GetSubscriptionDefinitionVersionResponse#creation_timestamp #creation_timestamp} => String
    #   * {Types::GetSubscriptionDefinitionVersionResponse#definition #definition} => Types::SubscriptionDefinitionVersion
    #   * {Types::GetSubscriptionDefinitionVersionResponse#id #id} => String
    #   * {Types::GetSubscriptionDefinitionVersionResponse#next_token #next_token} => String
    #   * {Types::GetSubscriptionDefinitionVersionResponse#version #version} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.get_subscription_definition_version({
    #     next_token: "__string",
    #     subscription_definition_id: "__string", # required
    #     subscription_definition_version_id: "__string", # required
    #   })
    #
    # @example Response structure
    #
    #   resp.arn #=> String
    #   resp.creation_timestamp #=> String
    #   resp.definition.subscriptions #=> Array
    #   resp.definition.subscriptions[0].id #=> String
    #   resp.definition.subscriptions[0].source #=> String
    #   resp.definition.subscriptions[0].subject #=> String
    #   resp.definition.subscriptions[0].target #=> String
    #   resp.id #=> String
    #   resp.next_token #=> String
    #   resp.version #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetSubscriptionDefinitionVersion AWS API Documentation
    #
    # @overload get_subscription_definition_version(params = {})
    # @param [Hash] params ({})
    def get_subscription_definition_version(params = {}, options = {})
      req = build_request(:get_subscription_definition_version, params)
      req.send_request(options)
    end

    # Get the runtime configuration of a thing.
    #
    # @option params [required, String] :thing_name
    #
    # @return [Types::GetThingRuntimeConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::GetThingRuntimeConfigurationResponse#runtime_configuration #runtime_configuration} => Types::RuntimeConfiguration
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.get_thing_runtime_configuration({
    #     thing_name: "__string", # required
    #   })
    #
    # @example Response structure
    #
    #   resp.runtime_configuration.telemetry_configuration.configuration_sync_status #=> String, one of "InSync", "OutOfSync"
    #   resp.runtime_configuration.telemetry_configuration.telemetry #=> String, one of "On", "Off"
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetThingRuntimeConfiguration AWS API Documentation
    #
    # @overload get_thing_runtime_configuration(params = {})
    # @param [Hash] params ({})
    def get_thing_runtime_configuration(params = {}, options = {})
      req = build_request(:get_thing_runtime_configuration, params)
      req.send_request(options)
    end

    # Gets a paginated list of the deployments that have been started in a
    # bulk deployment operation, and their current deployment status.
    #
    # @option params [required, String] :bulk_deployment_id
    #
    # @option params [String] :max_results
    #
    # @option params [String] :next_token
    #
    # @return [Types::ListBulkDeploymentDetailedReportsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::ListBulkDeploymentDetailedReportsResponse#deployments #deployments} => Array&lt;Types::BulkDeploymentResult&gt;
    #   * {Types::ListBulkDeploymentDetailedReportsResponse#next_token #next_token} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.list_bulk_deployment_detailed_reports({
    #     bulk_deployment_id: "__string", # required
    #     max_results: "__string",
    #     next_token: "__string",
    #   })
    #
    # @example Response structure
    #
    #   resp.deployments #=> Array
    #   resp.deployments[0].created_at #=> String
    #   resp.deployments[0].deployment_arn #=> String
    #   resp.deployments[0].deployment_id #=> String
    #   resp.deployments[0].deployment_status #=> String
    #   resp.deployments[0].deployment_type #=> String, one of "NewDeployment", "Redeployment", "ResetDeployment", "ForceResetDeployment"
    #   resp.deployments[0].error_details #=> Array
    #   resp.deployments[0].error_details[0].detailed_error_code #=> String
    #   resp.deployments[0].error_details[0].detailed_error_message #=> String
    #   resp.deployments[0].error_message #=> String
    #   resp.deployments[0].group_arn #=> String
    #   resp.next_token #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListBulkDeploymentDetailedReports AWS API Documentation
    #
    # @overload list_bulk_deployment_detailed_reports(params = {})
    # @param [Hash] params ({})
    def list_bulk_deployment_detailed_reports(params = {}, options = {})
      req = build_request(:list_bulk_deployment_detailed_reports, params)
      req.send_request(options)
    end

    # Returns a list of bulk deployments.
    #
    # @option params [String] :max_results
    #
    # @option params [String] :next_token
    #
    # @return [Types::ListBulkDeploymentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::ListBulkDeploymentsResponse#bulk_deployments #bulk_deployments} => Array&lt;Types::BulkDeployment&gt;
    #   * {Types::ListBulkDeploymentsResponse#next_token #next_token} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.list_bulk_deployments({
    #     max_results: "__string",
    #     next_token: "__string",
    #   })
    #
    # @example Response structure
    #
    #   resp.bulk_deployments #=> Array
    #   resp.bulk_deployments[0].bulk_deployment_arn #=> String
    #   resp.bulk_deployments[0].bulk_deployment_id #=> String
    #   resp.bulk_deployments[0].created_at #=> String
    #   resp.next_token #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListBulkDeployments AWS API Documentation
    #
    # @overload list_bulk_deployments(params = {})
    # @param [Hash] params ({})
    def list_bulk_deployments(params = {}, options = {})
      req = build_request(:list_bulk_deployments, params)
      req.send_request(options)
    end

    # Lists the versions of a connector definition, which are containers for
    # connectors. Connectors run on the Greengrass core and contain built-in
    # integration with local infrastructure, device protocols, AWS, and
    # other cloud services.
    #
    # @option params [required, String] :connector_definition_id
    #
    # @option params [String] :max_results
    #
    # @option params [String] :next_token
    #
    # @return [Types::ListConnectorDefinitionVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::ListConnectorDefinitionVersionsResponse#next_token #next_token} => String
    #   * {Types::ListConnectorDefinitionVersionsResponse#versions #versions} => Array&lt;Types::VersionInformation&gt;
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.list_connector_definition_versions({
    #     connector_definition_id: "__string", # required
    #     max_results: "__string",
    #     next_token: "__string",
    #   })
    #
    # @example Response structure
    #
    #   resp.next_token #=> String
    #   resp.versions #=> Array
    #   resp.versions[0].arn #=> String
    #   resp.versions[0].creation_timestamp #=> String
    #   resp.versions[0].id #=> String
    #   resp.versions[0].version #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListConnectorDefinitionVersions AWS API Documentation
    #
    # @overload list_connector_definition_versions(params = {})
    # @param [Hash] params ({})
    def list_connector_definition_versions(params = {}, options = {})
      req = build_request(:list_connector_definition_versions, params)
      req.send_request(options)
    end

    # Retrieves a list of connector definitions.
    #
    # @option params [String] :max_results
    #
    # @option params [String] :next_token
    #
    # @return [Types::ListConnectorDefinitionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::ListConnectorDefinitionsResponse#definitions #definitions} => Array&lt;Types::DefinitionInformation&gt;
    #   * {Types::ListConnectorDefinitionsResponse#next_token #next_token} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.list_connector_definitions({
    #     max_results: "__string",
    #     next_token: "__string",
    #   })
    #
    # @example Response structure
    #
    #   resp.definitions #=> Array
    #   resp.definitions[0].arn #=> String
    #   resp.definitions[0].creation_timestamp #=> String
    #   resp.definitions[0].id #=> String
    #   resp.definitions[0].last_updated_timestamp #=> String
    #   resp.definitions[0].latest_version #=> String
    #   resp.definitions[0].latest_version_arn #=> String
    #   resp.definitions[0].name #=> String
    #   resp.definitions[0].tags #=> Hash
    #   resp.definitions[0].tags["__string"] #=> String
    #   resp.next_token #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListConnectorDefinitions AWS API Documentation
    #
    # @overload list_connector_definitions(params = {})
    # @param [Hash] params ({})
    def list_connector_definitions(params = {}, options = {})
      req = build_request(:list_connector_definitions, params)
      req.send_request(options)
    end

    # Lists the versions of a core definition.
    #
    # @option params [required, String] :core_definition_id
    #
    # @option params [String] :max_results
    #
    # @option params [String] :next_token
    #
    # @return [Types::ListCoreDefinitionVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::ListCoreDefinitionVersionsResponse#next_token #next_token} => String
    #   * {Types::ListCoreDefinitionVersionsResponse#versions #versions} => Array&lt;Types::VersionInformation&gt;
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.list_core_definition_versions({
    #     core_definition_id: "__string", # required
    #     max_results: "__string",
    #     next_token: "__string",
    #   })
    #
    # @example Response structure
    #
    #   resp.next_token #=> String
    #   resp.versions #=> Array
    #   resp.versions[0].arn #=> String
    #   resp.versions[0].creation_timestamp #=> String
    #   resp.versions[0].id #=> String
    #   resp.versions[0].version #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListCoreDefinitionVersions AWS API Documentation
    #
    # @overload list_core_definition_versions(params = {})
    # @param [Hash] params ({})
    def list_core_definition_versions(params = {}, options = {})
      req = build_request(:list_core_definition_versions, params)
      req.send_request(options)
    end

    # Retrieves a list of core definitions.
    #
    # @option params [String] :max_results
    #
    # @option params [String] :next_token
    #
    # @return [Types::ListCoreDefinitionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::ListCoreDefinitionsResponse#definitions #definitions} => Array&lt;Types::DefinitionInformation&gt;
    #   * {Types::ListCoreDefinitionsResponse#next_token #next_token} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.list_core_definitions({
    #     max_results: "__string",
    #     next_token: "__string",
    #   })
    #
    # @example Response structure
    #
    #   resp.definitions #=> Array
    #   resp.definitions[0].arn #=> String
    #   resp.definitions[0].creation_timestamp #=> String
    #   resp.definitions[0].id #=> String
    #   resp.definitions[0].last_updated_timestamp #=> String
    #   resp.definitions[0].latest_version #=> String
    #   resp.definitions[0].latest_version_arn #=> String
    #   resp.definitions[0].name #=> String
    #   resp.definitions[0].tags #=> Hash
    #   resp.definitions[0].tags["__string"] #=> String
    #   resp.next_token #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListCoreDefinitions AWS API Documentation
    #
    # @overload list_core_definitions(params = {})
    # @param [Hash] params ({})
    def list_core_definitions(params = {}, options = {})
      req = build_request(:list_core_definitions, params)
      req.send_request(options)
    end

    # Returns a history of deployments for the group.
    #
    # @option params [required, String] :group_id
    #
    # @option params [String] :max_results
    #
    # @option params [String] :next_token
    #
    # @return [Types::ListDeploymentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::ListDeploymentsResponse#deployments #deployments} => Array&lt;Types::Deployment&gt;
    #   * {Types::ListDeploymentsResponse#next_token #next_token} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.list_deployments({
    #     group_id: "__string", # required
    #     max_results: "__string",
    #     next_token: "__string",
    #   })
    #
    # @example Response structure
    #
    #   resp.deployments #=> Array
    #   resp.deployments[0].created_at #=> String
    #   resp.deployments[0].deployment_arn #=> String
    #   resp.deployments[0].deployment_id #=> String
    #   resp.deployments[0].deployment_type #=> String, one of "NewDeployment", "Redeployment", "ResetDeployment", "ForceResetDeployment"
    #   resp.deployments[0].group_arn #=> String
    #   resp.next_token #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListDeployments AWS API Documentation
    #
    # @overload list_deployments(params = {})
    # @param [Hash] params ({})
    def list_deployments(params = {}, options = {})
      req = build_request(:list_deployments, params)
      req.send_request(options)
    end

    # Lists the versions of a device definition.
    #
    # @option params [required, String] :device_definition_id
    #
    # @option params [String] :max_results
    #
    # @option params [String] :next_token
    #
    # @return [Types::ListDeviceDefinitionVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::ListDeviceDefinitionVersionsResponse#next_token #next_token} => String
    #   * {Types::ListDeviceDefinitionVersionsResponse#versions #versions} => Array&lt;Types::VersionInformation&gt;
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.list_device_definition_versions({
    #     device_definition_id: "__string", # required
    #     max_results: "__string",
    #     next_token: "__string",
    #   })
    #
    # @example Response structure
    #
    #   resp.next_token #=> String
    #   resp.versions #=> Array
    #   resp.versions[0].arn #=> String
    #   resp.versions[0].creation_timestamp #=> String
    #   resp.versions[0].id #=> String
    #   resp.versions[0].version #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListDeviceDefinitionVersions AWS API Documentation
    #
    # @overload list_device_definition_versions(params = {})
    # @param [Hash] params ({})
    def list_device_definition_versions(params = {}, options = {})
      req = build_request(:list_device_definition_versions, params)
      req.send_request(options)
    end

    # Retrieves a list of device definitions.
    #
    # @option params [String] :max_results
    #
    # @option params [String] :next_token
    #
    # @return [Types::ListDeviceDefinitionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::ListDeviceDefinitionsResponse#definitions #definitions} => Array&lt;Types::DefinitionInformation&gt;
    #   * {Types::ListDeviceDefinitionsResponse#next_token #next_token} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.list_device_definitions({
    #     max_results: "__string",
    #     next_token: "__string",
    #   })
    #
    # @example Response structure
    #
    #   resp.definitions #=> Array
    #   resp.definitions[0].arn #=> String
    #   resp.definitions[0].creation_timestamp #=> String
    #   resp.definitions[0].id #=> String
    #   resp.definitions[0].last_updated_timestamp #=> String
    #   resp.definitions[0].latest_version #=> String
    #   resp.definitions[0].latest_version_arn #=> String
    #   resp.definitions[0].name #=> String
    #   resp.definitions[0].tags #=> Hash
    #   resp.definitions[0].tags["__string"] #=> String
    #   resp.next_token #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListDeviceDefinitions AWS API Documentation
    #
    # @overload list_device_definitions(params = {})
    # @param [Hash] params ({})
    def list_device_definitions(params = {}, options = {})
      req = build_request(:list_device_definitions, params)
      req.send_request(options)
    end

    # Lists the versions of a Lambda function definition.
    #
    # @option params [required, String] :function_definition_id
    #
    # @option params [String] :max_results
    #
    # @option params [String] :next_token
    #
    # @return [Types::ListFunctionDefinitionVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::ListFunctionDefinitionVersionsResponse#next_token #next_token} => String
    #   * {Types::ListFunctionDefinitionVersionsResponse#versions #versions} => Array&lt;Types::VersionInformation&gt;
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.list_function_definition_versions({
    #     function_definition_id: "__string", # required
    #     max_results: "__string",
    #     next_token: "__string",
    #   })
    #
    # @example Response structure
    #
    #   resp.next_token #=> String
    #   resp.versions #=> Array
    #   resp.versions[0].arn #=> String
    #   resp.versions[0].creation_timestamp #=> String
    #   resp.versions[0].id #=> String
    #   resp.versions[0].version #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListFunctionDefinitionVersions AWS API Documentation
    #
    # @overload list_function_definition_versions(params = {})
    # @param [Hash] params ({})
    def list_function_definition_versions(params = {}, options = {})
      req = build_request(:list_function_definition_versions, params)
      req.send_request(options)
    end

    # Retrieves a list of Lambda function definitions.
    #
    # @option params [String] :max_results
    #
    # @option params [String] :next_token
    #
    # @return [Types::ListFunctionDefinitionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::ListFunctionDefinitionsResponse#definitions #definitions} => Array&lt;Types::DefinitionInformation&gt;
    #   * {Types::ListFunctionDefinitionsResponse#next_token #next_token} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.list_function_definitions({
    #     max_results: "__string",
    #     next_token: "__string",
    #   })
    #
    # @example Response structure
    #
    #   resp.definitions #=> Array
    #   resp.definitions[0].arn #=> String
    #   resp.definitions[0].creation_timestamp #=> String
    #   resp.definitions[0].id #=> String
    #   resp.definitions[0].last_updated_timestamp #=> String
    #   resp.definitions[0].latest_version #=> String
    #   resp.definitions[0].latest_version_arn #=> String
    #   resp.definitions[0].name #=> String
    #   resp.definitions[0].tags #=> Hash
    #   resp.definitions[0].tags["__string"] #=> String
    #   resp.next_token #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListFunctionDefinitions AWS API Documentation
    #
    # @overload list_function_definitions(params = {})
    # @param [Hash] params ({})
    def list_function_definitions(params = {}, options = {})
      req = build_request(:list_function_definitions, params)
      req.send_request(options)
    end

    # Retrieves the current CAs for a group.
    #
    # @option params [required, String] :group_id
    #
    # @return [Types::ListGroupCertificateAuthoritiesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::ListGroupCertificateAuthoritiesResponse#group_certificate_authorities #group_certificate_authorities} => Array&lt;Types::GroupCertificateAuthorityProperties&gt;
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.list_group_certificate_authorities({
    #     group_id: "__string", # required
    #   })
    #
    # @example Response structure
    #
    #   resp.group_certificate_authorities #=> Array
    #   resp.group_certificate_authorities[0].group_certificate_authority_arn #=> String
    #   resp.group_certificate_authorities[0].group_certificate_authority_id #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListGroupCertificateAuthorities AWS API Documentation
    #
    # @overload list_group_certificate_authorities(params = {})
    # @param [Hash] params ({})
    def list_group_certificate_authorities(params = {}, options = {})
      req = build_request(:list_group_certificate_authorities, params)
      req.send_request(options)
    end

    # Lists the versions of a group.
    #
    # @option params [required, String] :group_id
    #
    # @option params [String] :max_results
    #
    # @option params [String] :next_token
    #
    # @return [Types::ListGroupVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::ListGroupVersionsResponse#next_token #next_token} => String
    #   * {Types::ListGroupVersionsResponse#versions #versions} => Array&lt;Types::VersionInformation&gt;
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.list_group_versions({
    #     group_id: "__string", # required
    #     max_results: "__string",
    #     next_token: "__string",
    #   })
    #
    # @example Response structure
    #
    #   resp.next_token #=> String
    #   resp.versions #=> Array
    #   resp.versions[0].arn #=> String
    #   resp.versions[0].creation_timestamp #=> String
    #   resp.versions[0].id #=> String
    #   resp.versions[0].version #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListGroupVersions AWS API Documentation
    #
    # @overload list_group_versions(params = {})
    # @param [Hash] params ({})
    def list_group_versions(params = {}, options = {})
      req = build_request(:list_group_versions, params)
      req.send_request(options)
    end

    # Retrieves a list of groups.
    #
    # @option params [String] :max_results
    #
    # @option params [String] :next_token
    #
    # @return [Types::ListGroupsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::ListGroupsResponse#groups #groups} => Array&lt;Types::GroupInformation&gt;
    #   * {Types::ListGroupsResponse#next_token #next_token} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.list_groups({
    #     max_results: "__string",
    #     next_token: "__string",
    #   })
    #
    # @example Response structure
    #
    #   resp.groups #=> Array
    #   resp.groups[0].arn #=> String
    #   resp.groups[0].creation_timestamp #=> String
    #   resp.groups[0].id #=> String
    #   resp.groups[0].last_updated_timestamp #=> String
    #   resp.groups[0].latest_version #=> String
    #   resp.groups[0].latest_version_arn #=> String
    #   resp.groups[0].name #=> String
    #   resp.next_token #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListGroups AWS API Documentation
    #
    # @overload list_groups(params = {})
    # @param [Hash] params ({})
    def list_groups(params = {}, options = {})
      req = build_request(:list_groups, params)
      req.send_request(options)
    end

    # Lists the versions of a logger definition.
    #
    # @option params [required, String] :logger_definition_id
    #
    # @option params [String] :max_results
    #
    # @option params [String] :next_token
    #
    # @return [Types::ListLoggerDefinitionVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::ListLoggerDefinitionVersionsResponse#next_token #next_token} => String
    #   * {Types::ListLoggerDefinitionVersionsResponse#versions #versions} => Array&lt;Types::VersionInformation&gt;
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.list_logger_definition_versions({
    #     logger_definition_id: "__string", # required
    #     max_results: "__string",
    #     next_token: "__string",
    #   })
    #
    # @example Response structure
    #
    #   resp.next_token #=> String
    #   resp.versions #=> Array
    #   resp.versions[0].arn #=> String
    #   resp.versions[0].creation_timestamp #=> String
    #   resp.versions[0].id #=> String
    #   resp.versions[0].version #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListLoggerDefinitionVersions AWS API Documentation
    #
    # @overload list_logger_definition_versions(params = {})
    # @param [Hash] params ({})
    def list_logger_definition_versions(params = {}, options = {})
      req = build_request(:list_logger_definition_versions, params)
      req.send_request(options)
    end

    # Retrieves a list of logger definitions.
    #
    # @option params [String] :max_results
    #
    # @option params [String] :next_token
    #
    # @return [Types::ListLoggerDefinitionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::ListLoggerDefinitionsResponse#definitions #definitions} => Array&lt;Types::DefinitionInformation&gt;
    #   * {Types::ListLoggerDefinitionsResponse#next_token #next_token} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.list_logger_definitions({
    #     max_results: "__string",
    #     next_token: "__string",
    #   })
    #
    # @example Response structure
    #
    #   resp.definitions #=> Array
    #   resp.definitions[0].arn #=> String
    #   resp.definitions[0].creation_timestamp #=> String
    #   resp.definitions[0].id #=> String
    #   resp.definitions[0].last_updated_timestamp #=> String
    #   resp.definitions[0].latest_version #=> String
    #   resp.definitions[0].latest_version_arn #=> String
    #   resp.definitions[0].name #=> String
    #   resp.definitions[0].tags #=> Hash
    #   resp.definitions[0].tags["__string"] #=> String
    #   resp.next_token #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListLoggerDefinitions AWS API Documentation
    #
    # @overload list_logger_definitions(params = {})
    # @param [Hash] params ({})
    def list_logger_definitions(params = {}, options = {})
      req = build_request(:list_logger_definitions, params)
      req.send_request(options)
    end

    # Lists the versions of a resource definition.
    #
    # @option params [String] :max_results
    #
    # @option params [String] :next_token
    #
    # @option params [required, String] :resource_definition_id
    #
    # @return [Types::ListResourceDefinitionVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::ListResourceDefinitionVersionsResponse#next_token #next_token} => String
    #   * {Types::ListResourceDefinitionVersionsResponse#versions #versions} => Array&lt;Types::VersionInformation&gt;
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.list_resource_definition_versions({
    #     max_results: "__string",
    #     next_token: "__string",
    #     resource_definition_id: "__string", # required
    #   })
    #
    # @example Response structure
    #
    #   resp.next_token #=> String
    #   resp.versions #=> Array
    #   resp.versions[0].arn #=> String
    #   resp.versions[0].creation_timestamp #=> String
    #   resp.versions[0].id #=> String
    #   resp.versions[0].version #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListResourceDefinitionVersions AWS API Documentation
    #
    # @overload list_resource_definition_versions(params = {})
    # @param [Hash] params ({})
    def list_resource_definition_versions(params = {}, options = {})
      req = build_request(:list_resource_definition_versions, params)
      req.send_request(options)
    end

    # Retrieves a list of resource definitions.
    #
    # @option params [String] :max_results
    #
    # @option params [String] :next_token
    #
    # @return [Types::ListResourceDefinitionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::ListResourceDefinitionsResponse#definitions #definitions} => Array&lt;Types::DefinitionInformation&gt;
    #   * {Types::ListResourceDefinitionsResponse#next_token #next_token} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.list_resource_definitions({
    #     max_results: "__string",
    #     next_token: "__string",
    #   })
    #
    # @example Response structure
    #
    #   resp.definitions #=> Array
    #   resp.definitions[0].arn #=> String
    #   resp.definitions[0].creation_timestamp #=> String
    #   resp.definitions[0].id #=> String
    #   resp.definitions[0].last_updated_timestamp #=> String
    #   resp.definitions[0].latest_version #=> String
    #   resp.definitions[0].latest_version_arn #=> String
    #   resp.definitions[0].name #=> String
    #   resp.definitions[0].tags #=> Hash
    #   resp.definitions[0].tags["__string"] #=> String
    #   resp.next_token #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListResourceDefinitions AWS API Documentation
    #
    # @overload list_resource_definitions(params = {})
    # @param [Hash] params ({})
    def list_resource_definitions(params = {}, options = {})
      req = build_request(:list_resource_definitions, params)
      req.send_request(options)
    end

    # Lists the versions of a subscription definition.
    #
    # @option params [String] :max_results
    #
    # @option params [String] :next_token
    #
    # @option params [required, String] :subscription_definition_id
    #
    # @return [Types::ListSubscriptionDefinitionVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::ListSubscriptionDefinitionVersionsResponse#next_token #next_token} => String
    #   * {Types::ListSubscriptionDefinitionVersionsResponse#versions #versions} => Array&lt;Types::VersionInformation&gt;
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.list_subscription_definition_versions({
    #     max_results: "__string",
    #     next_token: "__string",
    #     subscription_definition_id: "__string", # required
    #   })
    #
    # @example Response structure
    #
    #   resp.next_token #=> String
    #   resp.versions #=> Array
    #   resp.versions[0].arn #=> String
    #   resp.versions[0].creation_timestamp #=> String
    #   resp.versions[0].id #=> String
    #   resp.versions[0].version #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListSubscriptionDefinitionVersions AWS API Documentation
    #
    # @overload list_subscription_definition_versions(params = {})
    # @param [Hash] params ({})
    def list_subscription_definition_versions(params = {}, options = {})
      req = build_request(:list_subscription_definition_versions, params)
      req.send_request(options)
    end

    # Retrieves a list of subscription definitions.
    #
    # @option params [String] :max_results
    #
    # @option params [String] :next_token
    #
    # @return [Types::ListSubscriptionDefinitionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::ListSubscriptionDefinitionsResponse#definitions #definitions} => Array&lt;Types::DefinitionInformation&gt;
    #   * {Types::ListSubscriptionDefinitionsResponse#next_token #next_token} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.list_subscription_definitions({
    #     max_results: "__string",
    #     next_token: "__string",
    #   })
    #
    # @example Response structure
    #
    #   resp.definitions #=> Array
    #   resp.definitions[0].arn #=> String
    #   resp.definitions[0].creation_timestamp #=> String
    #   resp.definitions[0].id #=> String
    #   resp.definitions[0].last_updated_timestamp #=> String
    #   resp.definitions[0].latest_version #=> String
    #   resp.definitions[0].latest_version_arn #=> String
    #   resp.definitions[0].name #=> String
    #   resp.definitions[0].tags #=> Hash
    #   resp.definitions[0].tags["__string"] #=> String
    #   resp.next_token #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListSubscriptionDefinitions AWS API Documentation
    #
    # @overload list_subscription_definitions(params = {})
    # @param [Hash] params ({})
    def list_subscription_definitions(params = {}, options = {})
      req = build_request(:list_subscription_definitions, params)
      req.send_request(options)
    end

    # Retrieves a list of resource tags for a resource arn.
    #
    # @option params [required, String] :resource_arn
    #
    # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::ListTagsForResourceResponse#tags #tags} => Hash&lt;String,String&gt;
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.list_tags_for_resource({
    #     resource_arn: "__string", # required
    #   })
    #
    # @example Response structure
    #
    #   resp.tags #=> Hash
    #   resp.tags["__string"] #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListTagsForResource AWS API Documentation
    #
    # @overload list_tags_for_resource(params = {})
    # @param [Hash] params ({})
    def list_tags_for_resource(params = {}, options = {})
      req = build_request(:list_tags_for_resource, params)
      req.send_request(options)
    end

    # Resets a group's deployments.
    #
    # @option params [String] :amzn_client_token
    #
    # @option params [Boolean] :force
    #   If true, performs a best-effort only core reset.
    #
    # @option params [required, String] :group_id
    #
    # @return [Types::ResetDeploymentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::ResetDeploymentsResponse#deployment_arn #deployment_arn} => String
    #   * {Types::ResetDeploymentsResponse#deployment_id #deployment_id} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.reset_deployments({
    #     amzn_client_token: "__string",
    #     force: false,
    #     group_id: "__string", # required
    #   })
    #
    # @example Response structure
    #
    #   resp.deployment_arn #=> String
    #   resp.deployment_id #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ResetDeployments AWS API Documentation
    #
    # @overload reset_deployments(params = {})
    # @param [Hash] params ({})
    def reset_deployments(params = {}, options = {})
      req = build_request(:reset_deployments, params)
      req.send_request(options)
    end

    # Deploys multiple groups in one operation. This action starts the bulk
    # deployment of a specified set of group versions. Each group version
    # deployment will be triggered with an adaptive rate that has a fixed
    # upper limit. We recommend that you include an
    # ''X-Amzn-Client-Token'' token in every ''StartBulkDeployment''
    # request. These requests are idempotent with respect to the token and
    # the request parameters.
    #
    # @option params [String] :amzn_client_token
    #
    # @option params [required, String] :execution_role_arn
    #   The ARN of the execution role to associate with the bulk deployment
    #   operation. This IAM role must allow the
    #   ''greengrass:CreateDeployment'' action for all group versions that
    #   are listed in the input file. This IAM role must have access to the S3
    #   bucket containing the input file.
    #
    # @option params [required, String] :input_file_uri
    #   The URI of the input file contained in the S3 bucket. The execution
    #   role must have ''getObject'' permissions on this bucket to access
    #   the input file. The input file is a JSON-serialized, line delimited
    #   file with UTF-8 encoding that provides a list of group and version IDs
    #   and the deployment type. This file must be less than 100 MB.
    #   Currently, AWS IoT Greengrass supports only ''NewDeployment''
    #   deployment types.
    #
    # @option params [Hash<String,String>] :tags
    #   The key-value pair for the resource tag.
    #
    # @return [Types::StartBulkDeploymentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::StartBulkDeploymentResponse#bulk_deployment_arn #bulk_deployment_arn} => String
    #   * {Types::StartBulkDeploymentResponse#bulk_deployment_id #bulk_deployment_id} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.start_bulk_deployment({
    #     amzn_client_token: "__string",
    #     execution_role_arn: "__string", # required
    #     input_file_uri: "__string", # required
    #     tags: {
    #       "__string" => "__string",
    #     },
    #   })
    #
    # @example Response structure
    #
    #   resp.bulk_deployment_arn #=> String
    #   resp.bulk_deployment_id #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/StartBulkDeployment AWS API Documentation
    #
    # @overload start_bulk_deployment(params = {})
    # @param [Hash] params ({})
    def start_bulk_deployment(params = {}, options = {})
      req = build_request(:start_bulk_deployment, params)
      req.send_request(options)
    end

    # Stops the execution of a bulk deployment. This action returns a status
    # of ''Stopping'' until the deployment is stopped. You cannot start
    # a new bulk deployment while a previous deployment is in the
    # ''Stopping'' state. This action doesn't rollback completed
    # deployments or cancel pending deployments.
    #
    # @option params [required, String] :bulk_deployment_id
    #
    # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.stop_bulk_deployment({
    #     bulk_deployment_id: "__string", # required
    #   })
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/StopBulkDeployment AWS API Documentation
    #
    # @overload stop_bulk_deployment(params = {})
    # @param [Hash] params ({})
    def stop_bulk_deployment(params = {}, options = {})
      req = build_request(:stop_bulk_deployment, params)
      req.send_request(options)
    end

    # Adds tags to a Greengrass resource. Valid resources are 'Group',
    # 'ConnectorDefinition', 'CoreDefinition', 'DeviceDefinition',
    # 'FunctionDefinition', 'LoggerDefinition',
    # 'SubscriptionDefinition', 'ResourceDefinition', and
    # 'BulkDeployment'.
    #
    # @option params [required, String] :resource_arn
    #
    # @option params [Hash<String,String>] :tags
    #   The key-value pair for the resource tag.
    #
    # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.tag_resource({
    #     resource_arn: "__string", # required
    #     tags: {
    #       "__string" => "__string",
    #     },
    #   })
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/TagResource AWS API Documentation
    #
    # @overload tag_resource(params = {})
    # @param [Hash] params ({})
    def tag_resource(params = {}, options = {})
      req = build_request(:tag_resource, params)
      req.send_request(options)
    end

    # Remove resource tags from a Greengrass Resource.
    #
    # @option params [required, String] :resource_arn
    #
    # @option params [required, Array<String>] :tag_keys
    #
    # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.untag_resource({
    #     resource_arn: "__string", # required
    #     tag_keys: ["__string"], # required
    #   })
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UntagResource AWS API Documentation
    #
    # @overload untag_resource(params = {})
    # @param [Hash] params ({})
    def untag_resource(params = {}, options = {})
      req = build_request(:untag_resource, params)
      req.send_request(options)
    end

    # Updates the connectivity information for the core. Any devices that
    # belong to the group which has this core will receive this information
    # in order to find the location of the core and connect to it.
    #
    # @option params [Array<Types::ConnectivityInfo>] :connectivity_info
    #   A list of connectivity info.
    #
    # @option params [required, String] :thing_name
    #
    # @return [Types::UpdateConnectivityInfoResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::UpdateConnectivityInfoResponse#message #message} => String
    #   * {Types::UpdateConnectivityInfoResponse#version #version} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.update_connectivity_info({
    #     connectivity_info: [
    #       {
    #         host_address: "__string",
    #         id: "__string",
    #         metadata: "__string",
    #         port_number: 1,
    #       },
    #     ],
    #     thing_name: "__string", # required
    #   })
    #
    # @example Response structure
    #
    #   resp.message #=> String
    #   resp.version #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateConnectivityInfo AWS API Documentation
    #
    # @overload update_connectivity_info(params = {})
    # @param [Hash] params ({})
    def update_connectivity_info(params = {}, options = {})
      req = build_request(:update_connectivity_info, params)
      req.send_request(options)
    end

    # Updates a connector definition.
    #
    # @option params [required, String] :connector_definition_id
    #
    # @option params [String] :name
    #
    # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.update_connector_definition({
    #     connector_definition_id: "__string", # required
    #     name: "__string",
    #   })
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateConnectorDefinition AWS API Documentation
    #
    # @overload update_connector_definition(params = {})
    # @param [Hash] params ({})
    def update_connector_definition(params = {}, options = {})
      req = build_request(:update_connector_definition, params)
      req.send_request(options)
    end

    # Updates a core definition.
    #
    # @option params [required, String] :core_definition_id
    #
    # @option params [String] :name
    #
    # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.update_core_definition({
    #     core_definition_id: "__string", # required
    #     name: "__string",
    #   })
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateCoreDefinition AWS API Documentation
    #
    # @overload update_core_definition(params = {})
    # @param [Hash] params ({})
    def update_core_definition(params = {}, options = {})
      req = build_request(:update_core_definition, params)
      req.send_request(options)
    end

    # Updates a device definition.
    #
    # @option params [required, String] :device_definition_id
    #
    # @option params [String] :name
    #
    # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.update_device_definition({
    #     device_definition_id: "__string", # required
    #     name: "__string",
    #   })
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateDeviceDefinition AWS API Documentation
    #
    # @overload update_device_definition(params = {})
    # @param [Hash] params ({})
    def update_device_definition(params = {}, options = {})
      req = build_request(:update_device_definition, params)
      req.send_request(options)
    end

    # Updates a Lambda function definition.
    #
    # @option params [required, String] :function_definition_id
    #
    # @option params [String] :name
    #
    # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.update_function_definition({
    #     function_definition_id: "__string", # required
    #     name: "__string",
    #   })
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateFunctionDefinition AWS API Documentation
    #
    # @overload update_function_definition(params = {})
    # @param [Hash] params ({})
    def update_function_definition(params = {}, options = {})
      req = build_request(:update_function_definition, params)
      req.send_request(options)
    end

    # Updates a group.
    #
    # @option params [required, String] :group_id
    #
    # @option params [String] :name
    #
    # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.update_group({
    #     group_id: "__string", # required
    #     name: "__string",
    #   })
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateGroup AWS API Documentation
    #
    # @overload update_group(params = {})
    # @param [Hash] params ({})
    def update_group(params = {}, options = {})
      req = build_request(:update_group, params)
      req.send_request(options)
    end

    # Updates the Certificate expiry time for a group.
    #
    # @option params [String] :certificate_expiry_in_milliseconds
    #   The amount of time remaining before the certificate expires, in
    #   milliseconds.
    #
    # @option params [required, String] :group_id
    #
    # @return [Types::UpdateGroupCertificateConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::UpdateGroupCertificateConfigurationResponse#certificate_authority_expiry_in_milliseconds #certificate_authority_expiry_in_milliseconds} => String
    #   * {Types::UpdateGroupCertificateConfigurationResponse#certificate_expiry_in_milliseconds #certificate_expiry_in_milliseconds} => String
    #   * {Types::UpdateGroupCertificateConfigurationResponse#group_id #group_id} => String
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.update_group_certificate_configuration({
    #     certificate_expiry_in_milliseconds: "__string",
    #     group_id: "__string", # required
    #   })
    #
    # @example Response structure
    #
    #   resp.certificate_authority_expiry_in_milliseconds #=> String
    #   resp.certificate_expiry_in_milliseconds #=> String
    #   resp.group_id #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateGroupCertificateConfiguration AWS API Documentation
    #
    # @overload update_group_certificate_configuration(params = {})
    # @param [Hash] params ({})
    def update_group_certificate_configuration(params = {}, options = {})
      req = build_request(:update_group_certificate_configuration, params)
      req.send_request(options)
    end

    # Updates a logger definition.
    #
    # @option params [required, String] :logger_definition_id
    #
    # @option params [String] :name
    #
    # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.update_logger_definition({
    #     logger_definition_id: "__string", # required
    #     name: "__string",
    #   })
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateLoggerDefinition AWS API Documentation
    #
    # @overload update_logger_definition(params = {})
    # @param [Hash] params ({})
    def update_logger_definition(params = {}, options = {})
      req = build_request(:update_logger_definition, params)
      req.send_request(options)
    end

    # Updates a resource definition.
    #
    # @option params [String] :name
    #
    # @option params [required, String] :resource_definition_id
    #
    # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.update_resource_definition({
    #     name: "__string",
    #     resource_definition_id: "__string", # required
    #   })
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateResourceDefinition AWS API Documentation
    #
    # @overload update_resource_definition(params = {})
    # @param [Hash] params ({})
    def update_resource_definition(params = {}, options = {})
      req = build_request(:update_resource_definition, params)
      req.send_request(options)
    end

    # Updates a subscription definition.
    #
    # @option params [String] :name
    #
    # @option params [required, String] :subscription_definition_id
    #
    # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.update_subscription_definition({
    #     name: "__string",
    #     subscription_definition_id: "__string", # required
    #   })
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateSubscriptionDefinition AWS API Documentation
    #
    # @overload update_subscription_definition(params = {})
    # @param [Hash] params ({})
    def update_subscription_definition(params = {}, options = {})
      req = build_request(:update_subscription_definition, params)
      req.send_request(options)
    end

    # Updates the runtime configuration of a thing.
    #
    # @option params [Types::TelemetryConfigurationUpdate] :telemetry_configuration
    #   Configuration settings for running telemetry.
    #
    # @option params [required, String] :thing_name
    #
    # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.update_thing_runtime_configuration({
    #     telemetry_configuration: {
    #       telemetry: "On", # required, accepts On, Off
    #     },
    #     thing_name: "__string", # required
    #   })
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateThingRuntimeConfiguration AWS API Documentation
    #
    # @overload update_thing_runtime_configuration(params = {})
    # @param [Hash] params ({})
    def update_thing_runtime_configuration(params = {}, options = {})
      req = build_request(:update_thing_runtime_configuration, params)
      req.send_request(options)
    end

    # @!endgroup

    # @param params ({})
    # @api private
    def build_request(operation_name, params = {})
      handlers = @handlers.for(operation_name)
      tracer = config.telemetry_provider.tracer_provider.tracer(
        Aws::Telemetry.module_to_tracer_name('Aws::Greengrass')
      )
      context = Seahorse::Client::RequestContext.new(
        operation_name: operation_name,
        operation: config.api.operation(operation_name),
        client: self,
        params: params,
        config: config,
        tracer: tracer
      )
      context[:gem_name] = 'aws-sdk-greengrass'
      context[:gem_version] = '1.86.0'
      Seahorse::Client::Request.new(handlers, context)
    end

    # @api private
    # @deprecated
    def waiter_names
      []
    end

    class << self

      # @api private
      attr_reader :identifier

      # @api private
      def errors_module
        Errors
      end

    end
  end
end
