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.
471 472 473 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 471 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.
642 643 644 645 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 642 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.
749 750 751 752 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 749 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.
925 926 927 928 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 925 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.
1039 1040 1041 1042 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1039 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.
1182 1183 1184 1185 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1182 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.
1278 1279 1280 1281 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1278 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.
1503 1504 1505 1506 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1503 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.
1630 1631 1632 1633 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1630 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.
1759 1760 1761 1762 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1759 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.
1856 1857 1858 1859 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1856 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.
1888 1889 1890 1891 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1888 def delete_admin_account(params = {}, = {}) req = build_request(:delete_admin_account, params) req.send_request() end |
#delete_deployment(params = {}) ⇒ Struct
Deletes the specified deployment.
1921 1922 1923 1924 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1921 def delete_deployment(params = {}, = {}) req = build_request(:delete_deployment, params) req.send_request() end |
#delete_policy(params = {}) ⇒ Struct
Deletes the specified policy.
1953 1954 1955 1956 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1953 def delete_policy(params = {}, = {}) req = build_request(:delete_policy, params) req.send_request() end |
#delete_rule(params = {}) ⇒ Struct
Deletes the specified rule.
1985 1986 1987 1988 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1985 def delete_rule(params = {}, = {}) req = build_request(:delete_rule, params) req.send_request() end |
#delete_scope(params = {}) ⇒ Struct
Deletes the specified scope.
2017 2018 2019 2020 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2017 def delete_scope(params = {}, = {}) req = build_request(:delete_scope, params) req.send_request() end |
#delete_template(params = {}) ⇒ Struct
Deletes the specified template.
2049 2050 2051 2052 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2049 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.
2133 2134 2135 2136 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2133 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.
2217 2218 2219 2220 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2217 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.
2333 2334 2335 2336 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2333 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.
2431 2432 2433 2434 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2431 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.
2533 2534 2535 2536 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2533 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.
2643 2644 2645 2646 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2643 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.
2723 2724 2725 2726 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2723 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.
2787 2788 2789 2790 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2787 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.
2897 2898 2899 2900 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2897 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.
2973 2974 2975 2976 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2973 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.
3050 3051 3052 3053 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3050 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.
3131 3132 3133 3134 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3131 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.
3211 3212 3213 3214 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3211 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.
3282 3283 3284 3285 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3282 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.
3407 3408 3409 3410 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3407 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.
3497 3498 3499 3500 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3497 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.
3578 3579 3580 3581 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3578 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.
3654 3655 3656 3657 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3654 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.
3732 3733 3734 3735 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3732 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.
3779 3780 3781 3782 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3779 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.
3857 3858 3859 3860 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3857 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.
3936 3937 3938 3939 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3936 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.
4069 4070 4071 4072 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 4069 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.
4111 4112 4113 4114 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 4111 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.
4150 4151 4152 4153 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 4150 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.
4334 4335 4336 4337 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 4334 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.
4507 4508 4509 4510 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 4507 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.
4647 4648 4649 4650 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 4647 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.
4881 4882 4883 4884 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 4881 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.
5007 5008 5009 5010 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 5007 def update_template(params = {}, = {}) req = build_request(:update_template, params) req.send_request() end |