Amazon VPC Lattice 2022-11-30
- Client: Aws\VPCLattice\VPCLatticeClient
- Service ID: vpc-lattice
- Version: 2022-11-30
This page describes the parameters and results for the operations of the Amazon VPC Lattice (2022-11-30), and shows how to use the Aws\VPCLattice\VPCLatticeClient object to call the described operations. This documentation is specific to the 2022-11-30 API version of the service.
Operation Summary
Each of the following operations can be created from a client using
$client->getCommand('CommandName')
, where "CommandName" is the
name of one of the following operations. Note: a command is a value that
encapsulates an operation and the parameters used to create an HTTP request.
You can also create and send a command immediately using the magic methods
available on a client object: $client->commandName(/* parameters */)
.
You can send the command asynchronously (returning a promise) by appending the
word "Async" to the operation name: $client->commandNameAsync(/* parameters */)
.
- BatchUpdateRule ( array $params = [] )
- Updates the listener rules in a batch.
- CreateAccessLogSubscription ( array $params = [] )
- Enables access logs to be sent to Amazon CloudWatch, Amazon S3, and Amazon Kinesis Data Firehose.
- CreateListener ( array $params = [] )
- Creates a listener for a service.
- CreateResourceConfiguration ( array $params = [] )
- Creates a resource configuration.
- CreateResourceGateway ( array $params = [] )
- Creates a resource gateway.
- CreateRule ( array $params = [] )
- Creates a listener rule.
- CreateService ( array $params = [] )
- Creates a service.
- CreateServiceNetwork ( array $params = [] )
- Creates a service network.
- CreateServiceNetworkResourceAssociation ( array $params = [] )
- Associates the specified service network with the specified resource configuration.
- CreateServiceNetworkServiceAssociation ( array $params = [] )
- Associates the specified service with the specified service network.
- CreateServiceNetworkVpcAssociation ( array $params = [] )
- Associates a VPC with a service network.
- CreateTargetGroup ( array $params = [] )
- Creates a target group.
- DeleteAccessLogSubscription ( array $params = [] )
- Deletes the specified access log subscription.
- DeleteAuthPolicy ( array $params = [] )
- Deletes the specified auth policy.
- DeleteListener ( array $params = [] )
- Deletes the specified listener.
- DeleteResourceConfiguration ( array $params = [] )
- Deletes the specified resource configuration.
- DeleteResourceEndpointAssociation ( array $params = [] )
- Disassociates the resource configuration from the resource VPC endpoint.
- DeleteResourceGateway ( array $params = [] )
- Deletes the specified resource gateway.
- DeleteResourcePolicy ( array $params = [] )
- Deletes the specified resource policy.
- DeleteRule ( array $params = [] )
- Deletes a listener rule.
- DeleteService ( array $params = [] )
- Deletes a service.
- DeleteServiceNetwork ( array $params = [] )
- Deletes a service network.
- DeleteServiceNetworkResourceAssociation ( array $params = [] )
- Deletes the association between a service network and a resource configuration.
- DeleteServiceNetworkServiceAssociation ( array $params = [] )
- Deletes the association between a service and a service network.
- DeleteServiceNetworkVpcAssociation ( array $params = [] )
- Disassociates the VPC from the service network.
- DeleteTargetGroup ( array $params = [] )
- Deletes a target group.
- DeregisterTargets ( array $params = [] )
- Deregisters the specified targets from the specified target group.
- GetAccessLogSubscription ( array $params = [] )
- Retrieves information about the specified access log subscription.
- GetAuthPolicy ( array $params = [] )
- Retrieves information about the auth policy for the specified service or service network.
- GetListener ( array $params = [] )
- Retrieves information about the specified listener for the specified service.
- GetResourceConfiguration ( array $params = [] )
- Retrieves information about the specified resource configuration.
- GetResourceGateway ( array $params = [] )
- Retrieves information about the specified resource gateway.
- GetResourcePolicy ( array $params = [] )
- Retrieves information about the specified resource policy.
- GetRule ( array $params = [] )
- Retrieves information about the specified listener rules.
- GetService ( array $params = [] )
- Retrieves information about the specified service.
- GetServiceNetwork ( array $params = [] )
- Retrieves information about the specified service network.
- GetServiceNetworkResourceAssociation ( array $params = [] )
- Retrieves information about the specified association between a service network and a resource configuration.
- GetServiceNetworkServiceAssociation ( array $params = [] )
- Retrieves information about the specified association between a service network and a service.
- GetServiceNetworkVpcAssociation ( array $params = [] )
- Retrieves information about the specified association between a service network and a VPC.
- GetTargetGroup ( array $params = [] )
- Retrieves information about the specified target group.
- ListAccessLogSubscriptions ( array $params = [] )
- Lists the access log subscriptions for the specified service network or service.
- ListListeners ( array $params = [] )
- Lists the listeners for the specified service.
- ListResourceConfigurations ( array $params = [] )
- Lists the resource configurations owned by or shared with this account.
- ListResourceEndpointAssociations ( array $params = [] )
- Lists the associations for the specified VPC endpoint.
- ListResourceGateways ( array $params = [] )
- Lists the resource gateways that you own or that were shared with you.
- ListRules ( array $params = [] )
- Lists the rules for the specified listener.
- ListServiceNetworkResourceAssociations ( array $params = [] )
- Lists the associations between a service network and a resource configuration.
- ListServiceNetworkServiceAssociations ( array $params = [] )
- Lists the associations between a service network and a service.
- ListServiceNetworkVpcAssociations ( array $params = [] )
- Lists the associations between a service network and a VPC.
- ListServiceNetworkVpcEndpointAssociations ( array $params = [] )
- Lists the associations between a service network and a VPC endpoint.
- ListServiceNetworks ( array $params = [] )
- Lists the service networks owned by or shared with this account.
- ListServices ( array $params = [] )
- Lists the services owned by the caller account or shared with the caller account.
- ListTagsForResource ( array $params = [] )
- Lists the tags for the specified resource.
- ListTargetGroups ( array $params = [] )
- Lists your target groups.
- ListTargets ( array $params = [] )
- Lists the targets for the target group.
- PutAuthPolicy ( array $params = [] )
- Creates or updates the auth policy.
- PutResourcePolicy ( array $params = [] )
- Attaches a resource-based permission policy to a service or service network.
- RegisterTargets ( array $params = [] )
- Registers the targets with the target group.
- TagResource ( array $params = [] )
- Adds the specified tags to the specified resource.
- UntagResource ( array $params = [] )
- Removes the specified tags from the specified resource.
- UpdateAccessLogSubscription ( array $params = [] )
- Updates the specified access log subscription.
- UpdateListener ( array $params = [] )
- Updates the specified listener for the specified service.
- UpdateResourceConfiguration ( array $params = [] )
- Updates the specified resource configuration.
- UpdateResourceGateway ( array $params = [] )
- Updates the specified resource gateway.
- UpdateRule ( array $params = [] )
- Updates a specified rule for the listener.
- UpdateService ( array $params = [] )
- Updates the specified service.
- UpdateServiceNetwork ( array $params = [] )
- Updates the specified service network.
- UpdateServiceNetworkVpcAssociation ( array $params = [] )
- Updates the service network and VPC association.
- UpdateTargetGroup ( array $params = [] )
- Updates the specified target group.
Paginators
Paginators handle automatically iterating over paginated API results. Paginators are associated with specific API operations, and they accept the parameters that the corresponding API operation accepts. You can get a paginator from a client class using getPaginator($paginatorName, $operationParameters). This client supports the following paginators:
- ListAccessLogSubscriptions
- ListListeners
- ListResourceConfigurations
- ListResourceEndpointAssociations
- ListResourceGateways
- ListRules
- ListServiceNetworkResourceAssociations
- ListServiceNetworkServiceAssociations
- ListServiceNetworkVpcAssociations
- ListServiceNetworkVpcEndpointAssociations
- ListServiceNetworks
- ListServices
- ListTargetGroups
- ListTargets
Operations
BatchUpdateRule
$result = $client->batchUpdateRule
([/* ... */]); $promise = $client->batchUpdateRuleAsync
([/* ... */]);
Updates the listener rules in a batch. You can use this operation to change the priority of listener rules. This can be useful when bulk updating or swapping rule priority.
Required permissions: vpc-lattice:UpdateRule
For more information, see How Amazon VPC Lattice works with IAM in the Amazon VPC Lattice User Guide.
Parameter Syntax
$result = $client->batchUpdateRule([ 'listenerIdentifier' => '<string>', // REQUIRED 'rules' => [ // REQUIRED [ 'action' => [ 'fixedResponse' => [ 'statusCode' => <integer>, // REQUIRED ], 'forward' => [ 'targetGroups' => [ // REQUIRED [ 'targetGroupIdentifier' => '<string>', // REQUIRED 'weight' => <integer>, ], // ... ], ], ], 'match' => [ 'httpMatch' => [ 'headerMatches' => [ [ 'caseSensitive' => true || false, 'match' => [ // REQUIRED 'contains' => '<string>', 'exact' => '<string>', 'prefix' => '<string>', ], 'name' => '<string>', // REQUIRED ], // ... ], 'method' => '<string>', 'pathMatch' => [ 'caseSensitive' => true || false, 'match' => [ // REQUIRED 'exact' => '<string>', 'prefix' => '<string>', ], ], ], ], 'priority' => <integer>, 'ruleIdentifier' => '<string>', // REQUIRED ], // ... ], 'serviceIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- listenerIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the listener.
- rules
-
- Required: Yes
- Type: Array of RuleUpdate structures
The rules for the specified listener.
- serviceIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the service.
Result Syntax
[ 'successful' => [ [ 'action' => [ 'fixedResponse' => [ 'statusCode' => <integer>, ], 'forward' => [ 'targetGroups' => [ [ 'targetGroupIdentifier' => '<string>', 'weight' => <integer>, ], // ... ], ], ], 'arn' => '<string>', 'id' => '<string>', 'isDefault' => true || false, 'match' => [ 'httpMatch' => [ 'headerMatches' => [ [ 'caseSensitive' => true || false, 'match' => [ 'contains' => '<string>', 'exact' => '<string>', 'prefix' => '<string>', ], 'name' => '<string>', ], // ... ], 'method' => '<string>', 'pathMatch' => [ 'caseSensitive' => true || false, 'match' => [ 'exact' => '<string>', 'prefix' => '<string>', ], ], ], ], 'name' => '<string>', 'priority' => <integer>, ], // ... ], 'unsuccessful' => [ [ 'failureCode' => '<string>', 'failureMessage' => '<string>', 'ruleIdentifier' => '<string>', ], // ... ], ]
Result Details
Members
- successful
-
- Type: Array of RuleUpdateSuccess structures
The rules that were successfully updated.
- unsuccessful
-
- Type: Array of RuleUpdateFailure structures
The rules that the operation couldn't update.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- ConflictException:
The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException:
An unexpected error occurred while processing the request.
CreateAccessLogSubscription
$result = $client->createAccessLogSubscription
([/* ... */]); $promise = $client->createAccessLogSubscriptionAsync
([/* ... */]);
Enables access logs to be sent to Amazon CloudWatch, Amazon S3, and Amazon Kinesis Data Firehose. The service network owner can use the access logs to audit the services in the network. The service network owner can only see access logs from clients and services that are associated with their service network. Access log entries represent traffic originated from VPCs associated with that network. For more information, see Access logs in the Amazon VPC Lattice User Guide.
Parameter Syntax
$result = $client->createAccessLogSubscription([ 'clientToken' => '<string>', 'destinationArn' => '<string>', // REQUIRED 'resourceIdentifier' => '<string>', // REQUIRED 'serviceNetworkLogType' => 'SERVICE|RESOURCE', 'tags' => ['<string>', ...], ]);
Parameter Details
Members
- clientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.
- destinationArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the destination. The supported destination types are CloudWatch Log groups, Kinesis Data Firehose delivery streams, and Amazon S3 buckets.
- resourceIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the service network or service.
- serviceNetworkLogType
-
- Type: string
The type of log that monitors your Amazon VPC Lattice service networks.
- tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags for the access log subscription.
Result Syntax
[ 'arn' => '<string>', 'destinationArn' => '<string>', 'id' => '<string>', 'resourceArn' => '<string>', 'resourceId' => '<string>', 'serviceNetworkLogType' => 'SERVICE|RESOURCE', ]
Result Details
Members
- arn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the access log subscription.
- destinationArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the log destination.
- id
-
- Required: Yes
- Type: string
The ID of the access log subscription.
- resourceArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the service network or service.
- resourceId
-
- Required: Yes
- Type: string
The ID of the service network or service.
- serviceNetworkLogType
-
- Type: string
The type of log that monitors your Amazon VPC Lattice service networks.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- ConflictException:
The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException:
An unexpected error occurred while processing the request.
CreateListener
$result = $client->createListener
([/* ... */]); $promise = $client->createListenerAsync
([/* ... */]);
Creates a listener for a service. Before you start using your Amazon VPC Lattice service, you must add one or more listeners. A listener is a process that checks for connection requests to your services. For more information, see Listeners in the Amazon VPC Lattice User Guide.
Parameter Syntax
$result = $client->createListener([ 'clientToken' => '<string>', 'defaultAction' => [ // REQUIRED 'fixedResponse' => [ 'statusCode' => <integer>, // REQUIRED ], 'forward' => [ 'targetGroups' => [ // REQUIRED [ 'targetGroupIdentifier' => '<string>', // REQUIRED 'weight' => <integer>, ], // ... ], ], ], 'name' => '<string>', // REQUIRED 'port' => <integer>, 'protocol' => 'HTTP|HTTPS|TLS_PASSTHROUGH', // REQUIRED 'serviceIdentifier' => '<string>', // REQUIRED 'tags' => ['<string>', ...], ]);
Parameter Details
Members
- clientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.
- defaultAction
-
- Required: Yes
- Type: RuleAction structure
The action for the default rule. Each listener has a default rule. The default rule is used if no other rules match.
- name
-
- Required: Yes
- Type: string
The name of the listener. A listener name must be unique within a service. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
- port
-
- Type: int
The listener port. You can specify a value from 1 to 65535. For HTTP, the default is 80. For HTTPS, the default is 443.
- protocol
-
- Required: Yes
- Type: string
The listener protocol.
- serviceIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the service.
- tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags for the listener.
Result Syntax
[ 'arn' => '<string>', 'defaultAction' => [ 'fixedResponse' => [ 'statusCode' => <integer>, ], 'forward' => [ 'targetGroups' => [ [ 'targetGroupIdentifier' => '<string>', 'weight' => <integer>, ], // ... ], ], ], 'id' => '<string>', 'name' => '<string>', 'port' => <integer>, 'protocol' => 'HTTP|HTTPS|TLS_PASSTHROUGH', 'serviceArn' => '<string>', 'serviceId' => '<string>', ]
Result Details
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the listener.
- defaultAction
-
- Type: RuleAction structure
The action for the default rule.
- id
-
- Type: string
The ID of the listener.
- name
-
- Type: string
The name of the listener.
- port
-
- Type: int
The port number of the listener.
- protocol
-
- Type: string
The protocol of the listener.
- serviceArn
-
- Type: string
The Amazon Resource Name (ARN) of the service.
- serviceId
-
- Type: string
The ID of the service.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- ConflictException:
The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException:
The request would cause a service quota to be exceeded.
- InternalServerException:
An unexpected error occurred while processing the request.
CreateResourceConfiguration
$result = $client->createResourceConfiguration
([/* ... */]); $promise = $client->createResourceConfigurationAsync
([/* ... */]);
Creates a resource configuration. A resource configuration defines a specific resource. You can associate a resource configuration with a service network or a VPC endpoint.
Parameter Syntax
$result = $client->createResourceConfiguration([ 'allowAssociationToShareableServiceNetwork' => true || false, 'clientToken' => '<string>', 'name' => '<string>', // REQUIRED 'portRanges' => ['<string>', ...], 'protocol' => 'TCP', 'resourceConfigurationDefinition' => [ 'arnResource' => [ 'arn' => '<string>', ], 'dnsResource' => [ 'domainName' => '<string>', 'ipAddressType' => 'IPV4|IPV6|DUALSTACK', ], 'ipResource' => [ 'ipAddress' => '<string>', ], ], 'resourceConfigurationGroupIdentifier' => '<string>', 'resourceGatewayIdentifier' => '<string>', 'tags' => ['<string>', ...], 'type' => 'GROUP|CHILD|SINGLE|ARN', // REQUIRED ]);
Parameter Details
Members
- allowAssociationToShareableServiceNetwork
-
- Type: boolean
(SINGLE, GROUP, ARN) Specifies whether the resource configuration can be associated with a sharable service network. The default is false.
- clientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.
- name
-
- Required: Yes
- Type: string
The name of the resource configuration. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
- portRanges
-
- Type: Array of strings
(SINGLE, GROUP, CHILD) The TCP port ranges that a consumer can use to access a resource configuration (for example: 1-65535). You can separate port ranges using commas (for example: 1,2,22-30).
- protocol
-
- Type: string
(SINGLE, GROUP) The protocol accepted by the resource configuration.
- resourceConfigurationDefinition
-
- Type: ResourceConfigurationDefinition structure
(SINGLE, CHILD, ARN) The resource configuration.
- resourceConfigurationGroupIdentifier
-
- Type: string
(CHILD) The ID or ARN of the parent resource configuration (type is
GROUP
). This is used to associate a child resource configuration with a group resource configuration. - resourceGatewayIdentifier
-
- Type: string
(SINGLE, GROUP, ARN) The ID or ARN of the resource gateway used to connect to the resource configuration. For a child resource configuration, this value is inherited from the parent resource configuration.
- tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags for the resource configuration.
- type
-
- Required: Yes
- Type: string
The type of resource configuration.
-
SINGLE
- A single resource. -
GROUP
- A group of resources. You must create a group resource configuration before you create a child resource configuration. -
CHILD
- A single resource that is part of a group resource configuration. -
ARN
- An Amazon Web Services resource.
Result Syntax
[ 'allowAssociationToShareableServiceNetwork' => true || false, 'arn' => '<string>', 'createdAt' => <DateTime>, 'failureReason' => '<string>', 'id' => '<string>', 'name' => '<string>', 'portRanges' => ['<string>', ...], 'protocol' => 'TCP', 'resourceConfigurationDefinition' => [ 'arnResource' => [ 'arn' => '<string>', ], 'dnsResource' => [ 'domainName' => '<string>', 'ipAddressType' => 'IPV4|IPV6|DUALSTACK', ], 'ipResource' => [ 'ipAddress' => '<string>', ], ], 'resourceConfigurationGroupId' => '<string>', 'resourceGatewayId' => '<string>', 'status' => 'ACTIVE|CREATE_IN_PROGRESS|UPDATE_IN_PROGRESS|DELETE_IN_PROGRESS|CREATE_FAILED|UPDATE_FAILED|DELETE_FAILED', 'type' => 'GROUP|CHILD|SINGLE|ARN', ]
Result Details
Members
- allowAssociationToShareableServiceNetwork
-
- Type: boolean
Specifies whether the resource configuration can be associated with a sharable service network.
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the resource configuration.
- createdAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the resource configuration was created, in ISO-8601 format.
- failureReason
-
- Type: string
The reason that the request failed.
- id
-
- Type: string
The ID of the resource configuration.
- name
-
- Type: string
The name of the resource configuration.
- portRanges
-
- Type: Array of strings
The port range.
- protocol
-
- Type: string
The protocol.
- resourceConfigurationDefinition
-
- Type: ResourceConfigurationDefinition structure
The resource configuration.
- resourceConfigurationGroupId
-
- Type: string
The ID of the parent resource configuration (type is GROUP).
- resourceGatewayId
-
- Type: string
The ID of the resource gateway associated with the resource configuration.
- status
-
- Type: string
The current status of the resource configuration.
- type
-
- Type: string
The type of resource configuration.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- ConflictException:
The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException:
The request would cause a service quota to be exceeded.
- InternalServerException:
An unexpected error occurred while processing the request.
CreateResourceGateway
$result = $client->createResourceGateway
([/* ... */]); $promise = $client->createResourceGatewayAsync
([/* ... */]);
Creates a resource gateway.
Parameter Syntax
$result = $client->createResourceGateway([ 'clientToken' => '<string>', 'ipAddressType' => 'IPV4|IPV6|DUALSTACK', 'name' => '<string>', // REQUIRED 'securityGroupIds' => ['<string>', ...], 'subnetIds' => ['<string>', ...], // REQUIRED 'tags' => ['<string>', ...], 'vpcIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- clientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.
- ipAddressType
-
- Type: string
The type of IP address used by the resource gateway.
- name
-
- Required: Yes
- Type: string
The name of the resource gateway.
- securityGroupIds
-
- Type: Array of strings
The IDs of the security groups to apply to the resource gateway. The security groups must be in the same VPC.
- subnetIds
-
- Required: Yes
- Type: Array of strings
The IDs of the VPC subnets in which to create the resource gateway.
- tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags for the resource gateway.
- vpcIdentifier
-
- Required: Yes
- Type: string
The ID of the VPC for the resource gateway.
Result Syntax
[ 'arn' => '<string>', 'id' => '<string>', 'ipAddressType' => 'IPV4|IPV6|DUALSTACK', 'name' => '<string>', 'securityGroupIds' => ['<string>', ...], 'status' => 'ACTIVE|CREATE_IN_PROGRESS|UPDATE_IN_PROGRESS|DELETE_IN_PROGRESS|CREATE_FAILED|UPDATE_FAILED|DELETE_FAILED', 'subnetIds' => ['<string>', ...], 'vpcIdentifier' => '<string>', ]
Result Details
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the resource gateway.
- id
-
- Type: string
The ID of the resource gateway.
- ipAddressType
-
- Type: string
The type of IP address for the resource gateway.
- name
-
- Type: string
The name of the resource gateway.
- securityGroupIds
-
- Type: Array of strings
The IDs of the security groups for the resource gateway.
- status
-
- Type: string
The status of the resource gateway.
- subnetIds
-
- Type: Array of strings
The IDs of the resource gateway subnets.
- vpcIdentifier
-
- Type: string
The ID of the VPC.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- ConflictException:
The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException:
The request would cause a service quota to be exceeded.
- InternalServerException:
An unexpected error occurred while processing the request.
CreateRule
$result = $client->createRule
([/* ... */]); $promise = $client->createRuleAsync
([/* ... */]);
Creates a listener rule. Each listener has a default rule for checking connection requests, but you can define additional rules. Each rule consists of a priority, one or more actions, and one or more conditions. For more information, see Listener rules in the Amazon VPC Lattice User Guide.
Parameter Syntax
$result = $client->createRule([ 'action' => [ // REQUIRED 'fixedResponse' => [ 'statusCode' => <integer>, // REQUIRED ], 'forward' => [ 'targetGroups' => [ // REQUIRED [ 'targetGroupIdentifier' => '<string>', // REQUIRED 'weight' => <integer>, ], // ... ], ], ], 'clientToken' => '<string>', 'listenerIdentifier' => '<string>', // REQUIRED 'match' => [ // REQUIRED 'httpMatch' => [ 'headerMatches' => [ [ 'caseSensitive' => true || false, 'match' => [ // REQUIRED 'contains' => '<string>', 'exact' => '<string>', 'prefix' => '<string>', ], 'name' => '<string>', // REQUIRED ], // ... ], 'method' => '<string>', 'pathMatch' => [ 'caseSensitive' => true || false, 'match' => [ // REQUIRED 'exact' => '<string>', 'prefix' => '<string>', ], ], ], ], 'name' => '<string>', // REQUIRED 'priority' => <integer>, // REQUIRED 'serviceIdentifier' => '<string>', // REQUIRED 'tags' => ['<string>', ...], ]);
Parameter Details
Members
- action
-
- Required: Yes
- Type: RuleAction structure
The action for the default rule.
- clientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.
- listenerIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the listener.
- match
-
- Required: Yes
- Type: RuleMatch structure
The rule match.
- name
-
- Required: Yes
- Type: string
The name of the rule. The name must be unique within the listener. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
- priority
-
- Required: Yes
- Type: int
The priority assigned to the rule. Each rule for a specific listener must have a unique priority. The lower the priority number the higher the priority.
- serviceIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the service.
- tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags for the rule.
Result Syntax
[ 'action' => [ 'fixedResponse' => [ 'statusCode' => <integer>, ], 'forward' => [ 'targetGroups' => [ [ 'targetGroupIdentifier' => '<string>', 'weight' => <integer>, ], // ... ], ], ], 'arn' => '<string>', 'id' => '<string>', 'match' => [ 'httpMatch' => [ 'headerMatches' => [ [ 'caseSensitive' => true || false, 'match' => [ 'contains' => '<string>', 'exact' => '<string>', 'prefix' => '<string>', ], 'name' => '<string>', ], // ... ], 'method' => '<string>', 'pathMatch' => [ 'caseSensitive' => true || false, 'match' => [ 'exact' => '<string>', 'prefix' => '<string>', ], ], ], ], 'name' => '<string>', 'priority' => <integer>, ]
Result Details
Members
- action
-
- Type: RuleAction structure
The rule action.
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the rule.
- id
-
- Type: string
The ID of the rule.
- match
-
- Type: RuleMatch structure
The rule match. The
RuleMatch
must be anHttpMatch
. This means that the rule should be an exact match on HTTP constraints which are made up of the HTTP method, path, and header. - name
-
- Type: string
The name of the rule.
- priority
-
- Type: int
The priority assigned to the rule. The lower the priority number the higher the priority.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- ConflictException:
The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException:
The request would cause a service quota to be exceeded.
- InternalServerException:
An unexpected error occurred while processing the request.
CreateService
$result = $client->createService
([/* ... */]); $promise = $client->createServiceAsync
([/* ... */]);
Creates a service. A service is any software application that can run on instances containers, or serverless functions within an account or virtual private cloud (VPC).
For more information, see Services in the Amazon VPC Lattice User Guide.
Parameter Syntax
$result = $client->createService([ 'authType' => 'NONE|AWS_IAM', 'certificateArn' => '<string>', 'clientToken' => '<string>', 'customDomainName' => '<string>', 'name' => '<string>', // REQUIRED 'tags' => ['<string>', ...], ]);
Parameter Details
Members
- authType
-
- Type: string
The type of IAM policy.
-
NONE
: The resource does not use an IAM policy. This is the default. -
AWS_IAM
: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.
- certificateArn
-
- Type: string
The Amazon Resource Name (ARN) of the certificate.
- clientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.
- customDomainName
-
- Type: string
The custom domain name of the service.
- name
-
- Required: Yes
- Type: string
The name of the service. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
- tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags for the service.
Result Syntax
[ 'arn' => '<string>', 'authType' => 'NONE|AWS_IAM', 'certificateArn' => '<string>', 'customDomainName' => '<string>', 'dnsEntry' => [ 'domainName' => '<string>', 'hostedZoneId' => '<string>', ], 'id' => '<string>', 'name' => '<string>', 'status' => 'ACTIVE|CREATE_IN_PROGRESS|DELETE_IN_PROGRESS|CREATE_FAILED|DELETE_FAILED', ]
Result Details
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the service.
- authType
-
- Type: string
The type of IAM policy.
- certificateArn
-
- Type: string
The Amazon Resource Name (ARN) of the certificate.
- customDomainName
-
- Type: string
The custom domain name of the service.
- dnsEntry
-
- Type: DnsEntry structure
The public DNS name of the service.
- id
-
- Type: string
The ID of the service.
- name
-
- Type: string
The name of the service.
- status
-
- Type: string
The status. If the status is
CREATE_FAILED
, you must delete and recreate the service.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- ConflictException:
The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException:
The request would cause a service quota to be exceeded.
- InternalServerException:
An unexpected error occurred while processing the request.
CreateServiceNetwork
$result = $client->createServiceNetwork
([/* ... */]); $promise = $client->createServiceNetworkAsync
([/* ... */]);
Creates a service network. A service network is a logical boundary for a collection of services. You can associate services and VPCs with a service network.
For more information, see Service networks in the Amazon VPC Lattice User Guide.
Parameter Syntax
$result = $client->createServiceNetwork([ 'authType' => 'NONE|AWS_IAM', 'clientToken' => '<string>', 'name' => '<string>', // REQUIRED 'sharingConfig' => [ 'enabled' => true || false, ], 'tags' => ['<string>', ...], ]);
Parameter Details
Members
- authType
-
- Type: string
The type of IAM policy.
-
NONE
: The resource does not use an IAM policy. This is the default. -
AWS_IAM
: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.
- clientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.
- name
-
- Required: Yes
- Type: string
The name of the service network. The name must be unique to the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
- sharingConfig
-
- Type: SharingConfig structure
Specify if the service network should be enabled for sharing.
- tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags for the service network.
Result Syntax
[ 'arn' => '<string>', 'authType' => 'NONE|AWS_IAM', 'id' => '<string>', 'name' => '<string>', 'sharingConfig' => [ 'enabled' => true || false, ], ]
Result Details
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the service network.
- authType
-
- Type: string
The type of IAM policy.
- id
-
- Type: string
The ID of the service network.
- name
-
- Type: string
The name of the service network.
- sharingConfig
-
- Type: SharingConfig structure
Specifies if the service network is enabled for sharing.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- ConflictException:
The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException:
The request would cause a service quota to be exceeded.
- InternalServerException:
An unexpected error occurred while processing the request.
CreateServiceNetworkResourceAssociation
$result = $client->createServiceNetworkResourceAssociation
([/* ... */]); $promise = $client->createServiceNetworkResourceAssociationAsync
([/* ... */]);
Associates the specified service network with the specified resource configuration. This allows the resource configuration to receive connections through the service network, including through a service network VPC endpoint.
Parameter Syntax
$result = $client->createServiceNetworkResourceAssociation([ 'clientToken' => '<string>', 'resourceConfigurationIdentifier' => '<string>', // REQUIRED 'serviceNetworkIdentifier' => '<string>', // REQUIRED 'tags' => ['<string>', ...], ]);
Parameter Details
Members
- clientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.
- resourceConfigurationIdentifier
-
- Required: Yes
- Type: string
The ID of the resource configuration to associate with the service network.
- serviceNetworkIdentifier
-
- Required: Yes
- Type: string
The ID of the service network to associate with the resource configuration.
- tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags for the association.
Result Syntax
[ 'arn' => '<string>', 'createdBy' => '<string>', 'id' => '<string>', 'status' => 'CREATE_IN_PROGRESS|ACTIVE|PARTIAL|DELETE_IN_PROGRESS|CREATE_FAILED|DELETE_FAILED', ]
Result Details
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the association.
- createdBy
-
- Type: string
The ID of the account that created the association.
- id
-
- Type: string
The ID of the association.
- status
-
- Type: string
The status of the association.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- ConflictException:
The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException:
The request would cause a service quota to be exceeded.
- InternalServerException:
An unexpected error occurred while processing the request.
CreateServiceNetworkServiceAssociation
$result = $client->createServiceNetworkServiceAssociation
([/* ... */]); $promise = $client->createServiceNetworkServiceAssociationAsync
([/* ... */]);
Associates the specified service with the specified service network. For more information, see Manage service associations in the Amazon VPC Lattice User Guide.
You can't use this operation if the service and service network are already associated or if there is a disassociation or deletion in progress. If the association fails, you can retry the operation by deleting the association and recreating it.
You cannot associate a service and service network that are shared with a caller. The caller must own either the service or the service network.
As a result of this operation, the association is created in the service network account and the association owner account.
Parameter Syntax
$result = $client->createServiceNetworkServiceAssociation([ 'clientToken' => '<string>', 'serviceIdentifier' => '<string>', // REQUIRED 'serviceNetworkIdentifier' => '<string>', // REQUIRED 'tags' => ['<string>', ...], ]);
Parameter Details
Members
- clientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.
- serviceIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the service.
- serviceNetworkIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the service network. You must use an ARN if the resources are in different accounts.
- tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags for the association.
Result Syntax
[ 'arn' => '<string>', 'createdBy' => '<string>', 'customDomainName' => '<string>', 'dnsEntry' => [ 'domainName' => '<string>', 'hostedZoneId' => '<string>', ], 'id' => '<string>', 'status' => 'CREATE_IN_PROGRESS|ACTIVE|DELETE_IN_PROGRESS|CREATE_FAILED|DELETE_FAILED', ]
Result Details
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the association.
- createdBy
-
- Type: string
The account that created the association.
- customDomainName
-
- Type: string
The custom domain name of the service.
- dnsEntry
-
- Type: DnsEntry structure
The DNS name of the service.
- id
-
- Type: string
The ID of the association.
- status
-
- Type: string
The association status.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- ConflictException:
The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException:
The request would cause a service quota to be exceeded.
- InternalServerException:
An unexpected error occurred while processing the request.
CreateServiceNetworkVpcAssociation
$result = $client->createServiceNetworkVpcAssociation
([/* ... */]); $promise = $client->createServiceNetworkVpcAssociationAsync
([/* ... */]);
Associates a VPC with a service network. When you associate a VPC with the service network, it enables all the resources within that VPC to be clients and communicate with other services in the service network. For more information, see Manage VPC associations in the Amazon VPC Lattice User Guide.
You can't use this operation if there is a disassociation in progress. If the association fails, retry by deleting the association and recreating it.
As a result of this operation, the association gets created in the service network account and the VPC owner account.
If you add a security group to the service network and VPC association, the association must continue to always have at least one security group. You can add or edit security groups at any time. However, to remove all security groups, you must first delete the association and recreate it without security groups.
Parameter Syntax
$result = $client->createServiceNetworkVpcAssociation([ 'clientToken' => '<string>', 'securityGroupIds' => ['<string>', ...], 'serviceNetworkIdentifier' => '<string>', // REQUIRED 'tags' => ['<string>', ...], 'vpcIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- clientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.
- securityGroupIds
-
- Type: Array of strings
The IDs of the security groups. Security groups aren't added by default. You can add a security group to apply network level controls to control which resources in a VPC are allowed to access the service network and its services. For more information, see Control traffic to resources using security groups in the Amazon VPC User Guide.
- serviceNetworkIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the service network. You must use an ARN if the resources are in different accounts.
- tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags for the association.
- vpcIdentifier
-
- Required: Yes
- Type: string
The ID of the VPC.
Result Syntax
[ 'arn' => '<string>', 'createdBy' => '<string>', 'id' => '<string>', 'securityGroupIds' => ['<string>', ...], 'status' => 'CREATE_IN_PROGRESS|ACTIVE|UPDATE_IN_PROGRESS|DELETE_IN_PROGRESS|CREATE_FAILED|DELETE_FAILED|UPDATE_FAILED', ]
Result Details
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the association.
- createdBy
-
- Type: string
The account that created the association.
- id
-
- Type: string
The ID of the association.
- securityGroupIds
-
- Type: Array of strings
The IDs of the security groups.
- status
-
- Type: string
The association status.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- ConflictException:
The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException:
The request would cause a service quota to be exceeded.
- InternalServerException:
An unexpected error occurred while processing the request.
CreateTargetGroup
$result = $client->createTargetGroup
([/* ... */]); $promise = $client->createTargetGroupAsync
([/* ... */]);
Creates a target group. A target group is a collection of targets, or compute resources, that run your application or service. A target group can only be used by a single service.
For more information, see Target groups in the Amazon VPC Lattice User Guide.
Parameter Syntax
$result = $client->createTargetGroup([ 'clientToken' => '<string>', 'config' => [ 'healthCheck' => [ 'enabled' => true || false, 'healthCheckIntervalSeconds' => <integer>, 'healthCheckTimeoutSeconds' => <integer>, 'healthyThresholdCount' => <integer>, 'matcher' => [ 'httpCode' => '<string>', ], 'path' => '<string>', 'port' => <integer>, 'protocol' => 'HTTP|HTTPS|TCP', 'protocolVersion' => 'HTTP1|HTTP2', 'unhealthyThresholdCount' => <integer>, ], 'ipAddressType' => 'IPV4|IPV6', 'lambdaEventStructureVersion' => 'V1|V2', 'port' => <integer>, 'protocol' => 'HTTP|HTTPS|TCP', 'protocolVersion' => 'HTTP1|HTTP2|GRPC', 'vpcIdentifier' => '<string>', ], 'name' => '<string>', // REQUIRED 'tags' => ['<string>', ...], 'type' => 'IP|LAMBDA|INSTANCE|ALB', // REQUIRED ]);
Parameter Details
Members
- clientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.
- config
-
- Type: TargetGroupConfig structure
The target group configuration.
- name
-
- Required: Yes
- Type: string
The name of the target group. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
- tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags for the target group.
- type
-
- Required: Yes
- Type: string
The type of target group.
Result Syntax
[ 'arn' => '<string>', 'config' => [ 'healthCheck' => [ 'enabled' => true || false, 'healthCheckIntervalSeconds' => <integer>, 'healthCheckTimeoutSeconds' => <integer>, 'healthyThresholdCount' => <integer>, 'matcher' => [ 'httpCode' => '<string>', ], 'path' => '<string>', 'port' => <integer>, 'protocol' => 'HTTP|HTTPS|TCP', 'protocolVersion' => 'HTTP1|HTTP2', 'unhealthyThresholdCount' => <integer>, ], 'ipAddressType' => 'IPV4|IPV6', 'lambdaEventStructureVersion' => 'V1|V2', 'port' => <integer>, 'protocol' => 'HTTP|HTTPS|TCP', 'protocolVersion' => 'HTTP1|HTTP2|GRPC', 'vpcIdentifier' => '<string>', ], 'id' => '<string>', 'name' => '<string>', 'status' => 'CREATE_IN_PROGRESS|ACTIVE|DELETE_IN_PROGRESS|CREATE_FAILED|DELETE_FAILED', 'type' => 'IP|LAMBDA|INSTANCE|ALB', ]
Result Details
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the target group.
- config
-
- Type: TargetGroupConfig structure
The target group configuration.
- id
-
- Type: string
The ID of the target group.
- name
-
- Type: string
The name of the target group.
- status
-
- Type: string
The status. You can retry the operation if the status is
CREATE_FAILED
. However, if you retry it while the status isCREATE_IN_PROGRESS
, there is no change in the status. - type
-
- Type: string
The type of target group.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- ConflictException:
The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException:
The request would cause a service quota to be exceeded.
- InternalServerException:
An unexpected error occurred while processing the request.
DeleteAccessLogSubscription
$result = $client->deleteAccessLogSubscription
([/* ... */]); $promise = $client->deleteAccessLogSubscriptionAsync
([/* ... */]);
Deletes the specified access log subscription.
Parameter Syntax
$result = $client->deleteAccessLogSubscription([ 'accessLogSubscriptionIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- accessLogSubscriptionIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the access log subscription.
Result Syntax
[]
Result Details
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- InternalServerException:
An unexpected error occurred while processing the request.
DeleteAuthPolicy
$result = $client->deleteAuthPolicy
([/* ... */]); $promise = $client->deleteAuthPolicyAsync
([/* ... */]);
Deletes the specified auth policy. If an auth is set to AWS_IAM
and the auth policy is deleted, all requests are denied. If you are trying to remove the auth policy completely, you must set the auth type to NONE
. If auth is enabled on the resource, but no auth policy is set, all requests are denied.
Parameter Syntax
$result = $client->deleteAuthPolicy([ 'resourceIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- resourceIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the resource.
Result Syntax
[]
Result Details
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- InternalServerException:
An unexpected error occurred while processing the request.
DeleteListener
$result = $client->deleteListener
([/* ... */]); $promise = $client->deleteListenerAsync
([/* ... */]);
Deletes the specified listener.
Parameter Syntax
$result = $client->deleteListener([ 'listenerIdentifier' => '<string>', // REQUIRED 'serviceIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- listenerIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the listener.
- serviceIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the service.
Result Syntax
[]
Result Details
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- ConflictException:
The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException:
An unexpected error occurred while processing the request.
DeleteResourceConfiguration
$result = $client->deleteResourceConfiguration
([/* ... */]); $promise = $client->deleteResourceConfigurationAsync
([/* ... */]);
Deletes the specified resource configuration.
Parameter Syntax
$result = $client->deleteResourceConfiguration([ 'resourceConfigurationIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- resourceConfigurationIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the resource configuration.
Result Syntax
[]
Result Details
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- ConflictException:
The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException:
An unexpected error occurred while processing the request.
DeleteResourceEndpointAssociation
$result = $client->deleteResourceEndpointAssociation
([/* ... */]); $promise = $client->deleteResourceEndpointAssociationAsync
([/* ... */]);
Disassociates the resource configuration from the resource VPC endpoint.
Parameter Syntax
$result = $client->deleteResourceEndpointAssociation([ 'resourceEndpointAssociationIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- resourceEndpointAssociationIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the association.
Result Syntax
[ 'arn' => '<string>', 'id' => '<string>', 'resourceConfigurationArn' => '<string>', 'resourceConfigurationId' => '<string>', 'vpcEndpointId' => '<string>', ]
Result Details
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the association.
- id
-
- Type: string
The ID of the association.
- resourceConfigurationArn
-
- Type: string
The Amazon Resource Name (ARN) of the resource configuration associated with the VPC endpoint of type resource.
- resourceConfigurationId
-
- Type: string
The ID of the resource configuration.
- vpcEndpointId
-
- Type: string
The ID of the resource VPC endpoint that is associated with the resource configuration.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- InternalServerException:
An unexpected error occurred while processing the request.
DeleteResourceGateway
$result = $client->deleteResourceGateway
([/* ... */]); $promise = $client->deleteResourceGatewayAsync
([/* ... */]);
Deletes the specified resource gateway.
Parameter Syntax
$result = $client->deleteResourceGateway([ 'resourceGatewayIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- resourceGatewayIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the resource gateway.
Result Syntax
[ 'arn' => '<string>', 'id' => '<string>', 'name' => '<string>', 'status' => 'ACTIVE|CREATE_IN_PROGRESS|UPDATE_IN_PROGRESS|DELETE_IN_PROGRESS|CREATE_FAILED|UPDATE_FAILED|DELETE_FAILED', ]
Result Details
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the resource gateway.
- id
-
- Type: string
The ID of the resource gateway.
- name
-
- Type: string
The name of the resource gateway.
- status
-
- Type: string
The status of the resource gateway.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- ConflictException:
The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException:
An unexpected error occurred while processing the request.
DeleteResourcePolicy
$result = $client->deleteResourcePolicy
([/* ... */]); $promise = $client->deleteResourcePolicyAsync
([/* ... */]);
Deletes the specified resource policy.
Parameter Syntax
$result = $client->deleteResourcePolicy([ 'resourceArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- resourceArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the resource.
Result Syntax
[]
Result Details
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- InternalServerException:
An unexpected error occurred while processing the request.
DeleteRule
$result = $client->deleteRule
([/* ... */]); $promise = $client->deleteRuleAsync
([/* ... */]);
Deletes a listener rule. Each listener has a default rule for checking connection requests, but you can define additional rules. Each rule consists of a priority, one or more actions, and one or more conditions. You can delete additional listener rules, but you cannot delete the default rule.
For more information, see Listener rules in the Amazon VPC Lattice User Guide.
Parameter Syntax
$result = $client->deleteRule([ 'listenerIdentifier' => '<string>', // REQUIRED 'ruleIdentifier' => '<string>', // REQUIRED 'serviceIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- listenerIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the listener.
- ruleIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the rule.
- serviceIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the service.
Result Syntax
[]
Result Details
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- ConflictException:
The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException:
An unexpected error occurred while processing the request.
DeleteService
$result = $client->deleteService
([/* ... */]); $promise = $client->deleteServiceAsync
([/* ... */]);
Deletes a service. A service can't be deleted if it's associated with a service network. If you delete a service, all resources related to the service, such as the resource policy, auth policy, listeners, listener rules, and access log subscriptions, are also deleted. For more information, see Delete a service in the Amazon VPC Lattice User Guide.
Parameter Syntax
$result = $client->deleteService([ 'serviceIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- serviceIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the service.
Result Syntax
[ 'arn' => '<string>', 'id' => '<string>', 'name' => '<string>', 'status' => 'ACTIVE|CREATE_IN_PROGRESS|DELETE_IN_PROGRESS|CREATE_FAILED|DELETE_FAILED', ]
Result Details
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the service.
- id
-
- Type: string
The ID of the service.
- name
-
- Type: string
The name of the service.
- status
-
- Type: string
The status. You can retry the operation if the status is
DELETE_FAILED
. However, if you retry it while the status isDELETE_IN_PROGRESS
, the status doesn't change.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- ConflictException:
The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException:
An unexpected error occurred while processing the request.
DeleteServiceNetwork
$result = $client->deleteServiceNetwork
([/* ... */]); $promise = $client->deleteServiceNetworkAsync
([/* ... */]);
Deletes a service network. You can only delete the service network if there is no service or VPC associated with it. If you delete a service network, all resources related to the service network, such as the resource policy, auth policy, and access log subscriptions, are also deleted. For more information, see Delete a service network in the Amazon VPC Lattice User Guide.
Parameter Syntax
$result = $client->deleteServiceNetwork([ 'serviceNetworkIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- serviceNetworkIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the service network.
Result Syntax
[]
Result Details
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- ConflictException:
The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException:
An unexpected error occurred while processing the request.
DeleteServiceNetworkResourceAssociation
$result = $client->deleteServiceNetworkResourceAssociation
([/* ... */]); $promise = $client->deleteServiceNetworkResourceAssociationAsync
([/* ... */]);
Deletes the association between a service network and a resource configuration.
Parameter Syntax
$result = $client->deleteServiceNetworkResourceAssociation([ 'serviceNetworkResourceAssociationIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- serviceNetworkResourceAssociationIdentifier
-
- Required: Yes
- Type: string
The ID of the association.
Result Syntax
[ 'arn' => '<string>', 'id' => '<string>', 'status' => 'CREATE_IN_PROGRESS|ACTIVE|PARTIAL|DELETE_IN_PROGRESS|CREATE_FAILED|DELETE_FAILED', ]
Result Details
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the association.
- id
-
- Type: string
The ID of the association.
- status
-
- Type: string
The status of the association.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- ConflictException:
The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException:
An unexpected error occurred while processing the request.
DeleteServiceNetworkServiceAssociation
$result = $client->deleteServiceNetworkServiceAssociation
([/* ... */]); $promise = $client->deleteServiceNetworkServiceAssociationAsync
([/* ... */]);
Deletes the association between a service and a service network. This operation fails if an association is still in progress.
Parameter Syntax
$result = $client->deleteServiceNetworkServiceAssociation([ 'serviceNetworkServiceAssociationIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- serviceNetworkServiceAssociationIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the association.
Result Syntax
[ 'arn' => '<string>', 'id' => '<string>', 'status' => 'CREATE_IN_PROGRESS|ACTIVE|DELETE_IN_PROGRESS|CREATE_FAILED|DELETE_FAILED', ]
Result Details
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the association.
- id
-
- Type: string
The ID of the association.
- status
-
- Type: string
The status. You can retry the operation if the status is
DELETE_FAILED
. However, if you retry it when the status isDELETE_IN_PROGRESS
, there is no change in the status.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- ConflictException:
The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException:
An unexpected error occurred while processing the request.
DeleteServiceNetworkVpcAssociation
$result = $client->deleteServiceNetworkVpcAssociation
([/* ... */]); $promise = $client->deleteServiceNetworkVpcAssociationAsync
([/* ... */]);
Disassociates the VPC from the service network. You can't disassociate the VPC if there is a create or update association in progress.
Parameter Syntax
$result = $client->deleteServiceNetworkVpcAssociation([ 'serviceNetworkVpcAssociationIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- serviceNetworkVpcAssociationIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the association.
Result Syntax
[ 'arn' => '<string>', 'id' => '<string>', 'status' => 'CREATE_IN_PROGRESS|ACTIVE|UPDATE_IN_PROGRESS|DELETE_IN_PROGRESS|CREATE_FAILED|DELETE_FAILED|UPDATE_FAILED', ]
Result Details
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the association.
- id
-
- Type: string
The ID of the association.
- status
-
- Type: string
The status. You can retry the operation if the status is
DELETE_FAILED
. However, if you retry it while the status isDELETE_IN_PROGRESS
, there is no change in the status.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- ConflictException:
The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException:
An unexpected error occurred while processing the request.
DeleteTargetGroup
$result = $client->deleteTargetGroup
([/* ... */]); $promise = $client->deleteTargetGroupAsync
([/* ... */]);
Deletes a target group. You can't delete a target group if it is used in a listener rule or if the target group creation is in progress.
Parameter Syntax
$result = $client->deleteTargetGroup([ 'targetGroupIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- targetGroupIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the target group.
Result Syntax
[ 'arn' => '<string>', 'id' => '<string>', 'status' => 'CREATE_IN_PROGRESS|ACTIVE|DELETE_IN_PROGRESS|CREATE_FAILED|DELETE_FAILED', ]
Result Details
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the target group.
- id
-
- Type: string
The ID of the target group.
- status
-
- Type: string
The status. You can retry the operation if the status is
DELETE_FAILED
. However, if you retry it while the status isDELETE_IN_PROGRESS
, the status doesn't change.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- ConflictException:
The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException:
An unexpected error occurred while processing the request.
DeregisterTargets
$result = $client->deregisterTargets
([/* ... */]); $promise = $client->deregisterTargetsAsync
([/* ... */]);
Deregisters the specified targets from the specified target group.
Parameter Syntax
$result = $client->deregisterTargets([ 'targetGroupIdentifier' => '<string>', // REQUIRED 'targets' => [ // REQUIRED [ 'id' => '<string>', // REQUIRED 'port' => <integer>, ], // ... ], ]);
Parameter Details
Members
- targetGroupIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the target group.
- targets
-
- Required: Yes
- Type: Array of Target structures
The targets to deregister.
Result Syntax
[ 'successful' => [ [ 'id' => '<string>', 'port' => <integer>, ], // ... ], 'unsuccessful' => [ [ 'failureCode' => '<string>', 'failureMessage' => '<string>', 'id' => '<string>', 'port' => <integer>, ], // ... ], ]
Result Details
Members
- successful
-
- Type: Array of Target structures
The targets that were successfully deregistered.
- unsuccessful
-
- Type: Array of TargetFailure structures
The targets that the operation couldn't deregister.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- ConflictException:
The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException:
An unexpected error occurred while processing the request.
GetAccessLogSubscription
$result = $client->getAccessLogSubscription
([/* ... */]); $promise = $client->getAccessLogSubscriptionAsync
([/* ... */]);
Retrieves information about the specified access log subscription.
Parameter Syntax
$result = $client->getAccessLogSubscription([ 'accessLogSubscriptionIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- accessLogSubscriptionIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the access log subscription.
Result Syntax
[ 'arn' => '<string>', 'createdAt' => <DateTime>, 'destinationArn' => '<string>', 'id' => '<string>', 'lastUpdatedAt' => <DateTime>, 'resourceArn' => '<string>', 'resourceId' => '<string>', 'serviceNetworkLogType' => 'SERVICE|RESOURCE', ]
Result Details
Members
- arn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the access log subscription.
- createdAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the access log subscription was created, in ISO-8601 format.
- destinationArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the access log destination.
- id
-
- Required: Yes
- Type: string
The ID of the access log subscription.
- lastUpdatedAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the access log subscription was last updated, in ISO-8601 format.
- resourceArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the service network or service.
- resourceId
-
- Required: Yes
- Type: string
The ID of the service network or service.
- serviceNetworkLogType
-
- Type: string
The log type for the service network.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- InternalServerException:
An unexpected error occurred while processing the request.
GetAuthPolicy
$result = $client->getAuthPolicy
([/* ... */]); $promise = $client->getAuthPolicyAsync
([/* ... */]);
Retrieves information about the auth policy for the specified service or service network.
Parameter Syntax
$result = $client->getAuthPolicy([ 'resourceIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- resourceIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the service network or service.
Result Syntax
[ 'createdAt' => <DateTime>, 'lastUpdatedAt' => <DateTime>, 'policy' => '<string>', 'state' => 'Active|Inactive', ]
Result Details
Members
- createdAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the auth policy was created, in ISO-8601 format.
- lastUpdatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the auth policy was last updated, in ISO-8601 format.
- policy
-
- Type: string
The auth policy.
- state
-
- Type: string
The state of the auth policy. The auth policy is only active when the auth type is set to
AWS_IAM
. If you provide a policy, then authentication and authorization decisions are made based on this policy and the client's IAM policy. If the auth type isNONE
, then any auth policy that you provide remains inactive. For more information, see Create a service network in the Amazon VPC Lattice User Guide.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- InternalServerException:
An unexpected error occurred while processing the request.
GetListener
$result = $client->getListener
([/* ... */]); $promise = $client->getListenerAsync
([/* ... */]);
Retrieves information about the specified listener for the specified service.
Parameter Syntax
$result = $client->getListener([ 'listenerIdentifier' => '<string>', // REQUIRED 'serviceIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- listenerIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the listener.
- serviceIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the service.
Result Syntax
[ 'arn' => '<string>', 'createdAt' => <DateTime>, 'defaultAction' => [ 'fixedResponse' => [ 'statusCode' => <integer>, ], 'forward' => [ 'targetGroups' => [ [ 'targetGroupIdentifier' => '<string>', 'weight' => <integer>, ], // ... ], ], ], 'id' => '<string>', 'lastUpdatedAt' => <DateTime>, 'name' => '<string>', 'port' => <integer>, 'protocol' => 'HTTP|HTTPS|TLS_PASSTHROUGH', 'serviceArn' => '<string>', 'serviceId' => '<string>', ]
Result Details
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the listener.
- createdAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the listener was created, in ISO-8601 format.
- defaultAction
-
- Type: RuleAction structure
The actions for the default listener rule.
- id
-
- Type: string
The ID of the listener.
- lastUpdatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the listener was last updated, in ISO-8601 format.
- name
-
- Type: string
The name of the listener.
- port
-
- Type: int
The listener port.
- protocol
-
- Type: string
The listener protocol.
- serviceArn
-
- Type: string
The Amazon Resource Name (ARN) of the service.
- serviceId
-
- Type: string
The ID of the service.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- InternalServerException:
An unexpected error occurred while processing the request.
GetResourceConfiguration
$result = $client->getResourceConfiguration
([/* ... */]); $promise = $client->getResourceConfigurationAsync
([/* ... */]);
Retrieves information about the specified resource configuration.
Parameter Syntax
$result = $client->getResourceConfiguration([ 'resourceConfigurationIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- resourceConfigurationIdentifier
-
- Required: Yes
- Type: string
The ID of the resource configuration.
Result Syntax
[ 'allowAssociationToShareableServiceNetwork' => true || false, 'amazonManaged' => true || false, 'arn' => '<string>', 'createdAt' => <DateTime>, 'customDomainName' => '<string>', 'failureReason' => '<string>', 'id' => '<string>', 'lastUpdatedAt' => <DateTime>, 'name' => '<string>', 'portRanges' => ['<string>', ...], 'protocol' => 'TCP', 'resourceConfigurationDefinition' => [ 'arnResource' => [ 'arn' => '<string>', ], 'dnsResource' => [ 'domainName' => '<string>', 'ipAddressType' => 'IPV4|IPV6|DUALSTACK', ], 'ipResource' => [ 'ipAddress' => '<string>', ], ], 'resourceConfigurationGroupId' => '<string>', 'resourceGatewayId' => '<string>', 'status' => 'ACTIVE|CREATE_IN_PROGRESS|UPDATE_IN_PROGRESS|DELETE_IN_PROGRESS|CREATE_FAILED|UPDATE_FAILED|DELETE_FAILED', 'type' => 'GROUP|CHILD|SINGLE|ARN', ]
Result Details
Members
- allowAssociationToShareableServiceNetwork
-
- Type: boolean
Specifies whether the resource configuration is associated with a sharable service network.
- amazonManaged
-
- Type: boolean
Indicates whether the resource configuration was created and is managed by Amazon.
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the resource configuration.
- createdAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the resource configuration was created, in ISO-8601 format.
- customDomainName
-
- Type: string
The custom domain name of the resource configuration.
- failureReason
-
- Type: string
The reason the create-resource-configuration request failed.
- id
-
- Type: string
The ID of the resource configuration.
- lastUpdatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The most recent date and time that the resource configuration was updated, in ISO-8601 format.
- name
-
- Type: string
The name of the resource configuration.
- portRanges
-
- Type: Array of strings
The TCP port ranges that a consumer can use to access a resource configuration. You can separate port ranges with a comma. Example: 1-65535 or 1,2,22-30
- protocol
-
- Type: string
The TCP protocol accepted by the specified resource configuration.
- resourceConfigurationDefinition
-
- Type: ResourceConfigurationDefinition structure
The resource configuration.
- resourceConfigurationGroupId
-
- Type: string
The ID of the group resource configuration.
- resourceGatewayId
-
- Type: string
The ID of the resource gateway used to connect to the resource configuration in a given VPC. You can specify the resource gateway identifier only for resource configurations with type SINGLE, GROUP, or ARN.
- status
-
- Type: string
The status of the resource configuration.
- type
-
- Type: string
The type of resource configuration.
-
SINGLE
- A single resource. -
GROUP
- A group of resources. -
CHILD
- A single resource that is part of a group resource configuration. -
ARN
- An Amazon Web Services resource.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- InternalServerException:
An unexpected error occurred while processing the request.
GetResourceGateway
$result = $client->getResourceGateway
([/* ... */]); $promise = $client->getResourceGatewayAsync
([/* ... */]);
Retrieves information about the specified resource gateway.
Parameter Syntax
$result = $client->getResourceGateway([ 'resourceGatewayIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- resourceGatewayIdentifier
-
- Required: Yes
- Type: string
The ID of the resource gateway.
Result Syntax
[ 'arn' => '<string>', 'createdAt' => <DateTime>, 'id' => '<string>', 'ipAddressType' => 'IPV4|IPV6|DUALSTACK', 'lastUpdatedAt' => <DateTime>, 'name' => '<string>', 'securityGroupIds' => ['<string>', ...], 'status' => 'ACTIVE|CREATE_IN_PROGRESS|UPDATE_IN_PROGRESS|DELETE_IN_PROGRESS|CREATE_FAILED|UPDATE_FAILED|DELETE_FAILED', 'subnetIds' => ['<string>', ...], 'vpcId' => '<string>', ]
Result Details
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the resource gateway.
- createdAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the resource gateway was created, in ISO-8601 format.
- id
-
- Type: string
The ID of the resource gateway.
- ipAddressType
-
- Type: string
The type of IP address for the resource gateway.
- lastUpdatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the resource gateway was last updated, in ISO-8601 format.
- name
-
- Type: string
The name of the resource gateway.
- securityGroupIds
-
- Type: Array of strings
The security group IDs associated with the resource gateway.
- status
-
- Type: string
The status for the resource gateway.
- subnetIds
-
- Type: Array of strings
The IDs of the VPC subnets for resource gateway.
- vpcId
-
- Type: string
The ID of the VPC for the resource gateway.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- InternalServerException:
An unexpected error occurred while processing the request.
GetResourcePolicy
$result = $client->getResourcePolicy
([/* ... */]); $promise = $client->getResourcePolicyAsync
([/* ... */]);
Retrieves information about the specified resource policy. The resource policy is an IAM policy created on behalf of the resource owner when they share a resource.
Parameter Syntax
$result = $client->getResourcePolicy([ 'resourceArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- resourceArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the service network or service.
Result Syntax
[ 'policy' => '<string>', ]
Result Details
Members
- policy
-
- Type: string
An IAM policy.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- InternalServerException:
An unexpected error occurred while processing the request.
GetRule
$result = $client->getRule
([/* ... */]); $promise = $client->getRuleAsync
([/* ... */]);
Retrieves information about the specified listener rules. You can also retrieve information about the default listener rule. For more information, see Listener rules in the Amazon VPC Lattice User Guide.
Parameter Syntax
$result = $client->getRule([ 'listenerIdentifier' => '<string>', // REQUIRED 'ruleIdentifier' => '<string>', // REQUIRED 'serviceIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- listenerIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the listener.
- ruleIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the listener rule.
- serviceIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the service.
Result Syntax
[ 'action' => [ 'fixedResponse' => [ 'statusCode' => <integer>, ], 'forward' => [ 'targetGroups' => [ [ 'targetGroupIdentifier' => '<string>', 'weight' => <integer>, ], // ... ], ], ], 'arn' => '<string>', 'createdAt' => <DateTime>, 'id' => '<string>', 'isDefault' => true || false, 'lastUpdatedAt' => <DateTime>, 'match' => [ 'httpMatch' => [ 'headerMatches' => [ [ 'caseSensitive' => true || false, 'match' => [ 'contains' => '<string>', 'exact' => '<string>', 'prefix' => '<string>', ], 'name' => '<string>', ], // ... ], 'method' => '<string>', 'pathMatch' => [ 'caseSensitive' => true || false, 'match' => [ 'exact' => '<string>', 'prefix' => '<string>', ], ], ], ], 'name' => '<string>', 'priority' => <integer>, ]
Result Details
Members
- action
-
- Type: RuleAction structure
The action for the default rule.
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the listener.
- createdAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the listener rule was created, in ISO-8601 format.
- id
-
- Type: string
The ID of the listener.
- isDefault
-
- Type: boolean
Indicates whether this is the default rule.
- lastUpdatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the listener rule was last updated, in ISO-8601 format.
- match
-
- Type: RuleMatch structure
The rule match.
- name
-
- Type: string
The name of the listener.
- priority
-
- Type: int
The priority level for the specified rule.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- InternalServerException:
An unexpected error occurred while processing the request.
GetService
$result = $client->getService
([/* ... */]); $promise = $client->getServiceAsync
([/* ... */]);
Retrieves information about the specified service.
Parameter Syntax
$result = $client->getService([ 'serviceIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- serviceIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the service.
Result Syntax
[ 'arn' => '<string>', 'authType' => 'NONE|AWS_IAM', 'certificateArn' => '<string>', 'createdAt' => <DateTime>, 'customDomainName' => '<string>', 'dnsEntry' => [ 'domainName' => '<string>', 'hostedZoneId' => '<string>', ], 'failureCode' => '<string>', 'failureMessage' => '<string>', 'id' => '<string>', 'lastUpdatedAt' => <DateTime>, 'name' => '<string>', 'status' => 'ACTIVE|CREATE_IN_PROGRESS|DELETE_IN_PROGRESS|CREATE_FAILED|DELETE_FAILED', ]
Result Details
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the service.
- authType
-
- Type: string
The type of IAM policy.
- certificateArn
-
- Type: string
The Amazon Resource Name (ARN) of the certificate.
- createdAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the service was created, in ISO-8601 format.
- customDomainName
-
- Type: string
The custom domain name of the service.
- dnsEntry
-
- Type: DnsEntry structure
The DNS name of the service.
- failureCode
-
- Type: string
The failure code.
- failureMessage
-
- Type: string
The failure message.
- id
-
- Type: string
The ID of the service.
- lastUpdatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the service was last updated, in ISO-8601 format.
- name
-
- Type: string
The name of the service.
- status
-
- Type: string
The status of the service.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- InternalServerException:
An unexpected error occurred while processing the request.
GetServiceNetwork
$result = $client->getServiceNetwork
([/* ... */]); $promise = $client->getServiceNetworkAsync
([/* ... */]);
Retrieves information about the specified service network.
Parameter Syntax
$result = $client->getServiceNetwork([ 'serviceNetworkIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- serviceNetworkIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the service network.
Result Syntax
[ 'arn' => '<string>', 'authType' => 'NONE|AWS_IAM', 'createdAt' => <DateTime>, 'id' => '<string>', 'lastUpdatedAt' => <DateTime>, 'name' => '<string>', 'numberOfAssociatedServices' => <integer>, 'numberOfAssociatedVPCs' => <integer>, 'sharingConfig' => [ 'enabled' => true || false, ], ]
Result Details
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the service network.
- authType
-
- Type: string
The type of IAM policy.
- createdAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the service network was created, in ISO-8601 format.
- id
-
- Type: string
The ID of the service network.
- lastUpdatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time of the last update, in ISO-8601 format.
- name
-
- Type: string
The name of the service network.
- numberOfAssociatedServices
-
- Type: long (int|float)
The number of services associated with the service network.
- numberOfAssociatedVPCs
-
- Type: long (int|float)
The number of VPCs associated with the service network.
- sharingConfig
-
- Type: SharingConfig structure
Specifies if the service network is enabled for sharing.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- InternalServerException:
An unexpected error occurred while processing the request.
GetServiceNetworkResourceAssociation
$result = $client->getServiceNetworkResourceAssociation
([/* ... */]); $promise = $client->getServiceNetworkResourceAssociationAsync
([/* ... */]);
Retrieves information about the specified association between a service network and a resource configuration.
Parameter Syntax
$result = $client->getServiceNetworkResourceAssociation([ 'serviceNetworkResourceAssociationIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- serviceNetworkResourceAssociationIdentifier
-
- Required: Yes
- Type: string
The ID of the association.
Result Syntax
[ 'arn' => '<string>', 'createdAt' => <DateTime>, 'createdBy' => '<string>', 'dnsEntry' => [ 'domainName' => '<string>', 'hostedZoneId' => '<string>', ], 'failureCode' => '<string>', 'failureReason' => '<string>', 'id' => '<string>', 'isManagedAssociation' => true || false, 'lastUpdatedAt' => <DateTime>, 'privateDnsEntry' => [ 'domainName' => '<string>', 'hostedZoneId' => '<string>', ], 'resourceConfigurationArn' => '<string>', 'resourceConfigurationId' => '<string>', 'resourceConfigurationName' => '<string>', 'serviceNetworkArn' => '<string>', 'serviceNetworkId' => '<string>', 'serviceNetworkName' => '<string>', 'status' => 'CREATE_IN_PROGRESS|ACTIVE|PARTIAL|DELETE_IN_PROGRESS|CREATE_FAILED|DELETE_FAILED', ]
Result Details
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the association.
- createdAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the association was created, in ISO-8601 format.
- createdBy
-
- Type: string
The account that created the association.
- dnsEntry
-
- Type: DnsEntry structure
The DNS entry for the service.
- failureCode
-
- Type: string
The failure code.
- failureReason
-
- Type: string
The reason the association request failed.
- id
-
- Type: string
The ID of the association.
- isManagedAssociation
-
- Type: boolean
Indicates whether the association is managed by Amazon.
- lastUpdatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The most recent date and time that the association was updated, in ISO-8601 format.
- privateDnsEntry
-
- Type: DnsEntry structure
The private DNS entry for the service.
- resourceConfigurationArn
-
- Type: string
The Amazon Resource Name (ARN) of the association.
- resourceConfigurationId
-
- Type: string
The ID of the resource configuration that is associated with the service network.
- resourceConfigurationName
-
- Type: string
The name of the resource configuration that is associated with the service network.
- serviceNetworkArn
-
- Type: string
The Amazon Resource Name (ARN) of the service network that is associated with the resource configuration.
- serviceNetworkId
-
- Type: string
The ID of the service network that is associated with the resource configuration.
- serviceNetworkName
-
- Type: string
The name of the service network that is associated with the resource configuration.
- status
-
- Type: string
The status of the association.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- InternalServerException:
An unexpected error occurred while processing the request.
GetServiceNetworkServiceAssociation
$result = $client->getServiceNetworkServiceAssociation
([/* ... */]); $promise = $client->getServiceNetworkServiceAssociationAsync
([/* ... */]);
Retrieves information about the specified association between a service network and a service.
Parameter Syntax
$result = $client->getServiceNetworkServiceAssociation([ 'serviceNetworkServiceAssociationIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- serviceNetworkServiceAssociationIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the association.
Result Syntax
[ 'arn' => '<string>', 'createdAt' => <DateTime>, 'createdBy' => '<string>', 'customDomainName' => '<string>', 'dnsEntry' => [ 'domainName' => '<string>', 'hostedZoneId' => '<string>', ], 'failureCode' => '<string>', 'failureMessage' => '<string>', 'id' => '<string>', 'serviceArn' => '<string>', 'serviceId' => '<string>', 'serviceName' => '<string>', 'serviceNetworkArn' => '<string>', 'serviceNetworkId' => '<string>', 'serviceNetworkName' => '<string>', 'status' => 'CREATE_IN_PROGRESS|ACTIVE|DELETE_IN_PROGRESS|CREATE_FAILED|DELETE_FAILED', ]
Result Details
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the association.
- createdAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the association was created, in ISO-8601 format.
- createdBy
-
- Type: string
The account that created the association.
- customDomainName
-
- Type: string
The custom domain name of the service.
- dnsEntry
-
- Type: DnsEntry structure
The DNS name of the service.
- failureCode
-
- Type: string
The failure code.
- failureMessage
-
- Type: string
The failure message.
- id
-
- Type: string
The ID of the service network and service association.
- serviceArn
-
- Type: string
The Amazon Resource Name (ARN) of the service.
- serviceId
-
- Type: string
The ID of the service.
- serviceName
-
- Type: string
The name of the service.
- serviceNetworkArn
-
- Type: string
The Amazon Resource Name (ARN) of the service network.
- serviceNetworkId
-
- Type: string
The ID of the service network.
- serviceNetworkName
-
- Type: string
The name of the service network.
- status
-
- Type: string
The status of the association.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- InternalServerException:
An unexpected error occurred while processing the request.
GetServiceNetworkVpcAssociation
$result = $client->getServiceNetworkVpcAssociation
([/* ... */]); $promise = $client->getServiceNetworkVpcAssociationAsync
([/* ... */]);
Retrieves information about the specified association between a service network and a VPC.
Parameter Syntax
$result = $client->getServiceNetworkVpcAssociation([ 'serviceNetworkVpcAssociationIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- serviceNetworkVpcAssociationIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the association.
Result Syntax
[ 'arn' => '<string>', 'createdAt' => <DateTime>, 'createdBy' => '<string>', 'failureCode' => '<string>', 'failureMessage' => '<string>', 'id' => '<string>', 'lastUpdatedAt' => <DateTime>, 'securityGroupIds' => ['<string>', ...], 'serviceNetworkArn' => '<string>', 'serviceNetworkId' => '<string>', 'serviceNetworkName' => '<string>', 'status' => 'CREATE_IN_PROGRESS|ACTIVE|UPDATE_IN_PROGRESS|DELETE_IN_PROGRESS|CREATE_FAILED|DELETE_FAILED|UPDATE_FAILED', 'vpcId' => '<string>', ]
Result Details
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the association.
- createdAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the association was created, in ISO-8601 format.
- createdBy
-
- Type: string
The account that created the association.
- failureCode
-
- Type: string
The failure code.
- failureMessage
-
- Type: string
The failure message.
- id
-
- Type: string
The ID of the association.
- lastUpdatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the association was last updated, in ISO-8601 format.
- securityGroupIds
-
- Type: Array of strings
The IDs of the security groups.
- serviceNetworkArn
-
- Type: string
The Amazon Resource Name (ARN) of the service network.
- serviceNetworkId
-
- Type: string
The ID of the service network.
- serviceNetworkName
-
- Type: string
The name of the service network.
- status
-
- Type: string
The status of the association.
- vpcId
-
- Type: string
The ID of the VPC.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- InternalServerException:
An unexpected error occurred while processing the request.
GetTargetGroup
$result = $client->getTargetGroup
([/* ... */]); $promise = $client->getTargetGroupAsync
([/* ... */]);
Retrieves information about the specified target group.
Parameter Syntax
$result = $client->getTargetGroup([ 'targetGroupIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- targetGroupIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the target group.
Result Syntax
[ 'arn' => '<string>', 'config' => [ 'healthCheck' => [ 'enabled' => true || false, 'healthCheckIntervalSeconds' => <integer>, 'healthCheckTimeoutSeconds' => <integer>, 'healthyThresholdCount' => <integer>, 'matcher' => [ 'httpCode' => '<string>', ], 'path' => '<string>', 'port' => <integer>, 'protocol' => 'HTTP|HTTPS|TCP', 'protocolVersion' => 'HTTP1|HTTP2', 'unhealthyThresholdCount' => <integer>, ], 'ipAddressType' => 'IPV4|IPV6', 'lambdaEventStructureVersion' => 'V1|V2', 'port' => <integer>, 'protocol' => 'HTTP|HTTPS|TCP', 'protocolVersion' => 'HTTP1|HTTP2|GRPC', 'vpcIdentifier' => '<string>', ], 'createdAt' => <DateTime>, 'failureCode' => '<string>', 'failureMessage' => '<string>', 'id' => '<string>', 'lastUpdatedAt' => <DateTime>, 'name' => '<string>', 'serviceArns' => ['<string>', ...], 'status' => 'CREATE_IN_PROGRESS|ACTIVE|DELETE_IN_PROGRESS|CREATE_FAILED|DELETE_FAILED', 'type' => 'IP|LAMBDA|INSTANCE|ALB', ]
Result Details
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the target group.
- config
-
- Type: TargetGroupConfig structure
The target group configuration.
- createdAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the target group was created, in ISO-8601 format.
- failureCode
-
- Type: string
The failure code.
- failureMessage
-
- Type: string
The failure message.
- id
-
- Type: string
The ID of the target group.
- lastUpdatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the target group was last updated, in ISO-8601 format.
- name
-
- Type: string
The name of the target group.
- serviceArns
-
- Type: Array of strings
The Amazon Resource Names (ARNs) of the service.
- status
-
- Type: string
The status.
- type
-
- Type: string
The target group type.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- InternalServerException:
An unexpected error occurred while processing the request.
ListAccessLogSubscriptions
$result = $client->listAccessLogSubscriptions
([/* ... */]); $promise = $client->listAccessLogSubscriptionsAsync
([/* ... */]);
Lists the access log subscriptions for the specified service network or service.
Parameter Syntax
$result = $client->listAccessLogSubscriptions([ 'maxResults' => <integer>, 'nextToken' => '<string>', 'resourceIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- maxResults
-
- Type: int
The maximum number of results to return.
- nextToken
-
- Type: string
A pagination token for the next page of results.
- resourceIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the service network or service.
Result Syntax
[ 'items' => [ [ 'arn' => '<string>', 'createdAt' => <DateTime>, 'destinationArn' => '<string>', 'id' => '<string>', 'lastUpdatedAt' => <DateTime>, 'resourceArn' => '<string>', 'resourceId' => '<string>', 'serviceNetworkLogType' => 'SERVICE|RESOURCE', ], // ... ], 'nextToken' => '<string>', ]
Result Details
Members
- items
-
- Required: Yes
- Type: Array of AccessLogSubscriptionSummary structures
Information about the access log subscriptions.
- nextToken
-
- Type: string
A pagination token for the next page of results.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- InternalServerException:
An unexpected error occurred while processing the request.
ListListeners
$result = $client->listListeners
([/* ... */]); $promise = $client->listListenersAsync
([/* ... */]);
Lists the listeners for the specified service.
Parameter Syntax
$result = $client->listListeners([ 'maxResults' => <integer>, 'nextToken' => '<string>', 'serviceIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- maxResults
-
- Type: int
The maximum number of results to return.
- nextToken
-
- Type: string
A pagination token for the next page of results.
- serviceIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the service.
Result Syntax
[ 'items' => [ [ 'arn' => '<string>', 'createdAt' => <DateTime>, 'id' => '<string>', 'lastUpdatedAt' => <DateTime>, 'name' => '<string>', 'port' => <integer>, 'protocol' => 'HTTP|HTTPS|TLS_PASSTHROUGH', ], // ... ], 'nextToken' => '<string>', ]
Result Details
Members
- items
-
- Required: Yes
- Type: Array of ListenerSummary structures
Information about the listeners.
- nextToken
-
- Type: string
If there are additional results, a pagination token for the next page of results.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- InternalServerException:
An unexpected error occurred while processing the request.
ListResourceConfigurations
$result = $client->listResourceConfigurations
([/* ... */]); $promise = $client->listResourceConfigurationsAsync
([/* ... */]);
Lists the resource configurations owned by or shared with this account.
Parameter Syntax
$result = $client->listResourceConfigurations([ 'maxResults' => <integer>, 'nextToken' => '<string>', 'resourceConfigurationGroupIdentifier' => '<string>', 'resourceGatewayIdentifier' => '<string>', ]);
Parameter Details
Members
- maxResults
-
- Type: int
The maximum page size.
- nextToken
-
- Type: string
A pagination token for the next page of results.
- resourceConfigurationGroupIdentifier
-
- Type: string
The ID of the group resource configuration.
- resourceGatewayIdentifier
-
- Type: string
The ID of the resource gateway for the resource configuration.
Result Syntax
[ 'items' => [ [ 'amazonManaged' => true || false, 'arn' => '<string>', 'createdAt' => <DateTime>, 'id' => '<string>', 'lastUpdatedAt' => <DateTime>, 'name' => '<string>', 'resourceConfigurationGroupId' => '<string>', 'resourceGatewayId' => '<string>', 'status' => 'ACTIVE|CREATE_IN_PROGRESS|UPDATE_IN_PROGRESS|DELETE_IN_PROGRESS|CREATE_FAILED|UPDATE_FAILED|DELETE_FAILED', 'type' => 'GROUP|CHILD|SINGLE|ARN', ], // ... ], 'nextToken' => '<string>', ]
Result Details
Members
- items
-
- Type: Array of ResourceConfigurationSummary structures
Information about the resource configurations.
- nextToken
-
- Type: string
If there are additional results, a pagination token for the next page of results.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- InternalServerException:
An unexpected error occurred while processing the request.
ListResourceEndpointAssociations
$result = $client->listResourceEndpointAssociations
([/* ... */]); $promise = $client->listResourceEndpointAssociationsAsync
([/* ... */]);
Lists the associations for the specified VPC endpoint.
Parameter Syntax
$result = $client->listResourceEndpointAssociations([ 'maxResults' => <integer>, 'nextToken' => '<string>', 'resourceConfigurationIdentifier' => '<string>', // REQUIRED 'resourceEndpointAssociationIdentifier' => '<string>', 'vpcEndpointId' => '<string>', 'vpcEndpointOwner' => '<string>', ]);
Parameter Details
Members
- maxResults
-
- Type: int
The maximum page size.
- nextToken
-
- Type: string
A pagination token for the next page of results.
- resourceConfigurationIdentifier
-
- Required: Yes
- Type: string
The ID for the resource configuration associated with the VPC endpoint.
- resourceEndpointAssociationIdentifier
-
- Type: string
The ID of the association.
- vpcEndpointId
-
- Type: string
The ID of the VPC endpoint in the association.
- vpcEndpointOwner
-
- Type: string
The owner of the VPC endpoint in the association.
Result Syntax
[ 'items' => [ [ 'arn' => '<string>', 'createdAt' => <DateTime>, 'createdBy' => '<string>', 'id' => '<string>', 'resourceConfigurationArn' => '<string>', 'resourceConfigurationId' => '<string>', 'resourceConfigurationName' => '<string>', 'vpcEndpointId' => '<string>', 'vpcEndpointOwner' => '<string>', ], // ... ], 'nextToken' => '<string>', ]
Result Details
Members
- items
-
- Required: Yes
- Type: Array of ResourceEndpointAssociationSummary structures
Information about the VPC endpoint associations.
- nextToken
-
- Type: string
If there are additional results, a pagination token for the next page of results.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- InternalServerException:
An unexpected error occurred while processing the request.
ListResourceGateways
$result = $client->listResourceGateways
([/* ... */]); $promise = $client->listResourceGatewaysAsync
([/* ... */]);
Lists the resource gateways that you own or that were shared with you.
Parameter Syntax
$result = $client->listResourceGateways([ 'maxResults' => <integer>, 'nextToken' => '<string>', ]);
Parameter Details
Members
- maxResults
-
- Type: int
The maximum page size.
- nextToken
-
- Type: string
If there are additional results, a pagination token for the next page of results.
Result Syntax
[ 'items' => [ [ 'arn' => '<string>', 'createdAt' => <DateTime>, 'id' => '<string>', 'ipAddressType' => 'IPV4|IPV6|DUALSTACK', 'lastUpdatedAt' => <DateTime>, 'name' => '<string>', 'securityGroupIds' => ['<string>', ...], 'status' => 'ACTIVE|CREATE_IN_PROGRESS|UPDATE_IN_PROGRESS|DELETE_IN_PROGRESS|CREATE_FAILED|UPDATE_FAILED|DELETE_FAILED', 'subnetIds' => ['<string>', ...], 'vpcIdentifier' => '<string>', ], // ... ], 'nextToken' => '<string>', ]
Result Details
Members
- items
-
- Type: Array of ResourceGatewaySummary structures
Information about the resource gateways.
- nextToken
-
- Type: string
If there are additional results, a pagination token for the next page of results.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- InternalServerException:
An unexpected error occurred while processing the request.
ListRules
$result = $client->listRules
([/* ... */]); $promise = $client->listRulesAsync
([/* ... */]);
Lists the rules for the specified listener.
Parameter Syntax
$result = $client->listRules([ 'listenerIdentifier' => '<string>', // REQUIRED 'maxResults' => <integer>, 'nextToken' => '<string>', 'serviceIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- listenerIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the listener.
- maxResults
-
- Type: int
The maximum number of results to return.
- nextToken
-
- Type: string
A pagination token for the next page of results.
- serviceIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the service.
Result Syntax
[ 'items' => [ [ 'arn' => '<string>', 'createdAt' => <DateTime>, 'id' => '<string>', 'isDefault' => true || false, 'lastUpdatedAt' => <DateTime>, 'name' => '<string>', 'priority' => <integer>, ], // ... ], 'nextToken' => '<string>', ]
Result Details
Members
- items
-
- Required: Yes
- Type: Array of RuleSummary structures
Information about the rules.
- nextToken
-
- Type: string
If there are additional results, a pagination token for the next page of results.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- InternalServerException:
An unexpected error occurred while processing the request.
ListServiceNetworkResourceAssociations
$result = $client->listServiceNetworkResourceAssociations
([/* ... */]); $promise = $client->listServiceNetworkResourceAssociationsAsync
([/* ... */]);
Lists the associations between a service network and a resource configuration.
Parameter Syntax
$result = $client->listServiceNetworkResourceAssociations([ 'maxResults' => <integer>, 'nextToken' => '<string>', 'resourceConfigurationIdentifier' => '<string>', 'serviceNetworkIdentifier' => '<string>', ]);
Parameter Details
Members
- maxResults
-
- Type: int
The maximum page size.
- nextToken
-
- Type: string
If there are additional results, a pagination token for the next page of results.
- resourceConfigurationIdentifier
-
- Type: string
The ID of the resource configurationk.
- serviceNetworkIdentifier
-
- Type: string
The ID of the service network.
Result Syntax
[ 'items' => [ [ 'arn' => '<string>', 'createdAt' => <DateTime>, 'createdBy' => '<string>', 'dnsEntry' => [ 'domainName' => '<string>', 'hostedZoneId' => '<string>', ], 'failureCode' => '<string>', 'id' => '<string>', 'isManagedAssociation' => true || false, 'privateDnsEntry' => [ 'domainName' => '<string>', 'hostedZoneId' => '<string>', ], 'resourceConfigurationArn' => '<string>', 'resourceConfigurationId' => '<string>', 'resourceConfigurationName' => '<string>', 'serviceNetworkArn' => '<string>', 'serviceNetworkId' => '<string>', 'serviceNetworkName' => '<string>', 'status' => 'CREATE_IN_PROGRESS|ACTIVE|PARTIAL|DELETE_IN_PROGRESS|CREATE_FAILED|DELETE_FAILED', ], // ... ], 'nextToken' => '<string>', ]
Result Details
Members
- items
-
- Required: Yes
- Type: Array of ServiceNetworkResourceAssociationSummary structures
Information about the associations.
- nextToken
-
- Type: string
If there are additional results, a pagination token for the next page of results.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- InternalServerException:
An unexpected error occurred while processing the request.
ListServiceNetworkServiceAssociations
$result = $client->listServiceNetworkServiceAssociations
([/* ... */]); $promise = $client->listServiceNetworkServiceAssociationsAsync
([/* ... */]);
Lists the associations between a service network and a service. You can filter the list either by service or service network. You must provide either the service network identifier or the service identifier.
Every association in Amazon VPC Lattice has a unique Amazon Resource Name (ARN), such as when a service network is associated with a VPC or when a service is associated with a service network. If the association is for a resource is shared with another account, the association includes the local account ID as the prefix in the ARN.
Parameter Syntax
$result = $client->listServiceNetworkServiceAssociations([ 'maxResults' => <integer>, 'nextToken' => '<string>', 'serviceIdentifier' => '<string>', 'serviceNetworkIdentifier' => '<string>', ]);
Parameter Details
Members
- maxResults
-
- Type: int
The maximum number of results to return.
- nextToken
-
- Type: string
A pagination token for the next page of results.
- serviceIdentifier
-
- Type: string
The ID or ARN of the service.
- serviceNetworkIdentifier
-
- Type: string
The ID or ARN of the service network.
Result Syntax
[ 'items' => [ [ 'arn' => '<string>', 'createdAt' => <DateTime>, 'createdBy' => '<string>', 'customDomainName' => '<string>', 'dnsEntry' => [ 'domainName' => '<string>', 'hostedZoneId' => '<string>', ], 'id' => '<string>', 'serviceArn' => '<string>', 'serviceId' => '<string>', 'serviceName' => '<string>', 'serviceNetworkArn' => '<string>', 'serviceNetworkId' => '<string>', 'serviceNetworkName' => '<string>', 'status' => 'CREATE_IN_PROGRESS|ACTIVE|DELETE_IN_PROGRESS|CREATE_FAILED|DELETE_FAILED', ], // ... ], 'nextToken' => '<string>', ]
Result Details
Members
- items
-
- Required: Yes
- Type: Array of ServiceNetworkServiceAssociationSummary structures
Information about the associations.
- nextToken
-
- Type: string
If there are additional results, a pagination token for the next page of results.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- InternalServerException:
An unexpected error occurred while processing the request.
ListServiceNetworkVpcAssociations
$result = $client->listServiceNetworkVpcAssociations
([/* ... */]); $promise = $client->listServiceNetworkVpcAssociationsAsync
([/* ... */]);
Lists the associations between a service network and a VPC. You can filter the list either by VPC or service network. You must provide either the ID of the service network identifier or the ID of the VPC.
Parameter Syntax
$result = $client->listServiceNetworkVpcAssociations([ 'maxResults' => <integer>, 'nextToken' => '<string>', 'serviceNetworkIdentifier' => '<string>', 'vpcIdentifier' => '<string>', ]);
Parameter Details
Members
- maxResults
-
- Type: int
The maximum number of results to return.
- nextToken
-
- Type: string
A pagination token for the next page of results.
- serviceNetworkIdentifier
-
- Type: string
The ID or ARN of the service network.
- vpcIdentifier
-
- Type: string
The ID or ARN of the VPC.
Result Syntax
[ 'items' => [ [ 'arn' => '<string>', 'createdAt' => <DateTime>, 'createdBy' => '<string>', 'id' => '<string>', 'lastUpdatedAt' => <DateTime>, 'serviceNetworkArn' => '<string>', 'serviceNetworkId' => '<string>', 'serviceNetworkName' => '<string>', 'status' => 'CREATE_IN_PROGRESS|ACTIVE|UPDATE_IN_PROGRESS|DELETE_IN_PROGRESS|CREATE_FAILED|DELETE_FAILED|UPDATE_FAILED', 'vpcId' => '<string>', ], // ... ], 'nextToken' => '<string>', ]
Result Details
Members
- items
-
- Required: Yes
- Type: Array of ServiceNetworkVpcAssociationSummary structures
Information about the associations.
- nextToken
-
- Type: string
If there are additional results, a pagination token for the next page of results.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- InternalServerException:
An unexpected error occurred while processing the request.
ListServiceNetworkVpcEndpointAssociations
$result = $client->listServiceNetworkVpcEndpointAssociations
([/* ... */]); $promise = $client->listServiceNetworkVpcEndpointAssociationsAsync
([/* ... */]);
Lists the associations between a service network and a VPC endpoint.
Parameter Syntax
$result = $client->listServiceNetworkVpcEndpointAssociations([ 'maxResults' => <integer>, 'nextToken' => '<string>', 'serviceNetworkIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- maxResults
-
- Type: int
The maximum page size.
- nextToken
-
- Type: string
If there are additional results, a pagination token for the next page of results.
- serviceNetworkIdentifier
-
- Required: Yes
- Type: string
The ID of the service network associated with the VPC endpoint.
Result Syntax
[ 'items' => [ [ 'createdAt' => <DateTime>, 'id' => '<string>', 'serviceNetworkArn' => '<string>', 'state' => '<string>', 'vpcEndpointId' => '<string>', 'vpcEndpointOwnerId' => '<string>', 'vpcId' => '<string>', ], // ... ], 'nextToken' => '<string>', ]
Result Details
Members
- items
-
- Required: Yes
- Type: Array of ServiceNetworkEndpointAssociation structures
Information about the association between the VPC endpoint and service network.
- nextToken
-
- Type: string
If there are additional results, a pagination token for the next page of results.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- InternalServerException:
An unexpected error occurred while processing the request.
ListServiceNetworks
$result = $client->listServiceNetworks
([/* ... */]); $promise = $client->listServiceNetworksAsync
([/* ... */]);
Lists the service networks owned by or shared with this account. The account ID in the ARN shows which account owns the service network.
Parameter Syntax
$result = $client->listServiceNetworks([ 'maxResults' => <integer>, 'nextToken' => '<string>', ]);
Parameter Details
Members
- maxResults
-
- Type: int
The maximum number of results to return.
- nextToken
-
- Type: string
A pagination token for the next page of results.
Result Syntax
[ 'items' => [ [ 'arn' => '<string>', 'createdAt' => <DateTime>, 'id' => '<string>', 'lastUpdatedAt' => <DateTime>, 'name' => '<string>', 'numberOfAssociatedResourceConfigurations' => <integer>, 'numberOfAssociatedServices' => <integer>, 'numberOfAssociatedVPCs' => <integer>, ], // ... ], 'nextToken' => '<string>', ]
Result Details
Members
- items
-
- Required: Yes
- Type: Array of ServiceNetworkSummary structures
Information about the service networks.
- nextToken
-
- Type: string
If there are additional results, a pagination token for the next page of results.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- InternalServerException:
An unexpected error occurred while processing the request.
ListServices
$result = $client->listServices
([/* ... */]); $promise = $client->listServicesAsync
([/* ... */]);
Lists the services owned by the caller account or shared with the caller account.
Parameter Syntax
$result = $client->listServices([ 'maxResults' => <integer>, 'nextToken' => '<string>', ]);
Parameter Details
Members
- maxResults
-
- Type: int
The maximum number of results to return.
- nextToken
-
- Type: string
A pagination token for the next page of results.
Result Syntax
[ 'items' => [ [ 'arn' => '<string>', 'createdAt' => <DateTime>, 'customDomainName' => '<string>', 'dnsEntry' => [ 'domainName' => '<string>', 'hostedZoneId' => '<string>', ], 'id' => '<string>', 'lastUpdatedAt' => <DateTime>, 'name' => '<string>', 'status' => 'ACTIVE|CREATE_IN_PROGRESS|DELETE_IN_PROGRESS|CREATE_FAILED|DELETE_FAILED', ], // ... ], 'nextToken' => '<string>', ]
Result Details
Members
- items
-
- Type: Array of ServiceSummary structures
Information about the services.
- nextToken
-
- Type: string
If there are additional results, a pagination token for the next page of results.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- InternalServerException:
An unexpected error occurred while processing the request.
ListTagsForResource
$result = $client->listTagsForResource
([/* ... */]); $promise = $client->listTagsForResourceAsync
([/* ... */]);
Lists the tags for the specified resource.
Parameter Syntax
$result = $client->listTagsForResource([ 'resourceArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- resourceArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the resource.
Result Syntax
[ 'tags' => ['<string>', ...], ]
Result Details
Members
- tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
Information about the tags.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ResourceNotFoundException:
The request references a resource that does not exist.
- InternalServerException:
An unexpected error occurred while processing the request.
ListTargetGroups
$result = $client->listTargetGroups
([/* ... */]); $promise = $client->listTargetGroupsAsync
([/* ... */]);
Lists your target groups. You can narrow your search by using the filters below in your request.
Parameter Syntax
$result = $client->listTargetGroups([ 'maxResults' => <integer>, 'nextToken' => '<string>', 'targetGroupType' => 'IP|LAMBDA|INSTANCE|ALB', 'vpcIdentifier' => '<string>', ]);
Parameter Details
Members
- maxResults
-
- Type: int
The maximum number of results to return.
- nextToken
-
- Type: string
A pagination token for the next page of results.
- targetGroupType
-
- Type: string
The target group type.
- vpcIdentifier
-
- Type: string
The ID or ARN of the VPC.
Result Syntax
[ 'items' => [ [ 'arn' => '<string>', 'createdAt' => <DateTime>, 'id' => '<string>', 'ipAddressType' => 'IPV4|IPV6', 'lambdaEventStructureVersion' => 'V1|V2', 'lastUpdatedAt' => <DateTime>, 'name' => '<string>', 'port' => <integer>, 'protocol' => 'HTTP|HTTPS|TCP', 'serviceArns' => ['<string>', ...], 'status' => 'CREATE_IN_PROGRESS|ACTIVE|DELETE_IN_PROGRESS|CREATE_FAILED|DELETE_FAILED', 'type' => 'IP|LAMBDA|INSTANCE|ALB', 'vpcIdentifier' => '<string>', ], // ... ], 'nextToken' => '<string>', ]
Result Details
Members
- items
-
- Type: Array of TargetGroupSummary structures
Information about the target groups.
- nextToken
-
- Type: string
If there are additional results, a pagination token for the next page of results.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- InternalServerException:
An unexpected error occurred while processing the request.
ListTargets
$result = $client->listTargets
([/* ... */]); $promise = $client->listTargetsAsync
([/* ... */]);
Lists the targets for the target group. By default, all targets are included. You can use this API to check the health status of targets. You can also filter the results by target.
Parameter Syntax
$result = $client->listTargets([ 'maxResults' => <integer>, 'nextToken' => '<string>', 'targetGroupIdentifier' => '<string>', // REQUIRED 'targets' => [ [ 'id' => '<string>', // REQUIRED 'port' => <integer>, ], // ... ], ]);
Parameter Details
Members
- maxResults
-
- Type: int
The maximum number of results to return.
- nextToken
-
- Type: string
A pagination token for the next page of results.
- targetGroupIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the target group.
- targets
-
- Type: Array of Target structures
The targets.
Result Syntax
[ 'items' => [ [ 'id' => '<string>', 'port' => <integer>, 'reasonCode' => '<string>', 'status' => 'DRAINING|UNAVAILABLE|HEALTHY|UNHEALTHY|INITIAL|UNUSED', ], // ... ], 'nextToken' => '<string>', ]
Result Details
Members
- items
-
- Required: Yes
- Type: Array of TargetSummary structures
Information about the targets.
- nextToken
-
- Type: string
If there are additional results, a pagination token for the next page of results.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- InternalServerException:
An unexpected error occurred while processing the request.
PutAuthPolicy
$result = $client->putAuthPolicy
([/* ... */]); $promise = $client->putAuthPolicyAsync
([/* ... */]);
Creates or updates the auth policy. The policy string in JSON must not contain newlines or blank lines.
For more information, see Auth policies in the Amazon VPC Lattice User Guide.
Parameter Syntax
$result = $client->putAuthPolicy([ 'policy' => '<string>', // REQUIRED 'resourceIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- policy
-
- Required: Yes
- Type: string
The auth policy. The policy string in JSON must not contain newlines or blank lines.
- resourceIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the service network or service for which the policy is created.
Result Syntax
[ 'policy' => '<string>', 'state' => 'Active|Inactive', ]
Result Details
Members
- policy
-
- Type: string
The auth policy. The policy string in JSON must not contain newlines or blank lines.
- state
-
- Type: string
The state of the auth policy. The auth policy is only active when the auth type is set to
AWS_IAM
. If you provide a policy, then authentication and authorization decisions are made based on this policy and the client's IAM policy. If the Auth type isNONE
, then, any auth policy that you provide remains inactive. For more information, see Create a service network in the Amazon VPC Lattice User Guide.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- InternalServerException:
An unexpected error occurred while processing the request.
PutResourcePolicy
$result = $client->putResourcePolicy
([/* ... */]); $promise = $client->putResourcePolicyAsync
([/* ... */]);
Attaches a resource-based permission policy to a service or service network. The policy must contain the same actions and condition statements as the Amazon Web Services Resource Access Manager permission for sharing services and service networks.
Parameter Syntax
$result = $client->putResourcePolicy([ 'policy' => '<string>', // REQUIRED 'resourceArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- policy
-
- Required: Yes
- Type: string
An IAM policy. The policy string in JSON must not contain newlines or blank lines.
- resourceArn
-
- Required: Yes
- Type: string
The ID or ARN of the service network or service for which the policy is created.
Result Syntax
[]
Result Details
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- InternalServerException:
An unexpected error occurred while processing the request.
RegisterTargets
$result = $client->registerTargets
([/* ... */]); $promise = $client->registerTargetsAsync
([/* ... */]);
Registers the targets with the target group. If it's a Lambda target, you can only have one target in a target group.
Parameter Syntax
$result = $client->registerTargets([ 'targetGroupIdentifier' => '<string>', // REQUIRED 'targets' => [ // REQUIRED [ 'id' => '<string>', // REQUIRED 'port' => <integer>, ], // ... ], ]);
Parameter Details
Members
- targetGroupIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the target group.
- targets
-
- Required: Yes
- Type: Array of Target structures
The targets.
Result Syntax
[ 'successful' => [ [ 'id' => '<string>', 'port' => <integer>, ], // ... ], 'unsuccessful' => [ [ 'failureCode' => '<string>', 'failureMessage' => '<string>', 'id' => '<string>', 'port' => <integer>, ], // ... ], ]
Result Details
Members
- successful
-
- Type: Array of Target structures
The targets that were successfully registered.
- unsuccessful
-
- Type: Array of TargetFailure structures
The targets that were not registered.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- ConflictException:
The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException:
The request would cause a service quota to be exceeded.
- InternalServerException:
An unexpected error occurred while processing the request.
TagResource
$result = $client->tagResource
([/* ... */]); $promise = $client->tagResourceAsync
([/* ... */]);
Adds the specified tags to the specified resource.
Parameter Syntax
$result = $client->tagResource([ 'resourceArn' => '<string>', // REQUIRED 'tags' => ['<string>', ...], // REQUIRED ]);
Parameter Details
Members
- resourceArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the resource.
- tags
-
- Required: Yes
- Type: Associative array of custom strings keys (TagKey) to strings
The tags for the resource.
Result Syntax
[]
Result Details
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- InternalServerException:
An unexpected error occurred while processing the request.
UntagResource
$result = $client->untagResource
([/* ... */]); $promise = $client->untagResourceAsync
([/* ... */]);
Removes the specified tags from the specified resource.
Parameter Syntax
$result = $client->untagResource([ 'resourceArn' => '<string>', // REQUIRED 'tagKeys' => ['<string>', ...], // REQUIRED ]);
Parameter Details
Members
- resourceArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the resource.
- tagKeys
-
- Required: Yes
- Type: Array of strings
The tag keys of the tags to remove.
Result Syntax
[]
Result Details
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ResourceNotFoundException:
The request references a resource that does not exist.
- InternalServerException:
An unexpected error occurred while processing the request.
UpdateAccessLogSubscription
$result = $client->updateAccessLogSubscription
([/* ... */]); $promise = $client->updateAccessLogSubscriptionAsync
([/* ... */]);
Updates the specified access log subscription.
Parameter Syntax
$result = $client->updateAccessLogSubscription([ 'accessLogSubscriptionIdentifier' => '<string>', // REQUIRED 'destinationArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- accessLogSubscriptionIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the access log subscription.
- destinationArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the access log destination.
Result Syntax
[ 'arn' => '<string>', 'destinationArn' => '<string>', 'id' => '<string>', 'resourceArn' => '<string>', 'resourceId' => '<string>', ]
Result Details
Members
- arn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the access log subscription.
- destinationArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the access log destination.
- id
-
- Required: Yes
- Type: string
The ID of the access log subscription.
- resourceArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the access log subscription.
- resourceId
-
- Required: Yes
- Type: string
The ID of the resource.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- ConflictException:
The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException:
An unexpected error occurred while processing the request.
UpdateListener
$result = $client->updateListener
([/* ... */]); $promise = $client->updateListenerAsync
([/* ... */]);
Updates the specified listener for the specified service.
Parameter Syntax
$result = $client->updateListener([ 'defaultAction' => [ // REQUIRED 'fixedResponse' => [ 'statusCode' => <integer>, // REQUIRED ], 'forward' => [ 'targetGroups' => [ // REQUIRED [ 'targetGroupIdentifier' => '<string>', // REQUIRED 'weight' => <integer>, ], // ... ], ], ], 'listenerIdentifier' => '<string>', // REQUIRED 'serviceIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- defaultAction
-
- Required: Yes
- Type: RuleAction structure
The action for the default rule.
- listenerIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the listener.
- serviceIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the service.
Result Syntax
[ 'arn' => '<string>', 'defaultAction' => [ 'fixedResponse' => [ 'statusCode' => <integer>, ], 'forward' => [ 'targetGroups' => [ [ 'targetGroupIdentifier' => '<string>', 'weight' => <integer>, ], // ... ], ], ], 'id' => '<string>', 'name' => '<string>', 'port' => <integer>, 'protocol' => 'HTTP|HTTPS|TLS_PASSTHROUGH', 'serviceArn' => '<string>', 'serviceId' => '<string>', ]
Result Details
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the listener.
- defaultAction
-
- Type: RuleAction structure
The action for the default rule.
- id
-
- Type: string
The ID of the listener.
- name
-
- Type: string
The name of the listener.
- port
-
- Type: int
The listener port.
- protocol
-
- Type: string
The protocol of the listener.
- serviceArn
-
- Type: string
The Amazon Resource Name (ARN) of the service.
- serviceId
-
- Type: string
The ID of the service.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- ConflictException:
The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException:
The request would cause a service quota to be exceeded.
- InternalServerException:
An unexpected error occurred while processing the request.
UpdateResourceConfiguration
$result = $client->updateResourceConfiguration
([/* ... */]); $promise = $client->updateResourceConfigurationAsync
([/* ... */]);
Updates the specified resource configuration.
Parameter Syntax
$result = $client->updateResourceConfiguration([ 'allowAssociationToShareableServiceNetwork' => true || false, 'portRanges' => ['<string>', ...], 'resourceConfigurationDefinition' => [ 'arnResource' => [ 'arn' => '<string>', ], 'dnsResource' => [ 'domainName' => '<string>', 'ipAddressType' => 'IPV4|IPV6|DUALSTACK', ], 'ipResource' => [ 'ipAddress' => '<string>', ], ], 'resourceConfigurationIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- allowAssociationToShareableServiceNetwork
-
- Type: boolean
Indicates whether to add the resource configuration to service networks that are shared with other accounts.
- portRanges
-
- Type: Array of strings
The TCP port ranges that a consumer can use to access a resource configuration. You can separate port ranges with a comma. Example: 1-65535 or 1,2,22-30
- resourceConfigurationDefinition
-
- Type: ResourceConfigurationDefinition structure
The resource configuration.
- resourceConfigurationIdentifier
-
- Required: Yes
- Type: string
The ID of the resource configuration.
Result Syntax
[ 'allowAssociationToShareableServiceNetwork' => true || false, 'arn' => '<string>', 'id' => '<string>', 'name' => '<string>', 'portRanges' => ['<string>', ...], 'protocol' => 'TCP', 'resourceConfigurationDefinition' => [ 'arnResource' => [ 'arn' => '<string>', ], 'dnsResource' => [ 'domainName' => '<string>', 'ipAddressType' => 'IPV4|IPV6|DUALSTACK', ], 'ipResource' => [ 'ipAddress' => '<string>', ], ], 'resourceConfigurationGroupId' => '<string>', 'resourceGatewayId' => '<string>', 'status' => 'ACTIVE|CREATE_IN_PROGRESS|UPDATE_IN_PROGRESS|DELETE_IN_PROGRESS|CREATE_FAILED|UPDATE_FAILED|DELETE_FAILED', 'type' => 'GROUP|CHILD|SINGLE|ARN', ]
Result Details
Members
- allowAssociationToShareableServiceNetwork
-
- Type: boolean
Indicates whether to add the resource configuration to service networks that are shared with other accounts.
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the resource configuration.
- id
-
- Type: string
The ID of the resource configuration.
- name
-
- Type: string
The name of the resource configuration.
- portRanges
-
- Type: Array of strings
The TCP port ranges that a consumer can use to access a resource configuration. You can separate port ranges with a comma. Example: 1-65535 or 1,2,22-30
- protocol
-
- Type: string
The TCP protocol accepted by the specified resource configuration.
- resourceConfigurationDefinition
-
- Type: ResourceConfigurationDefinition structure
The resource configuration.
- resourceConfigurationGroupId
-
- Type: string
The ID of the group resource configuration.
- resourceGatewayId
-
- Type: string
The ID of the resource gateway associated with the resource configuration.
- status
-
- Type: string
The status of the resource configuration.
- type
-
- Type: string
The type of resource configuration.
-
SINGLE
- A single resource. -
GROUP
- A group of resources. -
CHILD
- A single resource that is part of a group resource configuration. -
ARN
- An Amazon Web Services resource.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- ServiceQuotaExceededException:
The request would cause a service quota to be exceeded.
- InternalServerException:
An unexpected error occurred while processing the request.
UpdateResourceGateway
$result = $client->updateResourceGateway
([/* ... */]); $promise = $client->updateResourceGatewayAsync
([/* ... */]);
Updates the specified resource gateway.
Parameter Syntax
$result = $client->updateResourceGateway([ 'resourceGatewayIdentifier' => '<string>', // REQUIRED 'securityGroupIds' => ['<string>', ...], ]);
Parameter Details
Members
- resourceGatewayIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the resource gateway.
- securityGroupIds
-
- Type: Array of strings
The IDs of the security groups associated with the resource gateway.
Result Syntax
[ 'arn' => '<string>', 'id' => '<string>', 'ipAddressType' => 'IPV4|IPV6', 'name' => '<string>', 'securityGroupIds' => ['<string>', ...], 'status' => 'ACTIVE|CREATE_IN_PROGRESS|UPDATE_IN_PROGRESS|DELETE_IN_PROGRESS|CREATE_FAILED|UPDATE_FAILED|DELETE_FAILED', 'subnetIds' => ['<string>', ...], 'vpcId' => '<string>', ]
Result Details
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the resource gateway.
- id
-
- Type: string
The ID of the resource gateway.
- ipAddressType
-
- Type: string
The type of IP address used by the resource gateway.
- name
-
- Type: string
The name of the resource gateway.
- securityGroupIds
-
- Type: Array of strings
The IDs of the security groups associated with the resource gateway.
- status
-
- Type: string
The status of the resource gateway.
- subnetIds
-
- Type: Array of strings
The IDs of the VPC subnets for the resource gateway.
- vpcId
-
- Type: string
The ID of the VPC for the resource gateway.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- InternalServerException:
An unexpected error occurred while processing the request.
UpdateRule
$result = $client->updateRule
([/* ... */]); $promise = $client->updateRuleAsync
([/* ... */]);
Updates a specified rule for the listener. You can't modify a default listener rule. To modify a default listener rule, use UpdateListener
.
Parameter Syntax
$result = $client->updateRule([ 'action' => [ 'fixedResponse' => [ 'statusCode' => <integer>, // REQUIRED ], 'forward' => [ 'targetGroups' => [ // REQUIRED [ 'targetGroupIdentifier' => '<string>', // REQUIRED 'weight' => <integer>, ], // ... ], ], ], 'listenerIdentifier' => '<string>', // REQUIRED 'match' => [ 'httpMatch' => [ 'headerMatches' => [ [ 'caseSensitive' => true || false, 'match' => [ // REQUIRED 'contains' => '<string>', 'exact' => '<string>', 'prefix' => '<string>', ], 'name' => '<string>', // REQUIRED ], // ... ], 'method' => '<string>', 'pathMatch' => [ 'caseSensitive' => true || false, 'match' => [ // REQUIRED 'exact' => '<string>', 'prefix' => '<string>', ], ], ], ], 'priority' => <integer>, 'ruleIdentifier' => '<string>', // REQUIRED 'serviceIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- action
-
- Type: RuleAction structure
Information about the action for the specified listener rule.
- listenerIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the listener.
- match
-
- Type: RuleMatch structure
The rule match.
- priority
-
- Type: int
The rule priority. A listener can't have multiple rules with the same priority.
- ruleIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the rule.
- serviceIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the service.
Result Syntax
[ 'action' => [ 'fixedResponse' => [ 'statusCode' => <integer>, ], 'forward' => [ 'targetGroups' => [ [ 'targetGroupIdentifier' => '<string>', 'weight' => <integer>, ], // ... ], ], ], 'arn' => '<string>', 'id' => '<string>', 'isDefault' => true || false, 'match' => [ 'httpMatch' => [ 'headerMatches' => [ [ 'caseSensitive' => true || false, 'match' => [ 'contains' => '<string>', 'exact' => '<string>', 'prefix' => '<string>', ], 'name' => '<string>', ], // ... ], 'method' => '<string>', 'pathMatch' => [ 'caseSensitive' => true || false, 'match' => [ 'exact' => '<string>', 'prefix' => '<string>', ], ], ], ], 'name' => '<string>', 'priority' => <integer>, ]
Result Details
Members
- action
-
- Type: RuleAction structure
Information about the action for the specified listener rule.
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the listener.
- id
-
- Type: string
The ID of the listener.
- isDefault
-
- Type: boolean
Indicates whether this is the default rule.
- match
-
- Type: RuleMatch structure
The rule match.
- name
-
- Type: string
The name of the listener.
- priority
-
- Type: int
The rule priority.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- ConflictException:
The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException:
The request would cause a service quota to be exceeded.
- InternalServerException:
An unexpected error occurred while processing the request.
UpdateService
$result = $client->updateService
([/* ... */]); $promise = $client->updateServiceAsync
([/* ... */]);
Updates the specified service.
Parameter Syntax
$result = $client->updateService([ 'authType' => 'NONE|AWS_IAM', 'certificateArn' => '<string>', 'serviceIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- authType
-
- Type: string
The type of IAM policy.
-
NONE
: The resource does not use an IAM policy. This is the default. -
AWS_IAM
: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.
- certificateArn
-
- Type: string
The Amazon Resource Name (ARN) of the certificate.
- serviceIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the service.
Result Syntax
[ 'arn' => '<string>', 'authType' => 'NONE|AWS_IAM', 'certificateArn' => '<string>', 'customDomainName' => '<string>', 'id' => '<string>', 'name' => '<string>', ]
Result Details
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the service.
- authType
-
- Type: string
The type of IAM policy.
- certificateArn
-
- Type: string
The Amazon Resource Name (ARN) of the certificate.
- customDomainName
-
- Type: string
The custom domain name of the service.
- id
-
- Type: string
The ID of the service.
- name
-
- Type: string
The name of the service.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- ConflictException:
The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException:
The request would cause a service quota to be exceeded.
- InternalServerException:
An unexpected error occurred while processing the request.
UpdateServiceNetwork
$result = $client->updateServiceNetwork
([/* ... */]); $promise = $client->updateServiceNetworkAsync
([/* ... */]);
Updates the specified service network.
Parameter Syntax
$result = $client->updateServiceNetwork([ 'authType' => 'NONE|AWS_IAM', // REQUIRED 'serviceNetworkIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- authType
-
- Required: Yes
- Type: string
The type of IAM policy.
-
NONE
: The resource does not use an IAM policy. This is the default. -
AWS_IAM
: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.
- serviceNetworkIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the service network.
Result Syntax
[ 'arn' => '<string>', 'authType' => 'NONE|AWS_IAM', 'id' => '<string>', 'name' => '<string>', ]
Result Details
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the service network.
- authType
-
- Type: string
The type of IAM policy.
- id
-
- Type: string
The ID of the service network.
- name
-
- Type: string
The name of the service network.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- ConflictException:
The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException:
An unexpected error occurred while processing the request.
UpdateServiceNetworkVpcAssociation
$result = $client->updateServiceNetworkVpcAssociation
([/* ... */]); $promise = $client->updateServiceNetworkVpcAssociationAsync
([/* ... */]);
Updates the service network and VPC association. If you add a security group to the service network and VPC association, the association must continue to have at least one security group. You can add or edit security groups at any time. However, to remove all security groups, you must first delete the association and then recreate it without security groups.
Parameter Syntax
$result = $client->updateServiceNetworkVpcAssociation([ 'securityGroupIds' => ['<string>', ...], // REQUIRED 'serviceNetworkVpcAssociationIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- securityGroupIds
-
- Required: Yes
- Type: Array of strings
The IDs of the security groups.
- serviceNetworkVpcAssociationIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the association.
Result Syntax
[ 'arn' => '<string>', 'createdBy' => '<string>', 'id' => '<string>', 'securityGroupIds' => ['<string>', ...], 'status' => 'CREATE_IN_PROGRESS|ACTIVE|UPDATE_IN_PROGRESS|DELETE_IN_PROGRESS|CREATE_FAILED|DELETE_FAILED|UPDATE_FAILED', ]
Result Details
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the association.
- createdBy
-
- Type: string
The account that created the association.
- id
-
- Type: string
The ID of the association.
- securityGroupIds
-
- Type: Array of strings
The IDs of the security groups.
- status
-
- Type: string
The status. You can retry the operation if the status is
DELETE_FAILED
. However, if you retry it while the status isDELETE_IN_PROGRESS
, there is no change in the status.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- ConflictException:
The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException:
An unexpected error occurred while processing the request.
UpdateTargetGroup
$result = $client->updateTargetGroup
([/* ... */]); $promise = $client->updateTargetGroupAsync
([/* ... */]);
Updates the specified target group.
Parameter Syntax
$result = $client->updateTargetGroup([ 'healthCheck' => [ // REQUIRED 'enabled' => true || false, 'healthCheckIntervalSeconds' => <integer>, 'healthCheckTimeoutSeconds' => <integer>, 'healthyThresholdCount' => <integer>, 'matcher' => [ 'httpCode' => '<string>', ], 'path' => '<string>', 'port' => <integer>, 'protocol' => 'HTTP|HTTPS|TCP', 'protocolVersion' => 'HTTP1|HTTP2', 'unhealthyThresholdCount' => <integer>, ], 'targetGroupIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- healthCheck
-
- Required: Yes
- Type: HealthCheckConfig structure
The health check configuration.
- targetGroupIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the target group.
Result Syntax
[ 'arn' => '<string>', 'config' => [ 'healthCheck' => [ 'enabled' => true || false, 'healthCheckIntervalSeconds' => <integer>, 'healthCheckTimeoutSeconds' => <integer>, 'healthyThresholdCount' => <integer>, 'matcher' => [ 'httpCode' => '<string>', ], 'path' => '<string>', 'port' => <integer>, 'protocol' => 'HTTP|HTTPS|TCP', 'protocolVersion' => 'HTTP1|HTTP2', 'unhealthyThresholdCount' => <integer>, ], 'ipAddressType' => 'IPV4|IPV6', 'lambdaEventStructureVersion' => 'V1|V2', 'port' => <integer>, 'protocol' => 'HTTP|HTTPS|TCP', 'protocolVersion' => 'HTTP1|HTTP2|GRPC', 'vpcIdentifier' => '<string>', ], 'id' => '<string>', 'name' => '<string>', 'status' => 'CREATE_IN_PROGRESS|ACTIVE|DELETE_IN_PROGRESS|CREATE_FAILED|DELETE_FAILED', 'type' => 'IP|LAMBDA|INSTANCE|ALB', ]
Result Details
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the target group.
- config
-
- Type: TargetGroupConfig structure
The target group configuration.
- id
-
- Type: string
The ID of the target group.
- name
-
- Type: string
The name of the target group.
- status
-
- Type: string
The status.
- type
-
- Type: string
The target group type.
Errors
- ValidationException:
The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException:
The user does not have sufficient access to perform this action.
- ThrottlingException:
The limit on the number of requests per second was exceeded.
- ResourceNotFoundException:
The request references a resource that does not exist.
- ConflictException:
The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException:
The request would cause a service quota to be exceeded.
- InternalServerException:
An unexpected error occurred while processing the request.
Shapes
AccessDeniedException
Description
The user does not have sufficient access to perform this action.
Members
- message
-
- Required: Yes
- Type: string
AccessLogSubscriptionSummary
Description
Summary information about an access log subscription.
Members
- arn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the access log subscription
- createdAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the access log subscription was created, in ISO-8601 format.
- destinationArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the destination.
- id
-
- Required: Yes
- Type: string
The ID of the access log subscription.
- lastUpdatedAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the access log subscription was last updated, in ISO-8601 format.
- resourceArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the service or service network.
- resourceId
-
- Required: Yes
- Type: string
The ID of the service or service network.
- serviceNetworkLogType
-
- Type: string
Log type of the service network.
ArnResource
Description
The Amazon Resource Name (ARN) of the resource.
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the resource.
ConflictException
Description
The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
Members
- message
-
- Required: Yes
- Type: string
- resourceId
-
- Required: Yes
- Type: string
The resource ID.
- resourceType
-
- Required: Yes
- Type: string
The resource type.
DnsEntry
Description
Describes the DNS information of a service.
Members
- domainName
-
- Type: string
The domain name of the service.
- hostedZoneId
-
- Type: string
The ID of the hosted zone.
DnsResource
Description
The DNS name of the resource.
Members
- domainName
-
- Type: string
The domain name of the resource.
- ipAddressType
-
- Type: string
The type of IP address.
FixedResponseAction
Description
Describes an action that returns a custom HTTP response.
Members
- statusCode
-
- Required: Yes
- Type: int
The HTTP response code.
ForwardAction
Description
Describes a forward action. You can use forward actions to route requests to one or more target groups.
Members
- targetGroups
-
- Required: Yes
- Type: Array of WeightedTargetGroup structures
The target groups. Traffic matching the rule is forwarded to the specified target groups. With forward actions, you can assign a weight that controls the prioritization and selection of each target group. This means that requests are distributed to individual target groups based on their weights. For example, if two target groups have the same weight, each target group receives half of the traffic.
The default value is 1. This means that if only one target group is provided, there is no need to set the weight; 100% of the traffic goes to that target group.
HeaderMatch
Description
Describes the constraints for a header match. Matches incoming requests with rule based on request header value before applying rule action.
Members
- caseSensitive
-
- Type: boolean
Indicates whether the match is case sensitive.
- match
-
- Required: Yes
- Type: HeaderMatchType structure
The header match type.
- name
-
- Required: Yes
- Type: string
The name of the header.
HeaderMatchType
Description
Describes a header match type.
Members
- contains
-
- Type: string
A contains type match.
- exact
-
- Type: string
An exact type match.
- prefix
-
- Type: string
A prefix type match. Matches the value with the prefix.
HealthCheckConfig
Description
Describes the health check configuration of a target group. Health check configurations aren't used for target groups of type LAMBDA
or ALB
.
Members
- enabled
-
- Type: boolean
Indicates whether health checking is enabled.
- healthCheckIntervalSeconds
-
- Type: int
The approximate amount of time, in seconds, between health checks of an individual target. The range is 5–300 seconds. The default is 30 seconds.
- healthCheckTimeoutSeconds
-
- Type: int
The amount of time, in seconds, to wait before reporting a target as unhealthy. The range is 1–120 seconds. The default is 5 seconds.
- healthyThresholdCount
-
- Type: int
The number of consecutive successful health checks required before considering an unhealthy target healthy. The range is 2–10. The default is 5.
- matcher
-
- Type: Matcher structure
The codes to use when checking for a successful response from a target.
- path
-
- Type: string
The destination for health checks on the targets. If the protocol version is
HTTP/1.1
orHTTP/2
, specify a valid URI (for example,/path?query
). The default path is/
. Health checks are not supported if the protocol version isgRPC
, however, you can chooseHTTP/1.1
orHTTP/2
and specify a valid URI. - port
-
- Type: int
The port used when performing health checks on targets. The default setting is the port that a target receives traffic on.
- protocol
-
- Type: string
The protocol used when performing health checks on targets. The possible protocols are
HTTP
andHTTPS
. The default isHTTP
. - protocolVersion
-
- Type: string
The protocol version used when performing health checks on targets. The possible protocol versions are
HTTP1
andHTTP2
. - unhealthyThresholdCount
-
- Type: int
The number of consecutive failed health checks required before considering a target unhealthy. The range is 2–10. The default is 2.
HttpMatch
Description
Describes criteria that can be applied to incoming requests.
Members
- headerMatches
-
- Type: Array of HeaderMatch structures
The header matches. Matches incoming requests with rule based on request header value before applying rule action.
- method
-
- Type: string
The HTTP method type.
- pathMatch
-
- Type: PathMatch structure
The path match.
InternalServerException
Description
An unexpected error occurred while processing the request.
Members
- message
-
- Required: Yes
- Type: string
- retryAfterSeconds
-
- Type: int
The number of seconds to wait before retrying.
IpResource
Description
Describes an IP resource.
Members
- ipAddress
-
- Type: string
The IP address of the IP resource.
ListenerSummary
Description
Summary information about a listener.
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the listener.
- createdAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the listener was created, in ISO-8601 format.
- id
-
- Type: string
The ID of the listener.
- lastUpdatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the listener was last updated, in ISO-8601 format.
- name
-
- Type: string
The name of the listener.
- port
-
- Type: int
The listener port.
- protocol
-
- Type: string
The listener protocol.
Matcher
Description
Describes the codes to use when checking for a successful response from a target for health checks.
Members
- httpCode
-
- Type: string
The HTTP code to use when checking for a successful response from a target.
PathMatch
Description
Describes the conditions that can be applied when matching a path for incoming requests.
Members
- caseSensitive
-
- Type: boolean
Indicates whether the match is case sensitive.
- match
-
- Required: Yes
- Type: PathMatchType structure
The type of path match.
PathMatchType
Description
Describes a path match type. Each rule can include only one of the following types of paths.
Members
- exact
-
- Type: string
An exact match of the path.
- prefix
-
- Type: string
A prefix match of the path.
ResourceConfigurationDefinition
Description
Describes a resource configuration.
Members
- arnResource
-
- Type: ArnResource structure
The Amazon Resource Name (ARN) of the resource.
- dnsResource
-
- Type: DnsResource structure
The DNS name of the resource.
- ipResource
-
- Type: IpResource structure
The IP resource.
ResourceConfigurationSummary
Description
Summary information about a resource configuration.
Members
- amazonManaged
-
- Type: boolean
Indicates whether the resource configuration was created and is managed by Amazon.
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the resource configuration.
- createdAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the resource configuration was created, in ISO-8601 format.
- id
-
- Type: string
The ID of the resource configuration.
- lastUpdatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The most recent date and time that the resource configuration was updated, in ISO-8601 format.
- name
-
- Type: string
The name of the resource configuration.
- resourceConfigurationGroupId
-
- Type: string
The ID of the group resource configuration.
- resourceGatewayId
-
- Type: string
The ID of the resource gateway.
- status
-
- Type: string
The status of the resource configuration.
- type
-
- Type: string
The type of resource configuration.
-
SINGLE
- A single resource. -
GROUP
- A group of resources. -
CHILD
- A single resource that is part of a group resource configuration. -
ARN
- An Amazon Web Services resource.
ResourceEndpointAssociationSummary
Description
Summary information about a VPC endpoint association.
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the VPC endpoint association.
- createdAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the VPC endpoint association was created, in ISO-8601 format.
- createdBy
-
- Type: string
The account that created the association.
- id
-
- Type: string
The ID of the VPC endpoint association.
- resourceConfigurationArn
-
- Type: string
The Amazon Resource Name (ARN) of the resource configuration.
- resourceConfigurationId
-
- Type: string
The ID of the resource configuration.
- resourceConfigurationName
-
- Type: string
The name of the resource configuration.
- vpcEndpointId
-
- Type: string
The ID of the VPC endpoint.
- vpcEndpointOwner
-
- Type: string
The owner of the VPC endpoint.
ResourceGatewaySummary
Description
Summary information about a resource gateway.
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the resource gateway.
- createdAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the VPC endpoint association was created, in ISO-8601 format.
- id
-
- Type: string
The ID of the resource gateway.
- ipAddressType
-
- Type: string
The type of IP address used by the resource gateway.
- lastUpdatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The most recent date and time that the resource gateway was updated, in ISO-8601 format.
- name
-
- Type: string
The name of the resource gateway.
- securityGroupIds
-
- Type: Array of strings
The IDs of the security groups applied to the resource gateway.
- status
-
- Type: string
The name of the resource gateway.
- subnetIds
-
- Type: Array of strings
The IDs of the VPC subnets for the resource gateway.
- vpcIdentifier
-
- Type: string
The ID of the VPC for the resource gateway.
ResourceNotFoundException
Description
The request references a resource that does not exist.
Members
- message
-
- Required: Yes
- Type: string
- resourceId
-
- Required: Yes
- Type: string
The resource ID.
- resourceType
-
- Required: Yes
- Type: string
The resource type.
RuleAction
Description
Describes the action for a rule.
Members
- fixedResponse
-
- Type: FixedResponseAction structure
The fixed response action. The rule returns a custom HTTP response.
- forward
-
- Type: ForwardAction structure
The forward action. Traffic that matches the rule is forwarded to the specified target groups.
RuleMatch
Description
Describes a rule match.
Members
- httpMatch
-
- Type: HttpMatch structure
The HTTP criteria that a rule must match.
RuleSummary
Description
Summary information about a listener rule.
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the rule.
- createdAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the listener rule was created, in ISO-8601 format.
- id
-
- Type: string
The ID of the rule.
- isDefault
-
- Type: boolean
Indicates whether this is the default listener rule.
- lastUpdatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the listener rule was last updated, in ISO-8601 format.
- name
-
- Type: string
The name of the rule.
- priority
-
- Type: int
The priority of the rule.
RuleUpdate
Description
Describes a rule update.
Members
- action
-
- Type: RuleAction structure
The rule action.
- match
-
- Type: RuleMatch structure
The rule match.
- priority
-
- Type: int
The rule priority. A listener can't have multiple rules with the same priority.
- ruleIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the rule.
RuleUpdateFailure
Description
Describes a rule update that failed.
Members
- failureCode
-
- Type: string
The failure code.
- failureMessage
-
- Type: string
The failure message.
- ruleIdentifier
-
- Type: string
The ID or ARN of the rule.
RuleUpdateSuccess
Description
Describes a successful rule update.
Members
- action
-
- Type: RuleAction structure
The action for the rule.
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the listener.
- id
-
- Type: string
The ID of the listener.
- isDefault
-
- Type: boolean
Indicates whether this is the default rule.
- match
-
- Type: RuleMatch structure
The rule match.
- name
-
- Type: string
The name of the listener.
- priority
-
- Type: int
The rule priority.
ServiceNetworkEndpointAssociation
Description
Describes the association between a service network and a VPC endpoint.
Members
- createdAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the association was created, in ISO-8601 format.
- id
-
- Type: string
The ID of the association.
- serviceNetworkArn
-
- Type: string
The Amazon Resource Name (ARN) of the service network.
- state
-
- Type: string
The state of the association.
- vpcEndpointId
-
- Type: string
The ID of the VPC endpoint associated with the service network.
- vpcEndpointOwnerId
-
- Type: string
The owner of the VPC endpoint associated with the service network.
- vpcId
-
- Type: string
The ID of the VPC for the association.
ServiceNetworkResourceAssociationSummary
Description
Summary information about an association between a service network and a resource configuration.
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the association.
- createdAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the association was created, in ISO-8601 format.
- createdBy
-
- Type: string
The account that created the association.
- dnsEntry
-
- Type: DnsEntry structure
The DNS entry for the service.
- failureCode
-
- Type: string
The failure code.
- id
-
- Type: string
The ID of the association between the service network and resource configuration.
- isManagedAssociation
-
- Type: boolean
Specifies whether the association is managed by Amazon.
- privateDnsEntry
-
- Type: DnsEntry structure
The private DNS entry for the service.
- resourceConfigurationArn
-
- Type: string
The Amazon Resource Name (ARN) of the association.
- resourceConfigurationId
-
- Type: string
The ID of the resource configuration associated with the service network.
- resourceConfigurationName
-
- Type: string
The name of the resource configuration associated with the service network.
- serviceNetworkArn
-
- Type: string
The Amazon Resource Name (ARN) of the service network associated with the resource configuration.
- serviceNetworkId
-
- Type: string
The ID of the service network associated with the resource configuration.
- serviceNetworkName
-
- Type: string
The name of the service network associated with the resource configuration.
- status
-
- Type: string
The status of the service network associated with the resource configuration.
ServiceNetworkServiceAssociationSummary
Description
Summary information about an association between a service network and a service.
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the association.
- createdAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the association was created, in ISO-8601 format.
- createdBy
-
- Type: string
The account that created the association.
- customDomainName
-
- Type: string
The custom domain name of the service.
- dnsEntry
-
- Type: DnsEntry structure
The DNS information.
- id
-
- Type: string
The ID of the association.
- serviceArn
-
- Type: string
The Amazon Resource Name (ARN) of the service.
- serviceId
-
- Type: string
The ID of the service.
- serviceName
-
- Type: string
The name of the service.
- serviceNetworkArn
-
- Type: string
The Amazon Resource Name (ARN) of the service network.
- serviceNetworkId
-
- Type: string
The ID of the service network.
- serviceNetworkName
-
- Type: string
The name of the service network.
- status
-
- Type: string
The status. If the deletion fails, try to delete again.
ServiceNetworkSummary
Description
Summary information about a service network.
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the service network.
- createdAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the service network was created, in ISO-8601 format.
- id
-
- Type: string
The ID of the service network.
- lastUpdatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the service network was last updated, in ISO-8601 format.
- name
-
- Type: string
The name of the service network.
- numberOfAssociatedResourceConfigurations
-
- Type: long (int|float)
The number of resource configurations associated with a service network.
- numberOfAssociatedServices
-
- Type: long (int|float)
The number of services associated with the service network.
- numberOfAssociatedVPCs
-
- Type: long (int|float)
The number of VPCs associated with the service network.
ServiceNetworkVpcAssociationSummary
Description
Summary information about an association between a service network and a VPC.
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the association.
- createdAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the association was created, in ISO-8601 format.
- createdBy
-
- Type: string
The account that created the association.
- id
-
- Type: string
The ID of the association.
- lastUpdatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the association was last updated, in ISO-8601 format.
- serviceNetworkArn
-
- Type: string
The Amazon Resource Name (ARN) of the service network.
- serviceNetworkId
-
- Type: string
The ID of the service network.
- serviceNetworkName
-
- Type: string
The name of the service network.
- status
-
- Type: string
The status.
- vpcId
-
- Type: string
The ID of the VPC.
ServiceQuotaExceededException
Description
The request would cause a service quota to be exceeded.
Members
- message
-
- Required: Yes
- Type: string
- quotaCode
-
- Required: Yes
- Type: string
The ID of the service quota that was exceeded.
- resourceId
-
- Type: string
The resource ID.
- resourceType
-
- Required: Yes
- Type: string
The resource type.
- serviceCode
-
- Required: Yes
- Type: string
The service code.
ServiceSummary
Description
Summary information about a service.
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the service.
- createdAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the service was created, in ISO-8601 format.
- customDomainName
-
- Type: string
The custom domain name of the service.
- dnsEntry
-
- Type: DnsEntry structure
The DNS information.
- id
-
- Type: string
The ID of the service.
- lastUpdatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the service was last updated, in ISO-8601 format.
- name
-
- Type: string
The name of the service.
- status
-
- Type: string
The status.
SharingConfig
Description
Specifies if the service network should be enabled for sharing.
Members
- enabled
-
- Type: boolean
Specifies if the service network is enabled for sharing.
Target
Description
Describes a target.
Members
- id
-
- Required: Yes
- Type: string
The ID of the target. If the target group type is
INSTANCE
, this is an instance ID. If the target group type isIP
, this is an IP address. If the target group type isLAMBDA
, this is the ARN of a Lambda function. If the target group type isALB
, this is the ARN of an Application Load Balancer. - port
-
- Type: int
The port on which the target is listening. For HTTP, the default is 80. For HTTPS, the default is 443.
TargetFailure
Description
Describes a target failure.
Members
- failureCode
-
- Type: string
The failure code.
- failureMessage
-
- Type: string
The failure message.
- id
-
- Type: string
The ID of the target. If the target group type is
INSTANCE
, this is an instance ID. If the target group type isIP
, this is an IP address. If the target group type isLAMBDA
, this is the ARN of a Lambda function. If the target group type isALB
, this is the ARN of an Application Load Balancer. - port
-
- Type: int
The port on which the target is listening. This parameter doesn't apply if the target is a Lambda function.
TargetGroupConfig
Description
Describes the configuration of a target group.
For more information, see Target groups in the Amazon VPC Lattice User Guide.
Members
- healthCheck
-
- Type: HealthCheckConfig structure
The health check configuration. Not supported if the target group type is
LAMBDA
orALB
. - ipAddressType
-
- Type: string
The type of IP address used for the target group. Supported only if the target group type is
IP
. The default isIPV4
. - lambdaEventStructureVersion
-
- Type: string
The version of the event structure that your Lambda function receives. Supported only if the target group type is
LAMBDA
. The default isV1
. - port
-
- Type: int
The port on which the targets are listening. For HTTP, the default is 80. For HTTPS, the default is 443. Not supported if the target group type is
LAMBDA
. - protocol
-
- Type: string
The protocol to use for routing traffic to the targets. The default is the protocol of the target group. Not supported if the target group type is
LAMBDA
. - protocolVersion
-
- Type: string
The protocol version. The default is
HTTP1
. Not supported if the target group type isLAMBDA
. - vpcIdentifier
-
- Type: string
The ID of the VPC. Not supported if the target group type is
LAMBDA
.
TargetGroupSummary
Description
Summary information about a target group.
For more information, see Target groups in the Amazon VPC Lattice User Guide.
Members
- arn
-
- Type: string
The ARN (Amazon Resource Name) of the target group.
- createdAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the target group was created, in ISO-8601 format.
- id
-
- Type: string
The ID of the target group.
- ipAddressType
-
- Type: string
The type of IP address used for the target group. The possible values are
IPV4
andIPV6
. This is an optional parameter. If not specified, the default isIPV4
. - lambdaEventStructureVersion
-
- Type: string
The version of the event structure that your Lambda function receives. Supported only if the target group type is
LAMBDA
. - lastUpdatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the target group was last updated, in ISO-8601 format.
- name
-
- Type: string
The name of the target group.
- port
-
- Type: int
The port of the target group.
- protocol
-
- Type: string
The protocol of the target group.
- serviceArns
-
- Type: Array of strings
The Amazon Resource Names (ARNs) of the service.
- status
-
- Type: string
The status.
- type
-
- Type: string
The target group type.
- vpcIdentifier
-
- Type: string
The ID of the VPC of the target group.
TargetSummary
Description
Summary information about a target.
Members
- id
-
- Type: string
The ID of the target. If the target group type is
INSTANCE
, this is an instance ID. If the target group type isIP
, this is an IP address. If the target group type isLAMBDA
, this is the ARN of a Lambda function. If the target type isALB
, this is the ARN of an Application Load Balancer. - port
-
- Type: int
The port on which the target is listening.
- reasonCode
-
- Type: string
The code for why the target status is what it is.
- status
-
- Type: string
The status of the target.
-
DRAINING
: The target is being deregistered. No new connections are sent to this target while current connections are being drained. The default draining time is 5 minutes. -
UNAVAILABLE
: Health checks are unavailable for the target group. -
HEALTHY
: The target is healthy. -
UNHEALTHY
: The target is unhealthy. -
INITIAL
: Initial health checks on the target are being performed. -
UNUSED
: Target group is not used in a service.
ThrottlingException
Description
The limit on the number of requests per second was exceeded.
Members
- message
-
- Required: Yes
- Type: string
- quotaCode
-
- Type: string
The ID of the service quota that was exceeded.
- retryAfterSeconds
-
- Type: int
The number of seconds to wait before retrying.
- serviceCode
-
- Type: string
The service code.
ValidationException
Description
The input does not satisfy the constraints specified by an Amazon Web Services service.
Members
- fieldList
-
- Type: Array of ValidationExceptionField structures
The fields that failed validation.
- message
-
- Required: Yes
- Type: string
- reason
-
- Required: Yes
- Type: string
The reason.
ValidationExceptionField
Description
Describes a validation failure.
Members
- message
-
- Required: Yes
- Type: string
Additional information about why the validation failed.
- name
-
- Required: Yes
- Type: string
The name of the validation exception.
WeightedTargetGroup
Description
Describes the weight of a target group.
Members
- targetGroupIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the target group.
- weight
-
- Type: int
Only required if you specify multiple target groups for a forward action. The weight determines how requests are distributed to the target group. For example, if you specify two target groups, each with a weight of 10, each target group receives half the requests. If you specify two target groups, one with a weight of 10 and the other with a weight of 20, the target group with a weight of 20 receives twice as many requests as the other target group. If there's only one target group specified, then the default value is 100.