lib/aws-sdk-greengrass/client.rb in aws-sdk-greengrass-1.16.0 vs lib/aws-sdk-greengrass/client.rb in aws-sdk-greengrass-1.17.0

- old
+ new

@@ -197,10 +197,53 @@ # # @option options [Boolean] :validate_params (true) # When `true`, request parameters are validated before # sending the request. # + # @option options [URI::HTTP,String] :http_proxy A proxy to send + # requests through. Formatted like 'http://proxy.com:123'. + # + # @option options [Float] :http_open_timeout (15) The number of + # seconds to wait when opening a HTTP session before rasing a + # `Timeout::Error`. + # + # @option options [Integer] :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 yeidled by {#session_for}. + # + # @option options [Float] :http_idle_timeout (5) The number of + # seconds a connection is allowed to sit idble before it is + # considered stale. Stale connections are closed and removed + # from the pool before making a request. + # + # @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 yeidled by {#session_for}. + # + # @option options [Boolean] :http_wire_trace (false) When `true`, + # HTTP debug output will be sent to the `:logger`. + # + # @option options [Boolean] :ssl_verify_peer (true) When `true`, + # SSL peer certificates are verified when establishing a + # connection. + # + # @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. + # def initialize(*args) super end # @!group API Operations @@ -280,10 +323,12 @@ # Information about the connector definition version, which is a # container for connectors. # # @option params [String] :name # + # @option params [Hash<String,String>] :tags + # # @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 @@ -306,10 +351,13 @@ # }, # }, # ], # }, # name: "__string", + # tags: { + # "__string" => "__string", + # }, # }) # # @example Response structure # # resp.arn #=> String @@ -387,10 +435,12 @@ # @option params [Types::CoreDefinitionVersion] :initial_version # Information about a core definition version. # # @option params [String] :name # + # @option params [Hash<String,String>] :tags + # # @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 @@ -412,10 +462,13 @@ # thing_arn: "__string", # }, # ], # }, # name: "__string", + # tags: { + # "__string" => "__string", + # }, # }) # # @example Response structure # # resp.arn #=> String @@ -539,10 +592,12 @@ # @option params [Types::DeviceDefinitionVersion] :initial_version # Information about a device definition version. # # @option params [String] :name # + # @option params [Hash<String,String>] :tags + # # @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 @@ -564,10 +619,13 @@ # thing_arn: "__string", # }, # ], # }, # name: "__string", + # tags: { + # "__string" => "__string", + # }, # }) # # @example Response structure # # resp.arn #=> String @@ -645,10 +703,12 @@ # @option params [Types::FunctionDefinitionVersion] :initial_version # Information about a function definition version. # # @option params [String] :name # + # @option params [Hash<String,String>] :tags + # # @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 @@ -704,10 +764,13 @@ # id: "__string", # }, # ], # }, # name: "__string", + # tags: { + # "__string" => "__string", + # }, # }) # # @example Response structure # # resp.arn #=> String @@ -823,10 +886,12 @@ # @option params [Types::GroupVersion] :initial_version # Information about a group version. # # @option params [String] :name # + # @option params [Hash<String,String>] :tags + # # @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 @@ -847,10 +912,13 @@ # logger_definition_version_arn: "__string", # resource_definition_version_arn: "__string", # subscription_definition_version_arn: "__string", # }, # name: "__string", + # tags: { + # "__string" => "__string", + # }, # }) # # @example Response structure # # resp.arn #=> String @@ -967,10 +1035,12 @@ # @option params [Types::LoggerDefinitionVersion] :initial_version # Information about a logger definition version. # # @option params [String] :name # + # @option params [Hash<String,String>] :tags + # # @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 @@ -993,10 +1063,13 @@ # type: "FileSystem", # accepts FileSystem, AWSCloudWatch # }, # ], # }, # name: "__string", + # tags: { + # "__string" => "__string", + # }, # }) # # @example Response structure # # resp.arn #=> String @@ -1074,10 +1147,12 @@ # @option params [Types::ResourceDefinitionVersion] :initial_version # Information about a resource definition version. # # @option params [String] :name # + # @option params [Hash<String,String>] :tags + # # @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 @@ -1126,10 +1201,13 @@ # }, # }, # ], # }, # name: "__string", + # tags: { + # "__string" => "__string", + # }, # }) # # @example Response structure # # resp.arn #=> String @@ -1292,10 +1370,12 @@ # @option params [Types::SubscriptionDefinitionVersion] :initial_version # Information about a subscription definition version. # # @option params [String] :name # + # @option params [Hash<String,String>] :tags + # # @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 @@ -1317,10 +1397,13 @@ # target: "__string", # }, # ], # }, # name: "__string", + # tags: { + # "__string" => "__string", + # }, # }) # # @example Response structure # # resp.arn #=> String @@ -1385,10 +1468,38 @@ def create_subscription_definition_version(params = {}, options = {}) req = build_request(:create_subscription_definition_version, params) req.send_request(options) end + # Add resource tags to a Greengrass Resource. Valid resources are Group, + # Connector, Core, Device, Function, Logger, Subscription, and Resource + # Defintions, and also BulkDeploymentIds. + # + # @option params [required, String] :resource_arn + # + # @option params [required, Hash<String,String>] :tags + # + # @return [Struct] Returns an empty {Seahorse::Client::Response response}. + # + # @example Request syntax with placeholder values + # + # resp = client.tag_resource({ + # resource_arn: "__string", # required + # tags: { # required + # "__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 + # Deletes a connector definition. # # @option params [required, String] :connector_definition_id # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. @@ -1553,10 +1664,34 @@ def delete_subscription_definition(params = {}, options = {}) req = build_request(:delete_subscription_definition, 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 + # 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: @@ -1640,10 +1775,11 @@ # * {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 @@ -1658,10 +1794,12 @@ # 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 ({}) @@ -1714,10 +1852,11 @@ # * {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 @@ -1730,10 +1869,12 @@ # 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 ({}) @@ -1803,10 +1944,11 @@ # * {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 @@ -1819,10 +1961,12 @@ # 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 ({}) @@ -1926,10 +2070,11 @@ # * {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 @@ -1942,10 +2087,12 @@ # 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 ({}) @@ -2013,10 +2160,11 @@ # * {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 @@ -2029,10 +2177,12 @@ # 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 ({}) @@ -2117,10 +2267,11 @@ # * {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 @@ -2133,10 +2284,12 @@ # 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 ({}) @@ -2266,10 +2419,11 @@ # * {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 @@ -2282,10 +2436,12 @@ # 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 ({}) @@ -2352,10 +2508,11 @@ # * {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 @@ -2368,10 +2525,12 @@ # 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 ({}) @@ -2467,10 +2626,11 @@ # * {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 @@ -2483,10 +2643,12 @@ # 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 ({}) @@ -2691,10 +2853,12 @@ # 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 = {}) @@ -2769,10 +2933,12 @@ # 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 = {}) @@ -2887,10 +3053,12 @@ # 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 = {}) @@ -2965,10 +3133,12 @@ # 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 = {}) @@ -3150,10 +3320,12 @@ # 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 = {}) @@ -3228,10 +3400,12 @@ # 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 = {}) @@ -3306,10 +3480,12 @@ # 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 = {}) @@ -3317,10 +3493,38 @@ 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 @@ -3379,10 +3583,12 @@ # 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 + # # @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 # @@ -3390,10 +3596,13 @@ # # resp = client.start_bulk_deployment({ # amzn_client_token: "__string", # execution_role_arn: "__string", # input_file_uri: "__string", + # tags: { + # "__string" => "__string", + # }, # }) # # @example Response structure # # resp.bulk_deployment_arn #=> String @@ -3714,10 +3923,10 @@ operation: config.api.operation(operation_name), client: self, params: params, config: config) context[:gem_name] = 'aws-sdk-greengrass' - context[:gem_version] = '1.16.0' + context[:gem_version] = '1.17.0' Seahorse::Client::Request.new(handlers, context) end # @api private # @deprecated