Class: Aws::CloudExtensions::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::CloudExtensions::Client
- Includes:
- Aws::ClientStubs
- Defined in:
- gems/aws-sdk-cloudextensions/lib/aws-sdk-cloudextensions/client.rb
Overview
An API client for CloudExtensions. To construct a client, you need to configure a :region and :credentials.
client = Aws::CloudExtensions::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_profile(params = {}) ⇒ Types::CreateProfileOutput
Creates a new profile.
-
#create_profile_entry(params = {}) ⇒ Types::CreateProfileEntryOutput
Creates a profile entry that binds an extension to a profile.
-
#delete_profile(params = {}) ⇒ Struct
Deletes a profile and its profile entries.
-
#delete_profile_entry(params = {}) ⇒ Struct
Removes a profile entry, unbinding the extension from the profile.
-
#get_extension(params = {}) ⇒ Types::GetExtensionOutput
Retrieves a released extension by its id.
-
#get_profile(params = {}) ⇒ Types::GetProfileOutput
Retrieves a profile by its identifier (id or name).
-
#get_profile_entry(params = {}) ⇒ Types::GetProfileEntryOutput
Retrieves a profile entry by its profile identifier and entry identifier.
-
#list_extension_versions(params = {}) ⇒ Types::ListExtensionVersionsOutput
Lists the released versions of an extension, newest first, optionally filtered by a version selector.
-
#list_extensions(params = {}) ⇒ Types::ListExtensionsOutput
Lists released extensions.
-
#list_profile_entries(params = {}) ⇒ Types::ListProfileEntriesOutput
Lists profile entries for a given profile.
-
#list_profiles(params = {}) ⇒ Types::ListProfilesOutput
Lists profiles in the account, optionally filtered by name.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceOutput
Lists the tags on a profile or profile entry.
-
#tag_resource(params = {}) ⇒ Struct
Adds tags to a profile or profile entry.
-
#untag_resource(params = {}) ⇒ Struct
Removes tags from a profile or profile entry.
-
#update_profile(params = {}) ⇒ Types::UpdateProfileOutput
Updates a profile's mutable properties.
-
#update_profile_entry(params = {}) ⇒ Types::UpdateProfileEntryOutput
Updates a profile entry's configuration.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from Aws::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.
479 480 481 |
# File 'gems/aws-sdk-cloudextensions/lib/aws-sdk-cloudextensions/client.rb', line 479 def initialize(*args) super end |
Instance Method Details
#create_profile(params = {}) ⇒ Types::CreateProfileOutput
Creates a new profile. The profile name must be unique within the account.
569 570 571 572 |
# File 'gems/aws-sdk-cloudextensions/lib/aws-sdk-cloudextensions/client.rb', line 569 def create_profile(params = {}, = {}) req = build_request(:create_profile, params) req.send_request() end |
#create_profile_entry(params = {}) ⇒ Types::CreateProfileEntryOutput
Creates a profile entry that binds an extension to a profile. The extension must exist and the profile must not already have an entry for that extension.
736 737 738 739 |
# File 'gems/aws-sdk-cloudextensions/lib/aws-sdk-cloudextensions/client.rb', line 736 def create_profile_entry(params = {}, = {}) req = build_request(:create_profile_entry, params) req.send_request() end |
#delete_profile(params = {}) ⇒ Struct
Deletes a profile and its profile entries.
758 759 760 761 |
# File 'gems/aws-sdk-cloudextensions/lib/aws-sdk-cloudextensions/client.rb', line 758 def delete_profile(params = {}, = {}) req = build_request(:delete_profile, params) req.send_request() end |
#delete_profile_entry(params = {}) ⇒ Struct
Removes a profile entry, unbinding the extension from the profile.
784 785 786 787 |
# File 'gems/aws-sdk-cloudextensions/lib/aws-sdk-cloudextensions/client.rb', line 784 def delete_profile_entry(params = {}, = {}) req = build_request(:delete_profile_entry, params) req.send_request() end |
#get_extension(params = {}) ⇒ Types::GetExtensionOutput
Retrieves a released extension by its id. By default returns the latest version; use the version parameter to retrieve a specific release.
893 894 895 896 |
# File 'gems/aws-sdk-cloudextensions/lib/aws-sdk-cloudextensions/client.rb', line 893 def get_extension(params = {}, = {}) req = build_request(:get_extension, params) req.send_request() end |
#get_profile(params = {}) ⇒ Types::GetProfileOutput
Retrieves a profile by its identifier (id or name).
939 940 941 942 |
# File 'gems/aws-sdk-cloudextensions/lib/aws-sdk-cloudextensions/client.rb', line 939 def get_profile(params = {}, = {}) req = build_request(:get_profile, params) req.send_request() end |
#get_profile_entry(params = {}) ⇒ Types::GetProfileEntryOutput
Retrieves a profile entry by its profile identifier and entry identifier.
1027 1028 1029 1030 |
# File 'gems/aws-sdk-cloudextensions/lib/aws-sdk-cloudextensions/client.rb', line 1027 def get_profile_entry(params = {}, = {}) req = build_request(:get_profile_entry, params) req.send_request() end |
#list_extension_versions(params = {}) ⇒ Types::ListExtensionVersionsOutput
Lists the released versions of an extension, newest first, optionally filtered by a version selector.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1082 1083 1084 1085 |
# File 'gems/aws-sdk-cloudextensions/lib/aws-sdk-cloudextensions/client.rb', line 1082 def list_extension_versions(params = {}, = {}) req = build_request(:list_extension_versions, params) req.send_request() end |
#list_extensions(params = {}) ⇒ Types::ListExtensionsOutput
Lists released extensions. Returns the latest version of each extension.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1128 1129 1130 1131 |
# File 'gems/aws-sdk-cloudextensions/lib/aws-sdk-cloudextensions/client.rb', line 1128 def list_extensions(params = {}, = {}) req = build_request(:list_extensions, params) req.send_request() end |
#list_profile_entries(params = {}) ⇒ Types::ListProfileEntriesOutput
Lists profile entries for a given profile.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1182 1183 1184 1185 |
# File 'gems/aws-sdk-cloudextensions/lib/aws-sdk-cloudextensions/client.rb', line 1182 def list_profile_entries(params = {}, = {}) req = build_request(:list_profile_entries, params) req.send_request() end |
#list_profiles(params = {}) ⇒ Types::ListProfilesOutput
Lists profiles in the account, optionally filtered by name.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1229 1230 1231 1232 |
# File 'gems/aws-sdk-cloudextensions/lib/aws-sdk-cloudextensions/client.rb', line 1229 def list_profiles(params = {}, = {}) req = build_request(:list_profiles, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceOutput
Lists the tags on a profile or profile entry.
1258 1259 1260 1261 |
# File 'gems/aws-sdk-cloudextensions/lib/aws-sdk-cloudextensions/client.rb', line 1258 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Adds tags to a profile or profile entry. A tag whose key the resource already has replaces that tag's value.
1287 1288 1289 1290 |
# File 'gems/aws-sdk-cloudextensions/lib/aws-sdk-cloudextensions/client.rb', line 1287 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes tags from a profile or profile entry.
1313 1314 1315 1316 |
# File 'gems/aws-sdk-cloudextensions/lib/aws-sdk-cloudextensions/client.rb', line 1313 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_profile(params = {}) ⇒ Types::UpdateProfileOutput
Updates a profile's mutable properties. Only provided fields are changed; omitted fields remain unchanged.
1392 1393 1394 1395 |
# File 'gems/aws-sdk-cloudextensions/lib/aws-sdk-cloudextensions/client.rb', line 1392 def update_profile(params = {}, = {}) req = build_request(:update_profile, params) req.send_request() end |
#update_profile_entry(params = {}) ⇒ Types::UpdateProfileEntryOutput
Updates a profile entry's configuration. Only provided fields are changed; omitted fields remain unchanged.
1549 1550 1551 1552 |
# File 'gems/aws-sdk-cloudextensions/lib/aws-sdk-cloudextensions/client.rb', line 1549 def update_profile_entry(params = {}, = {}) req = build_request(:update_profile_entry, params) req.send_request() end |