Skip to content

Type definitions#

Index > FMS > Type definitions

Auto-generated documentation for FMS type annotations stubs module mypy-boto3-fms.

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

AccountScopeTypeDef#

# AccountScopeTypeDef definition

class AccountScopeTypeDef(TypedDict):
    Accounts: NotRequired[List[str]],
    AllAccountsEnabled: NotRequired[bool],
    ExcludeSpecifiedAccounts: NotRequired[bool],

ActionTargetTypeDef#

# ActionTargetTypeDef definition

class ActionTargetTypeDef(TypedDict):
    ResourceId: NotRequired[str],
    Description: NotRequired[str],

AdminAccountSummaryTypeDef#

# AdminAccountSummaryTypeDef definition

class AdminAccountSummaryTypeDef(TypedDict):
    AdminAccount: NotRequired[str],
    DefaultAdmin: NotRequired[bool],
    Status: NotRequired[OrganizationStatusType],  # (1)
  1. See OrganizationStatusType

OrganizationalUnitScopeTypeDef#

# OrganizationalUnitScopeTypeDef definition

class OrganizationalUnitScopeTypeDef(TypedDict):
    OrganizationalUnits: NotRequired[List[str]],
    AllOrganizationalUnitsEnabled: NotRequired[bool],
    ExcludeSpecifiedOrganizationalUnits: NotRequired[bool],

PolicyTypeScopeTypeDef#

# PolicyTypeScopeTypeDef definition

class PolicyTypeScopeTypeDef(TypedDict):
    PolicyTypes: NotRequired[List[SecurityServiceTypeType]],  # (1)
    AllPolicyTypesEnabled: NotRequired[bool],
  1. See SecurityServiceTypeType

RegionScopeTypeDef#

# RegionScopeTypeDef definition

class RegionScopeTypeDef(TypedDict):
    Regions: NotRequired[List[str]],
    AllRegionsEnabled: NotRequired[bool],

AppTypeDef#

# AppTypeDef definition

class AppTypeDef(TypedDict):
    AppName: str,
    Protocol: str,
    Port: int,

AssociateAdminAccountRequestRequestTypeDef#

# AssociateAdminAccountRequestRequestTypeDef definition

class AssociateAdminAccountRequestRequestTypeDef(TypedDict):
    AdminAccount: str,

AssociateThirdPartyFirewallRequestRequestTypeDef#

# AssociateThirdPartyFirewallRequestRequestTypeDef definition

class AssociateThirdPartyFirewallRequestRequestTypeDef(TypedDict):
    ThirdPartyFirewall: ThirdPartyFirewallType,  # (1)
  1. See ThirdPartyFirewallType

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

AwsEc2NetworkInterfaceViolationTypeDef#

# AwsEc2NetworkInterfaceViolationTypeDef definition

class AwsEc2NetworkInterfaceViolationTypeDef(TypedDict):
    ViolationTarget: NotRequired[str],
    ViolatingSecurityGroups: NotRequired[List[str]],

PartialMatchTypeDef#

# PartialMatchTypeDef definition

class PartialMatchTypeDef(TypedDict):
    Reference: NotRequired[str],
    TargetViolationReasons: NotRequired[List[str]],

BatchAssociateResourceRequestRequestTypeDef#

# BatchAssociateResourceRequestRequestTypeDef definition

class BatchAssociateResourceRequestRequestTypeDef(TypedDict):
    ResourceSetIdentifier: str,
    Items: Sequence[str],

FailedItemTypeDef#

# FailedItemTypeDef definition

class FailedItemTypeDef(TypedDict):
    URI: NotRequired[str],
    Reason: NotRequired[FailedItemReasonType],  # (1)
  1. See FailedItemReasonType

BatchDisassociateResourceRequestRequestTypeDef#

# BatchDisassociateResourceRequestRequestTypeDef definition

class BatchDisassociateResourceRequestRequestTypeDef(TypedDict):
    ResourceSetIdentifier: str,
    Items: Sequence[str],

ComplianceViolatorTypeDef#

# ComplianceViolatorTypeDef definition

class ComplianceViolatorTypeDef(TypedDict):
    ResourceId: NotRequired[str],
    ViolationReason: NotRequired[ViolationReasonType],  # (1)
    ResourceType: NotRequired[str],
    Metadata: NotRequired[Dict[str, str]],
  1. See ViolationReasonType

DeleteAppsListRequestRequestTypeDef#

# DeleteAppsListRequestRequestTypeDef definition

class DeleteAppsListRequestRequestTypeDef(TypedDict):
    ListId: str,

DeletePolicyRequestRequestTypeDef#

# DeletePolicyRequestRequestTypeDef definition

class DeletePolicyRequestRequestTypeDef(TypedDict):
    PolicyId: str,
    DeleteAllPolicyResources: NotRequired[bool],

DeleteProtocolsListRequestRequestTypeDef#

# DeleteProtocolsListRequestRequestTypeDef definition

class DeleteProtocolsListRequestRequestTypeDef(TypedDict):
    ListId: str,

DeleteResourceSetRequestRequestTypeDef#

# DeleteResourceSetRequestRequestTypeDef definition

class DeleteResourceSetRequestRequestTypeDef(TypedDict):
    Identifier: str,

DisassociateThirdPartyFirewallRequestRequestTypeDef#

# DisassociateThirdPartyFirewallRequestRequestTypeDef definition

class DisassociateThirdPartyFirewallRequestRequestTypeDef(TypedDict):
    ThirdPartyFirewall: ThirdPartyFirewallType,  # (1)
  1. See ThirdPartyFirewallType

DiscoveredResource