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_entity_coverages(params = {}) ⇒ Types::ListEntityCoveragesOutput
Lists the protected resources that the specified Network Security Manager entity covers.
-
#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_protected_resource_coverages(params = {}) ⇒ Types::ListProtectedResourceCoveragesOutput
Lists the AWS Network Security Manager entities that cover the specified protected resource.
-
#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.
947 948 949 950 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 947 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.
1066 1067 1068 1069 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1066 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.
1209 1210 1211 1212 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1209 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.
1305 1306 1307 1308 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1305 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.
1542 1543 1544 1545 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1542 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.
1671 1672 1673 1674 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1671 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.
1800 1801 1802 1803 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1800 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.
1897 1898 1899 1900 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1897 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.
1929 1930 1931 1932 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1929 def delete_admin_account(params = {}, = {}) req = build_request(:delete_admin_account, params) req.send_request() end |
#delete_deployment(params = {}) ⇒ Struct
Deletes the specified deployment.
1962 1963 1964 1965 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1962 def delete_deployment(params = {}, = {}) req = build_request(:delete_deployment, params) req.send_request() end |
#delete_policy(params = {}) ⇒ Struct
Deletes the specified policy.
1994 1995 1996 1997 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 1994 def delete_policy(params = {}, = {}) req = build_request(:delete_policy, params) req.send_request() end |
#delete_rule(params = {}) ⇒ Struct
Deletes the specified rule.
2026 2027 2028 2029 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2026 def delete_rule(params = {}, = {}) req = build_request(:delete_rule, params) req.send_request() end |
#delete_scope(params = {}) ⇒ Struct
Deletes the specified scope.
2058 2059 2060 2061 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2058 def delete_scope(params = {}, = {}) req = build_request(:delete_scope, params) req.send_request() end |
#delete_template(params = {}) ⇒ Struct
Deletes the specified template.
2090 2091 2092 2093 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2090 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.
2174 2175 2176 2177 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2174 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.
2258 2259 2260 2261 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2258 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.
2374 2375 2376 2377 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2374 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.
2477 2478 2479 2480 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2477 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.
2579 2580 2581 2582 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2579 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.
2691 2692 2693 2694 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2691 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.
2771 2772 2773 2774 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2771 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.
2835 2836 2837 2838 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2835 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.
2950 2951 2952 2953 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 2950 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.
3026 3027 3028 3029 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3026 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.
3103 3104 3105 3106 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3103 def list_deployments(params = {}, = {}) req = build_request(:list_deployments, params) req.send_request() end |
#list_entity_coverages(params = {}) ⇒ Types::ListEntityCoveragesOutput
Lists the protected resources that the specified Network Security Manager entity covers. You can filter the results to the resources owned by a single account and page through them. You must call this operation from the administrator account that owns the Network Security Manager entity.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3168 3169 3170 3171 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3168 def list_entity_coverages(params = {}, = {}) req = build_request(:list_entity_coverages, 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.
3249 3250 3251 3252 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3249 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.
3329 3330 3331 3332 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3329 def list_policy_snapshots(params = {}, = {}) req = build_request(:list_policy_snapshots, params) req.send_request() end |
#list_protected_resource_coverages(params = {}) ⇒ Types::ListProtectedResourceCoveragesOutput
Lists the AWS Network Security Manager entities that cover the specified protected resource. You can filter the results by entity type and page through them. You must own the resource.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3391 3392 3393 3394 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3391 def list_protected_resource_coverages(params = {}, = {}) req = build_request(:list_protected_resource_coverages, 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.
3462 3463 3464 3465 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3462 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.
3592 3593 3594 3595 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3592 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.
3682 3683 3684 3685 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3682 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.
3763 3764 3765 3766 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3763 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.
3840 3841 3842 3843 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3840 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.
3919 3920 3921 3922 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3919 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.
3966 3967 3968 3969 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 3966 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.
4045 4046 4047 4048 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 4045 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.
4134 4135 4136 4137 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 4134 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.
4267 4268 4269 4270 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 4267 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.
4309 4310 4311 4312 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 4309 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.
4348 4349 4350 4351 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 4348 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.
4532 4533 4534 4535 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 4532 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.
4719 4720 4721 4722 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 4719 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.
4859 4860 4861 4862 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 4859 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.
5095 5096 5097 5098 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 5095 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.
5221 5222 5223 5224 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/client.rb', line 5221 def update_template(params = {}, = {}) req = build_request(:update_template, params) req.send_request() end |