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.
479 480 481 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 479 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.
650 651 652 653 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 650 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.
757 758 759 760 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 757 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.
933 934 935 936 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 933 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.
1047 1048 1049 1050 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1047 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.
1190 1191 1192 1193 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1190 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.
1286 1287 1288 1289 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1286 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.
1511 1512 1513 1514 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1511 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.
1638 1639 1640 1641 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1638 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.
1767 1768 1769 1770 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1767 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.
1864 1865 1866 1867 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1864 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.
1896 1897 1898 1899 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1896 def delete_admin_account(params = {}, = {}) req = build_request(:delete_admin_account, params) req.send_request() end |
#delete_deployment(params = {}) ⇒ Struct
Deletes the specified deployment.
1929 1930 1931 1932 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1929 def delete_deployment(params = {}, = {}) req = build_request(:delete_deployment, params) req.send_request() end |
#delete_policy(params = {}) ⇒ Struct
Deletes the specified policy.
1961 1962 1963 1964 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1961 def delete_policy(params = {}, = {}) req = build_request(:delete_policy, params) req.send_request() end |
#delete_rule(params = {}) ⇒ Struct
Deletes the specified rule.
1993 1994 1995 1996 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1993 def delete_rule(params = {}, = {}) req = build_request(:delete_rule, params) req.send_request() end |
#delete_scope(params = {}) ⇒ Struct
Deletes the specified scope.
2025 2026 2027 2028 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2025 def delete_scope(params = {}, = {}) req = build_request(:delete_scope, params) req.send_request() end |
#delete_template(params = {}) ⇒ Struct
Deletes the specified template.
2057 2058 2059 2060 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2057 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.
2141 2142 2143 2144 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2141 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.
2225 2226 2227 2228 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2225 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.
2341 2342 2343 2344 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2341 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.
2439 2440 2441 2442 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2439 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.
2541 2542 2543 2544 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2541 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.
2651 2652 2653 2654 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2651 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.
2731 2732 2733 2734 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2731 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.
2795 2796 2797 2798 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2795 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.
2905 2906 2907 2908 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2905 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.
2981 2982 2983 2984 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2981 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.
3058 3059 3060 3061 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3058 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.
3139 3140 3141 3142 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3139 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.
3219 3220 3221 3222 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3219 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.
3290 3291 3292 3293 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3290 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.
3415 3416 3417 3418 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3415 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.
3505 3506 3507 3508 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3505 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.
3586 3587 3588 3589 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3586 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.
3662 3663 3664 3665 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3662 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.
3740 3741 3742 3743 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3740 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.
3787 3788 3789 3790 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3787 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.
3865 3866 3867 3868 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3865 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.
3944 3945 3946 3947 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3944 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.
4077 4078 4079 4080 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 4077 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.
4119 4120 4121 4122 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 4119 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.
4158 4159 4160 4161 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 4158 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.
4342 4343 4344 4345 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 4342 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.
4515 4516 4517 4518 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 4515 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.
4655 4656 4657 4658 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 4655 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.
4889 4890 4891 4892 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 4889 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.
5015 5016 5017 5018 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 5015 def update_template(params = {}, = {}) req = build_request(:update_template, params) req.send_request() end |