Method: Aws::ServerlessApplicationRepository::Client#update_application
- Defined in:
- lib/aws-sdk-serverlessapplicationrepository/client.rb
#update_application(params = {}) ⇒ Types::UpdateApplicationResponse
Updates the specified application.
Examples:
Request syntax with placeholder values
Request syntax with placeholder values
resp = client.update_application({
application_id: "__string", # required
author: "__string",
description: "__string",
home_page_url: "__string",
labels: ["__string"],
readme_body: "__string",
readme_url: "__string",
})
Response structure
Response structure
resp.application_id #=> String
resp.author #=> String
resp.creation_time #=> String
resp.description #=> String
resp.home_page_url #=> String
resp.is_verified_author #=> Boolean
resp.labels #=> Array
resp.labels[0] #=> String
resp.license_url #=> String
resp.name #=> String
resp.readme_url #=> String
resp.spdx_license_id #=> String
resp.verified_author_url #=> String
resp.version.application_id #=> String
resp.version.creation_time #=> String
resp.version.parameter_definitions #=> Array
resp.version.parameter_definitions[0].allowed_pattern #=> String
resp.version.parameter_definitions[0].allowed_values #=> Array
resp.version.parameter_definitions[0].allowed_values[0] #=> String
resp.version.parameter_definitions[0].constraint_description #=> String
resp.version.parameter_definitions[0].default_value #=> String
resp.version.parameter_definitions[0].description #=> String
resp.version.parameter_definitions[0].max_length #=> Integer
resp.version.parameter_definitions[0].max_value #=> Integer
resp.version.parameter_definitions[0].min_length #=> Integer
resp.version.parameter_definitions[0].min_value #=> Integer
resp.version.parameter_definitions[0].name #=> String
resp.version.parameter_definitions[0].no_echo #=> Boolean
resp.version.parameter_definitions[0].referenced_by_resources #=> Array
resp.version.parameter_definitions[0].referenced_by_resources[0] #=> String
resp.version.parameter_definitions[0].type #=> String
resp.version.required_capabilities #=> Array
resp.version.required_capabilities[0] #=> String, one of "CAPABILITY_IAM", "CAPABILITY_NAMED_IAM", "CAPABILITY_AUTO_EXPAND", "CAPABILITY_RESOURCE_POLICY"
resp.version.resources_supported #=> Boolean
resp.version.semantic_version #=> String
resp.version.source_code_archive_url #=> String
resp.version.source_code_url #=> String
resp.version.template_url #=> String
Parameters:
-
params
(Hash)
(defaults to: {})
—
({})
Options Hash (params):
- :application_id (required, String)
- :author (String)
- :description (String)
- :home_page_url (String)
- :labels (Array<String>)
- :readme_body (String)
- :readme_url (String)
Returns:
-
(Types::UpdateApplicationResponse)
—
Returns a response object which responds to the following methods:
-
#application_id => String
-
#author => String
-
#creation_time => String
-
#description => String
-
#home_page_url => String
-
#is_verified_author => Boolean
-
#labels => Array<String>
-
#license_url => String
-
#name => String
-
#readme_url => String
-
#spdx_license_id => String
-
#verified_author_url => String
-
#version => Types::Version
-
See Also:
1272 1273 1274 1275 |
# File 'lib/aws-sdk-serverlessapplicationrepository/client.rb', line 1272 def update_application(params = {}, options = {}) req = build_request(:update_application, params) req.send_request(options) end |