Skip to content

EC2  >  Operations  >  create_network_insights_access_scope

create_network_insights_access_scope

Operation

create_network_insights_access_scope async

create_network_insights_access_scope(input: CreateNetworkInsightsAccessScopeInput, plugins: list[Plugin] | None = None) -> CreateNetworkInsightsAccessScopeOutput

Creates a Network Access Scope.

Amazon Web Services Network Access Analyzer enables cloud networking and cloud operations teams to verify that their networks on Amazon Web Services conform to their network security and governance objectives. For more information, see the Amazon Web Services Network Access Analyzer Guide.

Parameters:

Name Type Description Default
input CreateNetworkInsightsAccessScopeInput

An instance of CreateNetworkInsightsAccessScopeInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
CreateNetworkInsightsAccessScopeOutput

An instance of CreateNetworkInsightsAccessScopeOutput.

Input

CreateNetworkInsightsAccessScopeInput dataclass

Bases: _SerdeShape

Dataclass for CreateNetworkInsightsAccessScopeInput structure.

Attributes

client_token class-attribute instance-attribute
client_token: str | None = ...

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

This field is autopopulated if not provided.

dry_run class-attribute instance-attribute
dry_run: bool | None = ...

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

exclude_paths class-attribute instance-attribute
exclude_paths: list[AccessScopePathRequest] | None = ...

The paths to exclude.

match_paths class-attribute instance-attribute
match_paths: list[AccessScopePathRequest] | None = ...

The paths to match.

tag_specifications class-attribute instance-attribute
tag_specifications: list[TagSpecification] | None = ...

The tags to apply.

Output

CreateNetworkInsightsAccessScopeOutput dataclass

Bases: _SerdeShape

Dataclass for CreateNetworkInsightsAccessScopeOutput structure.

Attributes

network_insights_access_scope class-attribute instance-attribute
network_insights_access_scope: NetworkInsightsAccessScope | None = ...

The Network Access Scope.

network_insights_access_scope_content class-attribute instance-attribute
network_insights_access_scope_content: NetworkInsightsAccessScopeContent | None = ...

The Network Access Scope content.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.