OutpostsClient#
Auto-generated documentation for Outposts type annotations stubs module mypy-boto3-outposts.
OutpostsClient#
Type annotations and code completion for boto3.client("outposts")
.
boto3 documentation
# OutpostsClient usage example
from boto3.session import Session
from mypy_boto3_outposts.client import OutpostsClient
def get_outposts_client() -> OutpostsClient:
return Session().client("outposts")
Exceptions#
boto3
client exceptions are generated in runtime.
This class provides code completion for boto3.client("outposts").exceptions
structure.
# Exceptions.exceptions usage example
client = boto3.client("outposts")
try:
do_something(client)
except (
client.exceptions.AccessDeniedException,
client.exceptions.ClientError,
client.exceptions.ConflictException,
client.exceptions.InternalServerException,
client.exceptions.NotFoundException,
client.exceptions.ServiceQuotaExceededException,
client.exceptions.ValidationException,
) as e:
print(e)
# Exceptions.exceptions type checking example
from mypy_boto3_outposts.client import Exceptions
def handle_error(exc: Exceptions.AccessDeniedException) -> None:
...
Methods#
can_paginate#
Type annotations and code completion for boto3.client("outposts").can_paginate
method.
boto3 documentation
# can_paginate method definition
def can_paginate(
self,
operation_name: str,
) -> bool:
...
generate_presigned_url#
Type annotations and code completion for boto3.client("outposts").generate_presigned_url
method.
boto3 documentation
# generate_presigned_url method definition
def generate_presigned_url(
self,
ClientMethod: str,
Params: Mapping[str, Any] = ...,
ExpiresIn: int = 3600,
HttpMethod: str = ...,
) -> str:
...
cancel_capacity_task#
Cancels the capacity task.
Type annotations and code completion for boto3.client("outposts").cancel_capacity_task
method.
boto3 documentation
# cancel_capacity_task method definition
def cancel_capacity_task(
self,
*,
CapacityTaskId: str,
OutpostIdentifier: str,
) -> dict[str, Any]:
...
# cancel_capacity_task method usage example with argument unpacking
kwargs: CancelCapacityTaskInputRequestTypeDef = { # (1)
"CapacityTaskId": ...,
"OutpostIdentifier": ...,
}
parent.cancel_capacity_task(**kwargs)
cancel_order#
Cancels the specified order for an Outpost.
Type annotations and code completion for boto3.client("outposts").cancel_order
method.
boto3 documentation
# cancel_order method definition
def cancel_order(
self,
*,
OrderId: str,
) -> dict[str, Any]:
...
# cancel_order method usage example with argument unpacking
kwargs: CancelOrderInputRequestTypeDef = { # (1)
"OrderId": ...,
}
parent.cancel_order(**kwargs)
create_order#
Creates an order for an Outpost.
Type annotations and code completion for boto3.client("outposts").create_order
method.
boto3 documentation
# create_order method definition
def create_order(
self,
*,
OutpostIdentifier: str,
LineItems: Sequence[LineItemRequestTypeDef], # (1)
PaymentOption: PaymentOptionType, # (2)
PaymentTerm: PaymentTermType = ..., # (3)
) -> CreateOrderOutputTypeDef: # (4)
...
# create_order method usage example with argument unpacking
kwargs: CreateOrderInputRequestTypeDef = { # (1)
"OutpostIdentifier": ...,
"LineItems": ...,
"PaymentOption": ...,
}
parent.create_order(**kwargs)
create_outpost#
Creates an Outpost.
Type annotations and code completion for boto3.client("outposts").create_outpost
method.
boto3 documentation
# create_outpost method definition
def create_outpost(
self,
*,
Name: str,
SiteId: str,
Description: str = ...,
AvailabilityZone: str = ...,
AvailabilityZoneId: str = ...,
Tags: Mapping[str, str] = ...,
SupportedHardwareType: SupportedHardwareTypeType = ..., # (1)
) -> CreateOutpostOutputTypeDef: # (2)
...
# create_outpost method usage example with argument unpacking
kwargs: CreateOutpostInputRequestTypeDef = { # (1)
"Name": ...,
"SiteId": ...,
}
parent.create_outpost(**kwargs)
create_site#
Creates a site for an Outpost.
Type annotations and code completion for boto3.client("outposts").create_site
method.
boto3 documentation
# create_site method definition
def create_site(
self,
*,
Name: str,
Description: str = ...,
Notes: str = ...,
Tags: Mapping[str, str] = ...,
OperatingAddress: AddressTypeDef = ..., # (1)
ShippingAddress: AddressTypeDef = ..., # (1)
RackPhysicalProperties: RackPhysicalPropertiesTypeDef = ..., # (3)
) -> CreateSiteOutputTypeDef: # (4)
...
# create_site method usage example with argument unpacking
kwargs: CreateSiteInputRequestTypeDef = { # (1)
"Name": ...,
}
parent.create_site(**kwargs)
delete_outpost#
Deletes the specified Outpost.
Type annotations and code completion for boto3.client("outposts").delete_outpost
method.
boto3 documentation
# delete_outpost method definition
def delete_outpost(
self,
*,
OutpostId: str,
) -> dict[str, Any]:
...
# delete_outpost method usage example with argument unpacking
kwargs: DeleteOutpostInputRequestTypeDef = { # (1)
"OutpostId": ...,
}
parent.delete_outpost(**kwargs)
delete_site#
Deletes the specified site.
Type annotations and code completion for boto3.client("outposts").delete_site
method.
boto3 documentation
# delete_site method definition
def delete_site(
self,
*,
SiteId: str,
) -> dict[str, Any]:
...
# delete_site method usage example with argument unpacking
kwargs: DeleteSiteInputRequestTypeDef = { # (1)
"SiteId": ...,
}
parent.delete_site(**kwargs)
get_capacity_task#
Gets details of the specified capacity task.
Type annotations and code completion for boto3.client("outposts").get_capacity_task
method.
boto3 documentation
# get_capacity_task method definition
def get_capacity_task(
self,
*,
CapacityTaskId: str,
OutpostIdentifier: str,
) -> GetCapacityTaskOutputTypeDef: # (1)
...
# get_capacity_task method usage example with argument unpacking
kwargs: GetCapacityTaskInputRequestTypeDef = { # (1)
"CapacityTaskId": ...,
"OutpostIdentifier": ...,
}
parent.get_capacity_task(**kwargs)
get_catalog_item#
Gets information about the specified catalog item.
Type annotations and code completion for boto3.client("outposts").get_catalog_item
method.
boto3 documentation
# get_catalog_item method definition
def get_catalog_item(
self,
*,
CatalogItemId: str,
) -> GetCatalogItemOutputTypeDef: # (1)
...
# get_catalog_item method usage example with argument unpacking
kwargs: GetCatalogItemInputRequestTypeDef = { # (1)
"CatalogItemId": ...,
}
parent.get_catalog_item(**kwargs)
get_connection#
Amazon Web Services uses this action to install Outpost servers.
Type annotations and code completion for boto3.client("outposts").get_connection
method.
boto3 documentation
# get_connection method definition
def get_connection(
self,
*,
ConnectionId: str,
) -> GetConnectionResponseTypeDef: # (1)
...
# get_connection method usage example with argument unpacking
kwargs: GetConnectionRequestRequestTypeDef = { # (1)
"ConnectionId": ...,
}
parent.get_connection(**kwargs)
get_order#
Gets information about the specified order.
Type annotations and code completion for boto3.client("outposts").get_order
method.
boto3 documentation
# get_order method definition
def get_order(
self,
*,
OrderId: str,
) -> GetOrderOutputTypeDef: # (1)
...
# get_order method usage example with argument unpacking
kwargs: GetOrderInputRequestTypeDef = { # (1)
"OrderId": ...,
}
parent.get_order(**kwargs)
get_outpost#
Gets information about the specified Outpost.
Type annotations and code completion for boto3.client("outposts").get_outpost
method.
boto3 documentation
# get_outpost method definition
def get_outpost(
self,
*,
OutpostId: str,
) -> GetOutpostOutputTypeDef: # (1)
...
# get_outpost method usage example with argument unpacking
kwargs: GetOutpostInputRequestTypeDef = { # (1)
"OutpostId": ...,
}
parent.get_outpost(**kwargs)
get_outpost_instance_types#
Gets the instance types for the specified Outpost.
Type annotations and code completion for boto3.client("outposts").get_outpost_instance_types
method.
boto3 documentation
# get_outpost_instance_types method definition
def get_outpost_instance_types(
self,
*,
OutpostId: str,
NextToken: str = ...,
MaxResults: int = ...,
) -> GetOutpostInstanceTypesOutputTypeDef: # (1)
...
# get_outpost_instance_types method usage example with argument unpacking
kwargs: GetOutpostInstanceTypesInputRequestTypeDef = { # (1)
"OutpostId": ...,
}
parent.get_outpost_instance_types(**kwargs)
get_outpost_supported_instance_types#
Gets the instance types that an Outpost can support in
InstanceTypeCapacity
.
Type annotations and code completion for boto3.client("outposts").get_outpost_supported_instance_types
method.
boto3 documentation
# get_outpost_supported_instance_types method definition
def get_outpost_supported_instance_types(
self,
*,
OutpostIdentifier: str,
OrderId: str = ...,
MaxResults: int = ...,
NextToken: str = ...,
) -> GetOutpostSupportedInstanceTypesOutputTypeDef: # (1)
...
# get_outpost_supported_instance_types method usage example with argument unpacking
kwargs: GetOutpostSupportedInstanceTypesInputRequestTypeDef = { # (1)
"OutpostIdentifier": ...,
}
parent.get_outpost_supported_instance_types(**kwargs)
get_site#
Gets information about the specified Outpost site.
Type annotations and code completion for boto3.client("outposts").get_site
method.
boto3 documentation
# get_site method definition
def get_site(
self,
*,
SiteId: str,
) -> GetSiteOutputTypeDef: # (1)
...
# get_site method usage example with argument unpacking
kwargs: GetSiteInputRequestTypeDef = { # (1)
"SiteId": ...,
}
parent.get_site(**kwargs)
get_site_address#
Gets the site address of the specified site.
Type annotations and code completion for boto3.client("outposts").get_site_address
method.
boto3 documentation
# get_site_address method definition
def get_site_address(
self,
*,
SiteId: str,
AddressType: AddressTypeType, # (1)
) -> GetSiteAddressOutputTypeDef: # (2)
...
# get_site_address method usage example with argument unpacking
kwargs: GetSiteAddressInputRequestTypeDef = { # (1)
"SiteId": ...,
"AddressType": ...,
}
parent.get_site_address(**kwargs)
list_asset_instances#
A list of Amazon EC2 instances, belonging to all accounts, running on the specified Outpost.
Type annotations and code completion for boto3.client("outposts").list_asset_instances
method.
boto3 documentation
# list_asset_instances method definition
def list_asset_instances(
self,
*,
OutpostIdentifier: str,
AssetIdFilter: Sequence[str] = ...,
InstanceTypeFilter: Sequence[str] = ...,
AccountIdFilter: Sequence[str] = ...,
AwsServiceFilter: Sequence[AWSServiceNameType] = ..., # (1)
MaxResults: int = ...,
NextToken: str = ...,
) -> ListAssetInstancesOutputTypeDef: # (2)
...
# list_asset_instances method usage example with argument unpacking
kwargs: ListAssetInstancesInputRequestTypeDef = { # (1)
"OutpostIdentifier": ...,
}
parent.list_asset_instances(**kwargs)
list_assets#
Lists the hardware assets for the specified Outpost.
Type annotations and code completion for boto3.client("outposts").list_assets
method.
boto3 documentation
# list_assets method definition
def list_assets(
self,
*,
OutpostIdentifier: str,
HostIdFilter: Sequence[str] = ...,
MaxResults: int = ...,
NextToken: str = ...,
StatusFilter: Sequence[AssetStateType] = ..., # (1)
) -> ListAssetsOutputTypeDef: # (2)
...
# list_assets method usage example with argument unpacking
kwargs: ListAssetsInputRequestTypeDef = { # (1)
"OutpostIdentifier": ...,
}
parent.list_assets(**kwargs)
list_blocking_instances_for_capacity_task#
A list of Amazon EC2 instances running on the Outpost and belonging to the account that initiated the capacity task.
Type annotations and code completion for boto3.client("outposts").list_blocking_instances_for_capacity_task
method.
boto3 documentation
# list_blocking_instances_for_capacity_task method definition
def list_blocking_instances_for_capacity_task(
self,
*,
OutpostIdentifier: str,
CapacityTaskId: str,
MaxResults: int = ...,
NextToken: str = ...,
) -> ListBlockingInstancesForCapacityTaskOutputTypeDef: # (1)
...
# list_blocking_instances_for_capacity_task method usage example with argument unpacking
kwargs: ListBlockingInstancesForCapacityTaskInputRequestTypeDef = { # (1)
"OutpostIdentifier": ...,
"CapacityTaskId": ...,
}
parent.list_blocking_instances_for_capacity_task(**kwargs)
list_capacity_tasks#
Lists the capacity tasks for your Amazon Web Services account.
Type annotations and code completion for boto3.client("outposts").list_capacity_tasks
method.
boto3 documentation
# list_capacity_tasks method definition
def list_capacity_tasks(
self,
*,
OutpostIdentifierFilter: str = ...,
MaxResults: int = ...,
NextToken: str = ...,
CapacityTaskStatusFilter: Sequence[CapacityTaskStatusType] = ..., # (1)
) -> ListCapacityTasksOutputTypeDef: # (2)
...
# list_capacity_tasks method usage example with argument unpacking
kwargs: ListCapacityTasksInputRequestTypeDef = { # (1)
"OutpostIdentifierFilter": ...,
}
parent.list_capacity_tasks(**kwargs)
list_catalog_items#
Lists the items in the catalog.
Type annotations and code completion for boto3.client("outposts").list_catalog_items
method.
boto3 documentation
# list_catalog_items method definition
def list_catalog_items(
self,
*,
NextToken: str = ...,
MaxResults: int = ...,
ItemClassFilter: Sequence[CatalogItemClassType] = ..., # (1)
SupportedStorageFilter: Sequence[SupportedStorageEnumType] = ..., # (2)
EC2FamilyFilter: Sequence[str] = ...,
) -> ListCatalogItemsOutputTypeDef: # (3)
...
# list_catalog_items method usage example with argument unpacking
kwargs: ListCatalogItemsInputRequestTypeDef = { # (1)
"NextToken": ...,
}
parent.list_catalog_items(**kwargs)
list_orders#
Lists the Outpost orders for your Amazon Web Services account.
Type annotations and code completion for boto3.client("outposts").list_orders
method.
boto3 documentation
# list_orders method definition
def list_orders(
self,
*,
OutpostIdentifierFilter: str = ...,
NextToken: str = ...,
MaxResults: int = ...,
) -> ListOrdersOutputTypeDef: # (1)
...
# list_orders method usage example with argument unpacking
kwargs: ListOrdersInputRequestTypeDef = { # (1)
"OutpostIdentifierFilter": ...,
}
parent.list_orders(**kwargs)
list_outposts#
Lists the Outposts for your Amazon Web Services account.
Type annotations and code completion for boto3.client("outposts").list_outposts
method.
boto3 documentation
# list_outposts method definition
def list_outposts(
self,
*,
NextToken: str = ...,
MaxResults: int = ...,
LifeCycleStatusFilter: Sequence[str] = ...,
AvailabilityZoneFilter: Sequence[str] = ...,
AvailabilityZoneIdFilter: Sequence[str] = ...,
) -> ListOutpostsOutputTypeDef: # (1)
...
# list_outposts method usage example with argument unpacking
kwargs: ListOutpostsInputRequestTypeDef = { # (1)
"NextToken": ...,
}
parent.list_outposts(**kwargs)
list_sites#
Lists the Outpost sites for your Amazon Web Services account.
Type annotations and code completion for boto3.client("outposts").list_sites
method.
boto3 documentation
# list_sites method definition
def list_sites(
self,
*,
NextToken: str = ...,
MaxResults: int = ...,
OperatingAddressCountryCodeFilter: Sequence[str] = ...,
OperatingAddressStateOrRegionFilter: Sequence[str] = ...,
OperatingAddressCityFilter: Sequence[str] = ...,
) -> ListSitesOutputTypeDef: # (1)
...
# list_sites method usage example with argument unpacking
kwargs: ListSitesInputRequestTypeDef = { # (1)
"NextToken": ...,
}
parent.list_sites(**kwargs)
list_tags_for_resource#
Lists the tags for the specified resource.
Type annotations and code completion for boto3.client("outposts").list_tags_for_resource
method.
boto3 documentation
# list_tags_for_resource method definition
def list_tags_for_resource(
self,
*,
ResourceArn: str,
) -> ListTagsForResourceResponseTypeDef: # (1)
...
# list_tags_for_resource method usage example with argument unpacking
kwargs: ListTagsForResourceRequestRequestTypeDef = { # (1)
"ResourceArn": ...,
}
parent.list_tags_for_resource(**kwargs)
start_capacity_task#
Starts the specified capacity task.
Type annotations and code completion for boto3.client("outposts").start_capacity_task
method.
boto3 documentation
# start_capacity_task method definition
def start_capacity_task(
self,
*,
OutpostIdentifier: str,
InstancePools: Sequence[InstanceTypeCapacityTypeDef], # (1)
OrderId: str = ...,
InstancesToExclude: InstancesToExcludeTypeDef = ..., # (2)
DryRun: bool = ...,
TaskActionOnBlockingInstances: TaskActionOnBlockingInstancesType = ..., # (3)
) -> StartCapacityTaskOutputTypeDef: # (4)
...
- See InstanceTypeCapacityTypeDef
- See InstancesToExcludeTypeDef
- See TaskActionOnBlockingInstancesType
- See StartCapacityTaskOutputTypeDef
# start_capacity_task method usage example with argument unpacking
kwargs: StartCapacityTaskInputRequestTypeDef = { # (1)
"OutpostIdentifier": ...,
"InstancePools": ...,
}
parent.start_capacity_task(**kwargs)
start_connection#
Amazon Web Services uses this action to install Outpost servers.
Type annotations and code completion for boto3.client("outposts").start_connection
method.
boto3 documentation
# start_connection method definition
def start_connection(
self,
*,
AssetId: str,
ClientPublicKey: str,
NetworkInterfaceDeviceIndex: int,
DeviceSerialNumber: str = ...,
) -> StartConnectionResponseTypeDef: # (1)
...
# start_connection method usage example with argument unpacking
kwargs: StartConnectionRequestRequestTypeDef = { # (1)
"AssetId": ...,
"ClientPublicKey": ...,
"NetworkInterfaceDeviceIndex": ...,
}
parent.start_connection(**kwargs)
tag_resource#
Adds tags to the specified resource.
Type annotations and code completion for boto3.client("outposts").tag_resource
method.
boto3 documentation
# tag_resource method definition
def tag_resource(
self,
*,
ResourceArn: str,
Tags: Mapping[str, str],
) -> dict[str, Any]:
...
# tag_resource method usage example with argument unpacking
kwargs: TagResourceRequestRequestTypeDef = { # (1)
"ResourceArn": ...,
"Tags": ...,
}
parent.tag_resource(**kwargs)
untag_resource#
Removes tags from the specified resource.
Type annotations and code completion for boto3.client("outposts").untag_resource
method.
boto3 documentation
# untag_resource method definition
def untag_resource(
self,
*,
ResourceArn: str,
TagKeys: Sequence[str],
) -> dict[str, Any]:
...
# untag_resource method usage example with argument unpacking
kwargs: UntagResourceRequestRequestTypeDef = { # (1)
"ResourceArn": ...,
"TagKeys": ...,
}
parent.untag_resource(**kwargs)
update_outpost#
Updates an Outpost.
Type annotations and code completion for boto3.client("outposts").update_outpost
method.
boto3 documentation
# update_outpost method definition
def update_outpost(
self,
*,
OutpostId: str,
Name: str = ...,
Description: str = ...,
SupportedHardwareType: SupportedHardwareTypeType = ..., # (1)
) -> UpdateOutpostOutputTypeDef: # (2)
...
# update_outpost method usage example with argument unpacking
kwargs: UpdateOutpostInputRequestTypeDef = { # (1)
"OutpostId": ...,
}
parent.update_outpost(**kwargs)
update_site#
Updates the specified site.
Type annotations and code completion for boto3.client("outposts").update_site
method.
boto3 documentation
# update_site method definition
def update_site(
self,
*,
SiteId: str,
Name: str = ...,
Description: str = ...,
Notes: str = ...,
) -> UpdateSiteOutputTypeDef: # (1)
...
# update_site method usage example with argument unpacking
kwargs: UpdateSiteInputRequestTypeDef = { # (1)
"SiteId": ...,
}
parent.update_site(**kwargs)
update_site_address#
Updates the address of the specified site.
Type annotations and code completion for boto3.client("outposts").update_site_address
method.
boto3 documentation
# update_site_address method definition
def update_site_address(
self,
*,
SiteId: str,
AddressType: AddressTypeType, # (1)
Address: AddressTypeDef, # (2)
) -> UpdateSiteAddressOutputTypeDef: # (3)
...
# update_site_address method usage example with argument unpacking
kwargs: UpdateSiteAddressInputRequestTypeDef = { # (1)
"SiteId": ...,
"AddressType": ...,
"Address": ...,
}
parent.update_site_address(**kwargs)
update_site_rack_physical_properties#
Update the physical and logistical details for a rack at a site.
Type annotations and code completion for boto3.client("outposts").update_site_rack_physical_properties
method.
boto3 documentation
# update_site_rack_physical_properties method definition
def update_site_rack_physical_properties(
self,
*,
SiteId: str,
PowerDrawKva: PowerDrawKvaType = ..., # (1)
PowerPhase: PowerPhaseType = ..., # (2)
PowerConnector: PowerConnectorType = ..., # (3)
PowerFeedDrop: PowerFeedDropType = ..., # (4)
UplinkGbps: UplinkGbpsType = ..., # (5)
UplinkCount: UplinkCountType = ..., # (6)
FiberOpticCableType: FiberOpticCableTypeType = ..., # (7)
OpticalStandard: OpticalStandardType = ..., # (8)
MaximumSupportedWeightLbs: MaximumSupportedWeightLbsType = ..., # (9)
) -> UpdateSiteRackPhysicalPropertiesOutputTypeDef: # (10)
...
- See PowerDrawKvaType
- See PowerPhaseType
- See PowerConnectorType
- See PowerFeedDropType
- See UplinkGbpsType
- See UplinkCountType
- See FiberOpticCableTypeType
- See OpticalStandardType
- See MaximumSupportedWeightLbsType
- See UpdateSiteRackPhysicalPropertiesOutputTypeDef
# update_site_rack_physical_properties method usage example with argument unpacking
kwargs: UpdateSiteRackPhysicalPropertiesInputRequestTypeDef = { # (1)
"SiteId": ...,
}
parent.update_site_rack_physical_properties(**kwargs)
get_paginator#
Type annotations and code completion for boto3.client("outposts").get_paginator
method with overloads.
client.get_paginator("get_outpost_instance_types")
-> GetOutpostInstanceTypesPaginatorclient.get_paginator("get_outpost_supported_instance_types")
-> GetOutpostSupportedInstanceTypesPaginatorclient.get_paginator("list_asset_instances")
-> ListAssetInstancesPaginatorclient.get_paginator("list_assets")
-> ListAssetsPaginatorclient.get_paginator("list_blocking_instances_for_capacity_task")
-> ListBlockingInstancesForCapacityTaskPaginatorclient.get_paginator("list_capacity_tasks")
-> ListCapacityTasksPaginatorclient.get_paginator("list_catalog_items")
-> ListCatalogItemsPaginatorclient.get_paginator("list_orders")
-> ListOrdersPaginatorclient.get_paginator("list_outposts")
-> ListOutpostsPaginatorclient.get_paginator("list_sites")
-> ListSitesPaginator