CreateGlobalInferenceGatewayRequest
¶
Source code in docs_src/capo_sagemaker/types/create_global_inference_gateway_request.py
client_token
instance-attribute
¶
client_token: NotRequired[GlobalInferenceGatewayClientToken]
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. An idempotent operation completes no more than one time. If you don't specify a client token, the Amazon Web Services SDKs and the Amazon Web Services CLI generate one for you.
execution_role_arn
instance-attribute
¶
execution_role_arn: NotRequired[GlobalInferenceGatewayExecutionRoleArn]
The Amazon Resource Name (ARN) of the IAM role that the global inference gateway assumes to access your SageMaker HyperPod clusters. The role must be in your account and partition, and you must have iam:PassRole permission for it. You can't change the role after you create the global inference gateway.
gateways
instance-attribute
¶
gateways: NotRequired[GlobalInferenceGatewayMembers]
The 1 to 10 in-cluster inference gateways to add to the global inference gateway. A global inference gateway must always have at least one in-cluster inference gateway, so RemoveInferenceGateway can't remove the last one.
name
instance-attribute
¶
name: NotRequired[GlobalInferenceGatewayName]
The name of the global inference gateway. The name must be unique in your account in the current Region, and is case-sensitive. The name can't be exactly 12 lowercase letters or digits, because the global inference gateway ID uses that format.
routing
instance-attribute
¶
routing: NotRequired[GlobalInferenceGatewayRouting]
The routing configuration of the global inference gateway. If you omit it, the global inference gateway uses default routing weights.
tags
instance-attribute
¶
tags: NotRequired[TagList]
Custom tags for managing the global inference gateway as an Amazon Web Services resource. You can add tags to your global inference gateway in the same way you add them in other Amazon Web Services services that support tagging. For more information about tagging Amazon Web Services resources, see Tagging your Amazon Web Services resources in the Tagging Amazon Web Services Resources User Guide.
The global inference gateway doesn't return tags in its responses. To read the tags, use ListTags.