Class: Aws::NetworkSecurityManager::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::NetworkSecurityManager::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb
Overview
An API client for NetworkSecurityManager. To construct a client, you need to configure a :region and :credentials.
client = Aws::NetworkSecurityManager::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_deployment(params = {}) ⇒ Types::CreateDeploymentOutput
Creates a deployment.
-
#create_deployment_snapshot(params = {}) ⇒ Types::CreateDeploymentSnapshotOutput
Creates a snapshot of the current published version of the specified deployment.
-
#create_policy(params = {}) ⇒ Types::CreatePolicyOutput
Creates a policy.
-
#create_policy_snapshot(params = {}) ⇒ Types::CreatePolicySnapshotOutput
Creates a snapshot of the current published version of the specified policy.
-
#create_rule(params = {}) ⇒ Types::CreateRuleOutput
Creates a rule.
-
#create_rule_snapshot(params = {}) ⇒ Types::CreateRuleSnapshotOutput
Creates a snapshot of the current published version of the specified rule.
-
#create_scope(params = {}) ⇒ Types::CreateScopeOutput
Creates a scope.
-
#create_scope_snapshot(params = {}) ⇒ Types::CreateScopeSnapshotOutput
Creates a snapshot of the current published version of the specified scope.
-
#create_template(params = {}) ⇒ Types::CreateTemplateOutput
Creates a template.
-
#create_template_snapshot(params = {}) ⇒ Types::CreateTemplateSnapshotOutput
Creates a snapshot of the current published version of the specified template.
-
#delete_admin_account(params = {}) ⇒ Struct
Removes the specified AWS Network Security Manager administrator account.
-
#delete_deployment(params = {}) ⇒ Struct
Deletes the specified deployment.
-
#delete_policy(params = {}) ⇒ Struct
Deletes the specified policy.
-
#delete_rule(params = {}) ⇒ Struct
Deletes the specified rule.
-
#delete_scope(params = {}) ⇒ Struct
Deletes the specified scope.
-
#delete_template(params = {}) ⇒ Struct
Deletes the specified template.
-
#generate_rule_configuration(params = {}) ⇒ Types::GenerateRuleConfigurationResponse
Generates a rule configuration from a natural-language description.
-
#get_admin_account(params = {}) ⇒ Types::GetAdminAccountResponse
Retrieves the details of the specified AWS Network Security Manager administrator account.
-
#get_deployment(params = {}) ⇒ Types::GetDeploymentOutput
Retrieves the details of the specified deployment, including coverage information and any warnings.
-
#get_policy(params = {}) ⇒ Types::GetPolicyOutput
Retrieves the details of the specified policy.
-
#get_rule(params = {}) ⇒ Types::GetRuleOutput
Retrieves the details of the specified rule.
-
#get_scope(params = {}) ⇒ Types::GetScopeOutput
Retrieves the details of the specified scope.
-
#get_template(params = {}) ⇒ Types::GetTemplateOutput
Retrieves the details of the specified template.
-
#list_admin_accounts(params = {}) ⇒ Types::ListAdminAccountsResponse
Lists the AWS Network Security Manager administrator accounts in the organization.
-
#list_aggregate_resource_synchronization_statuses(params = {}) ⇒ Types::ListAggregateResourceSynchronizationStatusesOutput
Lists the aggregated synchronization statuses of resources across the deployments in your administrator account.
-
#list_deployment_snapshots(params = {}) ⇒ Types::ListDeploymentSnapshotsOutput
Lists the snapshots of the specified deployment.
-
#list_deployments(params = {}) ⇒ Types::ListDeploymentsOutput
Lists the deployments in the account.
-
#list_policies(params = {}) ⇒ Types::ListPoliciesOutput
Lists the policies in the account.
-
#list_policy_snapshots(params = {}) ⇒ Types::ListPolicySnapshotsOutput
Lists the snapshots of the specified policy.
-
#list_resource_associations(params = {}) ⇒ Types::ListResourceAssociationsOutput
Lists the resources associated with the specified resource.
-
#list_resource_synchronization_statuses(params = {}) ⇒ Types::ListResourceSynchronizationStatusesOutput
Lists the synchronization statuses of the resources covered by the specified deployment.
-
#list_rule_snapshots(params = {}) ⇒ Types::ListRuleSnapshotsOutput
Lists the snapshots of the specified rule.
-
#list_rules(params = {}) ⇒ Types::ListRulesOutput
Lists the rules in the account.
-
#list_scope_snapshots(params = {}) ⇒ Types::ListScopeSnapshotsOutput
Lists the snapshots of the specified scope.
-
#list_scopes(params = {}) ⇒ Types::ListScopesOutput
Lists the scopes in the account.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceOutput
Lists the tags associated with the specified resource.
-
#list_template_snapshots(params = {}) ⇒ Types::ListTemplateSnapshotsOutput
Lists the snapshots of the specified template.
-
#list_templates(params = {}) ⇒ Types::ListTemplatesOutput
Lists the templates in the account.
-
#put_admin_account(params = {}) ⇒ Types::PutAdminAccountResponse
Sets the AWS account that serves as an AWS Network Security Manager administrator account, and optionally configures the scope of resources that the administrator can manage.
-
#tag_resource(params = {}) ⇒ Struct
Adds or overwrites the specified tags on the given resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes the specified tags from the given resource.
-
#update_deployment(params = {}) ⇒ Types::UpdateDeploymentOutput
Updates the specified deployment.
-
#update_policy(params = {}) ⇒ Types::UpdatePolicyOutput
Updates the specified policy.
-
#update_rule(params = {}) ⇒ Types::UpdateRuleOutput
Updates the specified rule.
-
#update_scope(params = {}) ⇒ Types::UpdateScopeOutput
Updates the specified scope.
-
#update_template(params = {}) ⇒ Types::UpdateTemplateOutput
Updates the specified template.
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.
478 479 480 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 478 def initialize(*args) super end |
Instance Method Details
#create_deployment(params = {}) ⇒ Types::CreateDeploymentOutput
Creates a deployment. A deployment applies one or more policies to the
accounts and resources selected by a scope. Use isPublished to
create the deployment in published (ACTIVE) or draft (DRAFT)
state. The response includes coverage information and any warnings
about the deployment.
649 650 651 652 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 649 def create_deployment(params = {}, = {}) req = build_request(:create_deployment, params) req.send_request() end |
#create_deployment_snapshot(params = {}) ⇒ Types::CreateDeploymentSnapshotOutput
Creates a snapshot of the current published version of the specified deployment.
756 757 758 759 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 756 def create_deployment_snapshot(params = {}, = {}) req = build_request(:create_deployment_snapshot, params) req.send_request() end |
#create_policy(params = {}) ⇒ Types::CreatePolicyOutput
Creates a policy. A policy combines templates and rules with
enforcement settings for a firewall type, such as AWS WAF or AWS
Shield Advanced. Use isPublished to create the policy in published
(ACTIVE) or draft (DRAFT) state.
932 933 934 935 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 932 def create_policy(params = {}, = {}) req = build_request(:create_policy, params) req.send_request() end |
#create_policy_snapshot(params = {}) ⇒ Types::CreatePolicySnapshotOutput
Creates a snapshot of the current published version of the specified policy.
1046 1047 1048 1049 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1046 def create_policy_snapshot(params = {}, = {}) req = build_request(:create_policy_snapshot, params) req.send_request() end |
#create_rule(params = {}) ⇒ Types::CreateRuleOutput
Creates a rule. A rule defines a network security configuration to
enforce, such as an AWS WAF rule group or configuration data. Use
isPublished to create the rule in published (ACTIVE) or draft
(DRAFT) state.
1189 1190 1191 1192 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1189 def create_rule(params = {}, = {}) req = build_request(:create_rule, params) req.send_request() end |
#create_rule_snapshot(params = {}) ⇒ Types::CreateRuleSnapshotOutput
Creates a snapshot of the current published version of the specified rule. A snapshot is an immutable, versioned copy that other resources can reference.
1285 1286 1287 1288 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1285 def create_rule_snapshot(params = {}, = {}) req = build_request(:create_rule_snapshot, params) req.send_request() end |
#create_scope(params = {}) ⇒ Types::CreateScopeOutput
Creates a scope. A scope selects the accounts and resources that a
deployment applies to. Use isPublished to create the scope in
published (ACTIVE) or draft (DRAFT) state.
1510 1511 1512 1513 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1510 def create_scope(params = {}, = {}) req = build_request(:create_scope, params) req.send_request() end |
#create_scope_snapshot(params = {}) ⇒ Types::CreateScopeSnapshotOutput
Creates a snapshot of the current published version of the specified scope.
1637 1638 1639 1640 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1637 def create_scope_snapshot(params = {}, = {}) req = build_request(:create_scope_snapshot, params) req.send_request() end |
#create_template(params = {}) ⇒ Types::CreateTemplateOutput
Creates a template. A template groups one or more rules to simplify
reuse across policies. You can also associate rules with a policy
directly, without a template. Use isPublished to create the template
in published (ACTIVE) or draft (DRAFT) state.
1766 1767 1768 1769 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1766 def create_template(params = {}, = {}) req = build_request(:create_template, params) req.send_request() end |
#create_template_snapshot(params = {}) ⇒ Types::CreateTemplateSnapshotOutput
Creates a snapshot of the current published version of the specified template.
1863 1864 1865 1866 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1863 def create_template_snapshot(params = {}, = {}) req = build_request(:create_template_snapshot, params) req.send_request() end |
#delete_admin_account(params = {}) ⇒ Struct
Removes the specified AWS Network Security Manager administrator account.
1895 1896 1897 1898 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1895 def delete_admin_account(params = {}, = {}) req = build_request(:delete_admin_account, params) req.send_request() end |
#delete_deployment(params = {}) ⇒ Struct
Deletes the specified deployment.
1928 1929 1930 1931 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1928 def delete_deployment(params = {}, = {}) req = build_request(:delete_deployment, params) req.send_request() end |
#delete_policy(params = {}) ⇒ Struct
Deletes the specified policy.
1960 1961 1962 1963 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1960 def delete_policy(params = {}, = {}) req = build_request(:delete_policy, params) req.send_request() end |
#delete_rule(params = {}) ⇒ Struct
Deletes the specified rule.
1992 1993 1994 1995 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1992 def delete_rule(params = {}, = {}) req = build_request(:delete_rule, params) req.send_request() end |
#delete_scope(params = {}) ⇒ Struct
Deletes the specified scope.
2024 2025 2026 2027 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2024 def delete_scope(params = {}, = {}) req = build_request(:delete_scope, params) req.send_request() end |
#delete_template(params = {}) ⇒ Struct
Deletes the specified template.
2056 2057 2058 2059 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2056 def delete_template(params = {}, = {}) req = build_request(:delete_template, params) req.send_request() end |
#generate_rule_configuration(params = {}) ⇒ Types::GenerateRuleConfigurationResponse
Generates a rule configuration from a natural-language description. Provide a prompt along with the rule's firewall type and rule type. The service returns a configuration that you can use when you create or update a rule. If you also provide an existing configuration, the service edits that configuration instead of generating a new one.
2140 2141 2142 2143 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2140 def generate_rule_configuration(params = {}, = {}) req = build_request(:generate_rule_configuration, params) req.send_request() end |
#get_admin_account(params = {}) ⇒ Types::GetAdminAccountResponse
Retrieves the details of the specified AWS Network Security Manager administrator account.
2224 2225 2226 2227 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2224 def get_admin_account(params = {}, = {}) req = build_request(:get_admin_account, params) req.send_request() end |
#get_deployment(params = {}) ⇒ Types::GetDeploymentOutput
Retrieves the details of the specified deployment, including coverage information and any warnings.
2340 2341 2342 2343 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2340 def get_deployment(params = {}, = {}) req = build_request(:get_deployment, params) req.send_request() end |
#get_policy(params = {}) ⇒ Types::GetPolicyOutput
Retrieves the details of the specified policy.
2438 2439 2440 2441 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2438 def get_policy(params = {}, = {}) req = build_request(:get_policy, params) req.send_request() end |
#get_rule(params = {}) ⇒ Types::GetRuleOutput
Retrieves the details of the specified rule.
2540 2541 2542 2543 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2540 def get_rule(params = {}, = {}) req = build_request(:get_rule, params) req.send_request() end |
#get_scope(params = {}) ⇒ Types::GetScopeOutput
Retrieves the details of the specified scope.
2650 2651 2652 2653 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2650 def get_scope(params = {}, = {}) req = build_request(:get_scope, params) req.send_request() end |
#get_template(params = {}) ⇒ Types::GetTemplateOutput
Retrieves the details of the specified template.
2730 2731 2732 2733 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2730 def get_template(params = {}, = {}) req = build_request(:get_template, params) req.send_request() end |
#list_admin_accounts(params = {}) ⇒ Types::ListAdminAccountsResponse
Lists the AWS Network Security Manager administrator accounts in the organization.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2794 2795 2796 2797 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2794 def list_admin_accounts(params = {}, = {}) req = build_request(:list_admin_accounts, params) req.send_request() end |
#list_aggregate_resource_synchronization_statuses(params = {}) ⇒ Types::ListAggregateResourceSynchronizationStatusesOutput
Lists the aggregated synchronization statuses of resources across the deployments in your administrator account. You can filter the results by synchronization status and page through them.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2904 2905 2906 2907 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2904 def list_aggregate_resource_synchronization_statuses(params = {}, = {}) req = build_request(:list_aggregate_resource_synchronization_statuses, params) req.send_request() end |
#list_deployment_snapshots(params = {}) ⇒ Types::ListDeploymentSnapshotsOutput
Lists the snapshots of the specified deployment.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2980 2981 2982 2983 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2980 def list_deployment_snapshots(params = {}, = {}) req = build_request(:list_deployment_snapshots, params) req.send_request() end |
#list_deployments(params = {}) ⇒ Types::ListDeploymentsOutput
Lists the deployments in the account. You can filter the results by
status and page through them using maxResults and nextToken.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3057 3058 3059 3060 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3057 def list_deployments(params = {}, = {}) req = build_request(:list_deployments, params) req.send_request() end |
#list_policies(params = {}) ⇒ Types::ListPoliciesOutput
Lists the policies in the account. You can filter the results by
status and page through them using maxResults and nextToken.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3138 3139 3140 3141 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3138 def list_policies(params = {}, = {}) req = build_request(:list_policies, params) req.send_request() end |
#list_policy_snapshots(params = {}) ⇒ Types::ListPolicySnapshotsOutput
Lists the snapshots of the specified policy.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3218 3219 3220 3221 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3218 def list_policy_snapshots(params = {}, = {}) req = build_request(:list_policy_snapshots, params) req.send_request() end |
#list_resource_associations(params = {}) ⇒ Types::ListResourceAssociationsOutput
Lists the resources associated with the specified resource.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3289 3290 3291 3292 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3289 def list_resource_associations(params = {}, = {}) req = build_request(:list_resource_associations, params) req.send_request() end |
#list_resource_synchronization_statuses(params = {}) ⇒ Types::ListResourceSynchronizationStatusesOutput
Lists the synchronization statuses of the resources covered by the specified deployment. You can filter the results by synchronization status and page through them.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3414 3415 3416 3417 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3414 def list_resource_synchronization_statuses(params = {}, = {}) req = build_request(:list_resource_synchronization_statuses, params) req.send_request() end |
#list_rule_snapshots(params = {}) ⇒ Types::ListRuleSnapshotsOutput
Lists the snapshots of the specified rule.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3504 3505 3506 3507 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3504 def list_rule_snapshots(params = {}, = {}) req = build_request(:list_rule_snapshots, params) req.send_request() end |
#list_rules(params = {}) ⇒ Types::ListRulesOutput
Lists the rules in the account. You can filter the results by status
and page through them using maxResults and nextToken.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3585 3586 3587 3588 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3585 def list_rules(params = {}, = {}) req = build_request(:list_rules, params) req.send_request() end |
#list_scope_snapshots(params = {}) ⇒ Types::ListScopeSnapshotsOutput
Lists the snapshots of the specified scope.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3661 3662 3663 3664 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3661 def list_scope_snapshots(params = {}, = {}) req = build_request(:list_scope_snapshots, params) req.send_request() end |
#list_scopes(params = {}) ⇒ Types::ListScopesOutput
Lists the scopes in the account. You can filter the results by status
and page through them using maxResults and nextToken.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3739 3740 3741 3742 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3739 def list_scopes(params = {}, = {}) req = build_request(:list_scopes, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceOutput
Lists the tags associated with the specified resource.
3786 3787 3788 3789 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3786 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#list_template_snapshots(params = {}) ⇒ Types::ListTemplateSnapshotsOutput
Lists the snapshots of the specified template.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3864 3865 3866 3867 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3864 def list_template_snapshots(params = {}, = {}) req = build_request(:list_template_snapshots, params) req.send_request() end |
#list_templates(params = {}) ⇒ Types::ListTemplatesOutput
Lists the templates in the account. You can filter the results by
status and page through them using maxResults and nextToken.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3943 3944 3945 3946 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3943 def list_templates(params = {}, = {}) req = build_request(:list_templates, params) req.send_request() end |
#put_admin_account(params = {}) ⇒ Types::PutAdminAccountResponse
Sets the AWS account that serves as an AWS Network Security Manager administrator account, and optionally configures the scope of resources that the administrator can manage.
You can't set an administrator account again immediately after you remove it, or while the service creates its service-linked role. Retry the request after a few minutes.
4076 4077 4078 4079 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 4076 def put_admin_account(params = {}, = {}) req = build_request(:put_admin_account, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Adds or overwrites the specified tags on the given resource.
4118 4119 4120 4121 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 4118 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes the specified tags from the given resource.
4157 4158 4159 4160 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 4157 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_deployment(params = {}) ⇒ Types::UpdateDeploymentOutput
Updates the specified deployment. To prevent conflicting concurrent
updates, provide the current updateToken. Use isPublished to
publish the update or keep the deployment as a draft.
4341 4342 4343 4344 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 4341 def update_deployment(params = {}, = {}) req = build_request(:update_deployment, params) req.send_request() end |
#update_policy(params = {}) ⇒ Types::UpdatePolicyOutput
Updates the specified policy. To prevent conflicting concurrent
updates, provide the current updateToken. Use isPublished to
publish the update or keep the policy as a draft.
4514 4515 4516 4517 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 4514 def update_policy(params = {}, = {}) req = build_request(:update_policy, params) req.send_request() end |
#update_rule(params = {}) ⇒ Types::UpdateRuleOutput
Updates the specified rule. To prevent conflicting concurrent updates,
provide the current updateToken. Use isPublished to publish the
update or keep the rule as a draft.
4654 4655 4656 4657 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 4654 def update_rule(params = {}, = {}) req = build_request(:update_rule, params) req.send_request() end |
#update_scope(params = {}) ⇒ Types::UpdateScopeOutput
Updates the specified scope. To prevent conflicting concurrent
updates, provide the current updateToken. Use isPublished to
publish the update or keep the scope as a draft.
4888 4889 4890 4891 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 4888 def update_scope(params = {}, = {}) req = build_request(:update_scope, params) req.send_request() end |
#update_template(params = {}) ⇒ Types::UpdateTemplateOutput
Updates the specified template. To prevent conflicting concurrent
updates, provide the current updateToken. Use isPublished to
publish the update or keep the template as a draft.
5014 5015 5016 5017 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 5014 def update_template(params = {}, = {}) req = build_request(:update_template, params) req.send_request() end |