Class: Aws::ServerlessApplicationRepository::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::ServerlessApplicationRepository::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/client.rb
Overview
An API client for ServerlessApplicationRepository. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::ServerlessApplicationRepository::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#create_application(params = {}) ⇒ Types::CreateApplicationResponse
Creates an application, optionally including an AWS SAM file to create the first application version in the same call.
-
#create_application_version(params = {}) ⇒ Types::CreateApplicationVersionResponse
Creates an application version.
-
#create_cloud_formation_change_set(params = {}) ⇒ Types::CreateCloudFormationChangeSetResponse
Creates an AWS CloudFormation change set for the given application.
-
#create_cloud_formation_template(params = {}) ⇒ Types::CreateCloudFormationTemplateResponse
Creates an AWS CloudFormation template.
-
#delete_application(params = {}) ⇒ Struct
Deletes the specified application.
-
#get_application(params = {}) ⇒ Types::GetApplicationResponse
Gets the specified application.
-
#get_application_policy(params = {}) ⇒ Types::GetApplicationPolicyResponse
Retrieves the policy for the application.
-
#get_cloud_formation_template(params = {}) ⇒ Types::GetCloudFormationTemplateResponse
Gets the specified AWS CloudFormation template.
-
#list_application_dependencies(params = {}) ⇒ Types::ListApplicationDependenciesResponse
Retrieves the list of applications nested in the containing application.
-
#list_application_versions(params = {}) ⇒ Types::ListApplicationVersionsResponse
Lists versions for the specified application.
-
#list_applications(params = {}) ⇒ Types::ListApplicationsResponse
Lists applications owned by the requester.
-
#put_application_policy(params = {}) ⇒ Types::PutApplicationPolicyResponse
Sets the permission policy for an application.
-
#unshare_application(params = {}) ⇒ Struct
Unshares an application from an AWS Organization.
-
#update_application(params = {}) ⇒ Types::UpdateApplicationResponse
Updates the specified application.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
467 468 469 |
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/client.rb', line 467 def initialize(*args) super end |
Instance Method Details
#create_application(params = {}) ⇒ Types::CreateApplicationResponse
Creates an application, optionally including an AWS SAM file to create the first application version in the same call.
587 588 589 590 |
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/client.rb', line 587 def create_application(params = {}, = {}) req = build_request(:create_application, params) req.send_request() end |
#create_application_version(params = {}) ⇒ Types::CreateApplicationVersionResponse
Creates an application version.
661 662 663 664 |
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/client.rb', line 661 def create_application_version(params = {}, = {}) req = build_request(:create_application_version, params) req.send_request() end |
#create_cloud_formation_change_set(params = {}) ⇒ Types::CreateCloudFormationChangeSetResponse
Creates an AWS CloudFormation change set for the given application.
751 752 753 754 |
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/client.rb', line 751 def create_cloud_formation_change_set(params = {}, = {}) req = build_request(:create_cloud_formation_change_set, params) req.send_request() end |
#create_cloud_formation_template(params = {}) ⇒ Types::CreateCloudFormationTemplateResponse
Creates an AWS CloudFormation template.
793 794 795 796 |
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/client.rb', line 793 def create_cloud_formation_template(params = {}, = {}) req = build_request(:create_cloud_formation_template, params) req.send_request() end |
#delete_application(params = {}) ⇒ Struct
Deletes the specified application.
814 815 816 817 |
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/client.rb', line 814 def delete_application(params = {}, = {}) req = build_request(:delete_application, params) req.send_request() end |
#get_application(params = {}) ⇒ Types::GetApplicationResponse
Gets the specified application.
893 894 895 896 |
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/client.rb', line 893 def get_application(params = {}, = {}) req = build_request(:get_application, params) req.send_request() end |
#get_application_policy(params = {}) ⇒ Types::GetApplicationPolicyResponse
Retrieves the policy for the application.
927 928 929 930 |
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/client.rb', line 927 def get_application_policy(params = {}, = {}) req = build_request(:get_application_policy, params) req.send_request() end |
#get_cloud_formation_template(params = {}) ⇒ Types::GetCloudFormationTemplateResponse
Gets the specified AWS CloudFormation template.
969 970 971 972 |
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/client.rb', line 969 def get_cloud_formation_template(params = {}, = {}) req = build_request(:get_cloud_formation_template, params) req.send_request() end |
#list_application_dependencies(params = {}) ⇒ Types::ListApplicationDependenciesResponse
Retrieves the list of applications nested in the containing application.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1012 1013 1014 1015 |
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/client.rb', line 1012 def list_application_dependencies(params = {}, = {}) req = build_request(:list_application_dependencies, params) req.send_request() end |
#list_application_versions(params = {}) ⇒ Types::ListApplicationVersionsResponse
Lists versions for the specified application.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1053 1054 1055 1056 |
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/client.rb', line 1053 def list_application_versions(params = {}, = {}) req = build_request(:list_application_versions, params) req.send_request() end |
#list_applications(params = {}) ⇒ Types::ListApplicationsResponse
Lists applications owned by the requester.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1096 1097 1098 1099 |
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/client.rb', line 1096 def list_applications(params = {}, = {}) req = build_request(:list_applications, params) req.send_request() end |
#put_application_policy(params = {}) ⇒ Types::PutApplicationPolicyResponse
Sets the permission policy for an application. For the list of actions supported for this operation, see Application Permissions .
1145 1146 1147 1148 |
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/client.rb', line 1145 def put_application_policy(params = {}, = {}) req = build_request(:put_application_policy, params) req.send_request() end |
#unshare_application(params = {}) ⇒ Struct
Unshares an application from an AWS Organization.
This operation can be called only from the organization's master account.
1172 1173 1174 1175 |
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/client.rb', line 1172 def unshare_application(params = {}, = {}) req = build_request(:unshare_application, params) req.send_request() end |
#update_application(params = {}) ⇒ Types::UpdateApplicationResponse
Updates the specified application.
1266 1267 1268 1269 |
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/client.rb', line 1266 def update_application(params = {}, = {}) req = build_request(:update_application, params) req.send_request() end |