{ "version":"2.0", "metadata":{ "apiVersion":"2022-11-30", "endpointPrefix":"vpc-lattice", "jsonVersion":"1.1", "protocol":"rest-json", "serviceFullName":"Amazon VPC Lattice", "serviceId":"VPC Lattice", "signatureVersion":"v4", "signingName":"vpc-lattice", "uid":"vpc-lattice-2022-11-30" }, "operations":{ "BatchUpdateRule":{ "name":"BatchUpdateRule", "http":{ "method":"PATCH", "requestUri":"/services/{serviceIdentifier}/listeners/{listenerIdentifier}/rules", "responseCode":200 }, "input":{"shape":"BatchUpdateRuleRequest"}, "output":{"shape":"BatchUpdateRuleResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"InternalServerException"} ], "documentation":"

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.

", "idempotent":true }, "CreateAccessLogSubscription":{ "name":"CreateAccessLogSubscription", "http":{ "method":"POST", "requestUri":"/accesslogsubscriptions", "responseCode":201 }, "input":{"shape":"CreateAccessLogSubscriptionRequest"}, "output":{"shape":"CreateAccessLogSubscriptionResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"InternalServerException"} ], "documentation":"

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 will 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.

", "idempotent":true }, "CreateListener":{ "name":"CreateListener", "http":{ "method":"POST", "requestUri":"/services/{serviceIdentifier}/listeners", "responseCode":201 }, "input":{"shape":"CreateListenerRequest"}, "output":{"shape":"CreateListenerResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"ServiceQuotaExceededException"}, {"shape":"InternalServerException"} ], "documentation":"

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.

", "idempotent":true }, "CreateRule":{ "name":"CreateRule", "http":{ "method":"POST", "requestUri":"/services/{serviceIdentifier}/listeners/{listenerIdentifier}/rules", "responseCode":201 }, "input":{"shape":"CreateRuleRequest"}, "output":{"shape":"CreateRuleResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"ServiceQuotaExceededException"}, {"shape":"InternalServerException"} ], "documentation":"

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.

", "idempotent":true }, "CreateService":{ "name":"CreateService", "http":{ "method":"POST", "requestUri":"/services", "responseCode":201 }, "input":{"shape":"CreateServiceRequest"}, "output":{"shape":"CreateServiceResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"ServiceQuotaExceededException"}, {"shape":"InternalServerException"} ], "documentation":"

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.

", "idempotent":true }, "CreateServiceNetwork":{ "name":"CreateServiceNetwork", "http":{ "method":"POST", "requestUri":"/servicenetworks", "responseCode":201 }, "input":{"shape":"CreateServiceNetworkRequest"}, "output":{"shape":"CreateServiceNetworkResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"ServiceQuotaExceededException"}, {"shape":"InternalServerException"} ], "documentation":"

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.

", "idempotent":true }, "CreateServiceNetworkServiceAssociation":{ "name":"CreateServiceNetworkServiceAssociation", "http":{ "method":"POST", "requestUri":"/servicenetworkserviceassociations", "responseCode":200 }, "input":{"shape":"CreateServiceNetworkServiceAssociationRequest"}, "output":{"shape":"CreateServiceNetworkServiceAssociationResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"ServiceQuotaExceededException"}, {"shape":"InternalServerException"} ], "documentation":"

Associates a service with a service network.

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.

", "idempotent":true }, "CreateServiceNetworkVpcAssociation":{ "name":"CreateServiceNetworkVpcAssociation", "http":{ "method":"POST", "requestUri":"/servicenetworkvpcassociations", "responseCode":200 }, "input":{"shape":"CreateServiceNetworkVpcAssociationRequest"}, "output":{"shape":"CreateServiceNetworkVpcAssociationResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"ServiceQuotaExceededException"}, {"shape":"InternalServerException"} ], "documentation":"

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.

Once a security group is added to the VPC association it cannot be removed. You can add or update the security groups being used for the VPC association once a security group is attached. To remove all security groups you must reassociate the VPC.

", "idempotent":true }, "CreateTargetGroup":{ "name":"CreateTargetGroup", "http":{ "method":"POST", "requestUri":"/targetgroups", "responseCode":201 }, "input":{"shape":"CreateTargetGroupRequest"}, "output":{"shape":"CreateTargetGroupResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"ServiceQuotaExceededException"}, {"shape":"InternalServerException"} ], "documentation":"

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.

", "idempotent":true }, "DeleteAccessLogSubscription":{ "name":"DeleteAccessLogSubscription", "http":{ "method":"DELETE", "requestUri":"/accesslogsubscriptions/{accessLogSubscriptionIdentifier}", "responseCode":204 }, "input":{"shape":"DeleteAccessLogSubscriptionRequest"}, "output":{"shape":"DeleteAccessLogSubscriptionResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"} ], "documentation":"

Deletes the specified access log subscription.

", "idempotent":true }, "DeleteAuthPolicy":{ "name":"DeleteAuthPolicy", "http":{ "method":"DELETE", "requestUri":"/authpolicy/{resourceIdentifier}", "responseCode":204 }, "input":{"shape":"DeleteAuthPolicyRequest"}, "output":{"shape":"DeleteAuthPolicyResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"} ], "documentation":"

Deletes the specified auth policy. If an auth is set to `Amazon Web Services_IAM` and the auth policy is deleted, all requests will be denied by default. 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 will be denied.

", "idempotent":true }, "DeleteListener":{ "name":"DeleteListener", "http":{ "method":"DELETE", "requestUri":"/services/{serviceIdentifier}/listeners/{listenerIdentifier}", "responseCode":204 }, "input":{"shape":"DeleteListenerRequest"}, "output":{"shape":"DeleteListenerResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"InternalServerException"} ], "documentation":"

Deletes the specified listener.

", "idempotent":true }, "DeleteResourcePolicy":{ "name":"DeleteResourcePolicy", "http":{ "method":"DELETE", "requestUri":"/resourcepolicy/{resourceArn}", "responseCode":204 }, "input":{"shape":"DeleteResourcePolicyRequest"}, "output":{"shape":"DeleteResourcePolicyResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"} ], "documentation":"

Deletes the specified resource policy.

", "idempotent":true }, "DeleteRule":{ "name":"DeleteRule", "http":{ "method":"DELETE", "requestUri":"/services/{serviceIdentifier}/listeners/{listenerIdentifier}/rules/{ruleIdentifier}", "responseCode":204 }, "input":{"shape":"DeleteRuleRequest"}, "output":{"shape":"DeleteRuleResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"InternalServerException"} ], "documentation":"

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.

", "idempotent":true }, "DeleteService":{ "name":"DeleteService", "http":{ "method":"DELETE", "requestUri":"/services/{serviceIdentifier}", "responseCode":200 }, "input":{"shape":"DeleteServiceRequest"}, "output":{"shape":"DeleteServiceResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"InternalServerException"} ], "documentation":"

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.

", "idempotent":true }, "DeleteServiceNetwork":{ "name":"DeleteServiceNetwork", "http":{ "method":"DELETE", "requestUri":"/servicenetworks/{serviceNetworkIdentifier}", "responseCode":204 }, "input":{"shape":"DeleteServiceNetworkRequest"}, "output":{"shape":"DeleteServiceNetworkResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"InternalServerException"} ], "documentation":"

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.

", "idempotent":true }, "DeleteServiceNetworkServiceAssociation":{ "name":"DeleteServiceNetworkServiceAssociation", "http":{ "method":"DELETE", "requestUri":"/servicenetworkserviceassociations/{serviceNetworkServiceAssociationIdentifier}", "responseCode":200 }, "input":{"shape":"DeleteServiceNetworkServiceAssociationRequest"}, "output":{"shape":"DeleteServiceNetworkServiceAssociationResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"InternalServerException"} ], "documentation":"

Deletes the association between a specified service and the specific service network. This request will fail if an association is still in progress.

", "idempotent":true }, "DeleteServiceNetworkVpcAssociation":{ "name":"DeleteServiceNetworkVpcAssociation", "http":{ "method":"DELETE", "requestUri":"/servicenetworkvpcassociations/{serviceNetworkVpcAssociationIdentifier}", "responseCode":200 }, "input":{"shape":"DeleteServiceNetworkVpcAssociationRequest"}, "output":{"shape":"DeleteServiceNetworkVpcAssociationResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"InternalServerException"} ], "documentation":"

Disassociates the VPC from the service network. You can't disassociate the VPC if there is a create or update association in progress.

", "idempotent":true }, "DeleteTargetGroup":{ "name":"DeleteTargetGroup", "http":{ "method":"DELETE", "requestUri":"/targetgroups/{targetGroupIdentifier}", "responseCode":200 }, "input":{"shape":"DeleteTargetGroupRequest"}, "output":{"shape":"DeleteTargetGroupResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"InternalServerException"} ], "documentation":"

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.

", "idempotent":true }, "DeregisterTargets":{ "name":"DeregisterTargets", "http":{ "method":"POST", "requestUri":"/targetgroups/{targetGroupIdentifier}/deregistertargets", "responseCode":200 }, "input":{"shape":"DeregisterTargetsRequest"}, "output":{"shape":"DeregisterTargetsResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"InternalServerException"} ], "documentation":"

Deregisters the specified targets from the specified target group.

", "idempotent":true }, "GetAccessLogSubscription":{ "name":"GetAccessLogSubscription", "http":{ "method":"GET", "requestUri":"/accesslogsubscriptions/{accessLogSubscriptionIdentifier}", "responseCode":200 }, "input":{"shape":"GetAccessLogSubscriptionRequest"}, "output":{"shape":"GetAccessLogSubscriptionResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"} ], "documentation":"

Retrieves information about the specified access log subscription.

" }, "GetAuthPolicy":{ "name":"GetAuthPolicy", "http":{ "method":"GET", "requestUri":"/authpolicy/{resourceIdentifier}", "responseCode":200 }, "input":{"shape":"GetAuthPolicyRequest"}, "output":{"shape":"GetAuthPolicyResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"} ], "documentation":"

Retrieves information about the auth policy for the specified service or service network.

" }, "GetListener":{ "name":"GetListener", "http":{ "method":"GET", "requestUri":"/services/{serviceIdentifier}/listeners/{listenerIdentifier}", "responseCode":200 }, "input":{"shape":"GetListenerRequest"}, "output":{"shape":"GetListenerResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"} ], "documentation":"

Retrieves information about the specified listener for the specified service.

" }, "GetResourcePolicy":{ "name":"GetResourcePolicy", "http":{ "method":"GET", "requestUri":"/resourcepolicy/{resourceArn}", "responseCode":200 }, "input":{"shape":"GetResourcePolicyRequest"}, "output":{"shape":"GetResourcePolicyResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"} ], "documentation":"

Retrieves information about the resource policy. The resource policy is an IAM policy created by AWS RAM on behalf of the resource owner when they share a resource.

" }, "GetRule":{ "name":"GetRule", "http":{ "method":"GET", "requestUri":"/services/{serviceIdentifier}/listeners/{listenerIdentifier}/rules/{ruleIdentifier}", "responseCode":200 }, "input":{"shape":"GetRuleRequest"}, "output":{"shape":"GetRuleResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"} ], "documentation":"

Retrieves information about 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.

" }, "GetService":{ "name":"GetService", "http":{ "method":"GET", "requestUri":"/services/{serviceIdentifier}", "responseCode":200 }, "input":{"shape":"GetServiceRequest"}, "output":{"shape":"GetServiceResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"} ], "documentation":"

Retrieves information about the specified service.

" }, "GetServiceNetwork":{ "name":"GetServiceNetwork", "http":{ "method":"GET", "requestUri":"/servicenetworks/{serviceNetworkIdentifier}", "responseCode":200 }, "input":{"shape":"GetServiceNetworkRequest"}, "output":{"shape":"GetServiceNetworkResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"} ], "documentation":"

Retrieves information about the specified service network.

" }, "GetServiceNetworkServiceAssociation":{ "name":"GetServiceNetworkServiceAssociation", "http":{ "method":"GET", "requestUri":"/servicenetworkserviceassociations/{serviceNetworkServiceAssociationIdentifier}", "responseCode":200 }, "input":{"shape":"GetServiceNetworkServiceAssociationRequest"}, "output":{"shape":"GetServiceNetworkServiceAssociationResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"} ], "documentation":"

Retrieves information about the specified association between a service network and a service.

" }, "GetServiceNetworkVpcAssociation":{ "name":"GetServiceNetworkVpcAssociation", "http":{ "method":"GET", "requestUri":"/servicenetworkvpcassociations/{serviceNetworkVpcAssociationIdentifier}", "responseCode":200 }, "input":{"shape":"GetServiceNetworkVpcAssociationRequest"}, "output":{"shape":"GetServiceNetworkVpcAssociationResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"} ], "documentation":"

Retrieves information about the association between a service network and a VPC.

" }, "GetTargetGroup":{ "name":"GetTargetGroup", "http":{ "method":"GET", "requestUri":"/targetgroups/{targetGroupIdentifier}", "responseCode":200 }, "input":{"shape":"GetTargetGroupRequest"}, "output":{"shape":"GetTargetGroupResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"} ], "documentation":"

Retrieves information about the specified target group.

" }, "ListAccessLogSubscriptions":{ "name":"ListAccessLogSubscriptions", "http":{ "method":"GET", "requestUri":"/accesslogsubscriptions", "responseCode":200 }, "input":{"shape":"ListAccessLogSubscriptionsRequest"}, "output":{"shape":"ListAccessLogSubscriptionsResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"InternalServerException"} ], "documentation":"

Lists all access log subscriptions for the specified service network or service.

" }, "ListListeners":{ "name":"ListListeners", "http":{ "method":"GET", "requestUri":"/services/{serviceIdentifier}/listeners", "responseCode":200 }, "input":{"shape":"ListListenersRequest"}, "output":{"shape":"ListListenersResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"} ], "documentation":"

Lists the listeners for the specified service.

" }, "ListRules":{ "name":"ListRules", "http":{ "method":"GET", "requestUri":"/services/{serviceIdentifier}/listeners/{listenerIdentifier}/rules", "responseCode":200 }, "input":{"shape":"ListRulesRequest"}, "output":{"shape":"ListRulesResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"} ], "documentation":"

Lists the rules for the listener.

" }, "ListServiceNetworkServiceAssociations":{ "name":"ListServiceNetworkServiceAssociations", "http":{ "method":"GET", "requestUri":"/servicenetworkserviceassociations", "responseCode":200 }, "input":{"shape":"ListServiceNetworkServiceAssociationsRequest"}, "output":{"shape":"ListServiceNetworkServiceAssociationsResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"InternalServerException"} ], "documentation":"

Lists the associations between the service network and the 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 is given 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 that is shared with another account, the association will include the local account ID as the prefix in the ARN for each account the resource is shared with.

" }, "ListServiceNetworkVpcAssociations":{ "name":"ListServiceNetworkVpcAssociations", "http":{ "method":"GET", "requestUri":"/servicenetworkvpcassociations", "responseCode":200 }, "input":{"shape":"ListServiceNetworkVpcAssociationsRequest"}, "output":{"shape":"ListServiceNetworkVpcAssociationsResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"InternalServerException"} ], "documentation":"

Lists the service network and VPC associations. You can filter the list either by VPC or service network. You must provide either the service network identifier or the VPC identifier.

" }, "ListServiceNetworks":{ "name":"ListServiceNetworks", "http":{ "method":"GET", "requestUri":"/servicenetworks", "responseCode":200 }, "input":{"shape":"ListServiceNetworksRequest"}, "output":{"shape":"ListServiceNetworksResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"InternalServerException"} ], "documentation":"

Lists the service networks owned by the caller account or shared with the caller account. Also includes the account ID in the ARN to show which account owns the service network.

" }, "ListServices":{ "name":"ListServices", "http":{ "method":"GET", "requestUri":"/services", "responseCode":200 }, "input":{"shape":"ListServicesRequest"}, "output":{"shape":"ListServicesResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"InternalServerException"} ], "documentation":"

Lists the services owned by the caller account or shared with the caller account.

" }, "ListTagsForResource":{ "name":"ListTagsForResource", "http":{ "method":"GET", "requestUri":"/tags/{resourceArn}", "responseCode":200 }, "input":{"shape":"ListTagsForResourceRequest"}, "output":{"shape":"ListTagsForResourceResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"} ], "documentation":"

Lists the tags for the specified resource.

" }, "ListTargetGroups":{ "name":"ListTargetGroups", "http":{ "method":"GET", "requestUri":"/targetgroups", "responseCode":200 }, "input":{"shape":"ListTargetGroupsRequest"}, "output":{"shape":"ListTargetGroupsResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"InternalServerException"} ], "documentation":"

Lists your target groups. You can narrow your search by using the filters below in your request.

" }, "ListTargets":{ "name":"ListTargets", "http":{ "method":"POST", "requestUri":"/targetgroups/{targetGroupIdentifier}/listtargets", "responseCode":200 }, "input":{"shape":"ListTargetsRequest"}, "output":{"shape":"ListTargetsResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"} ], "documentation":"

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 ﬁlter the results by target.

" }, "PutAuthPolicy":{ "name":"PutAuthPolicy", "http":{ "method":"PUT", "requestUri":"/authpolicy/{resourceIdentifier}", "responseCode":200 }, "input":{"shape":"PutAuthPolicyRequest"}, "output":{"shape":"PutAuthPolicyResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"} ], "documentation":"

Creates or updates the auth policy.

" }, "PutResourcePolicy":{ "name":"PutResourcePolicy", "http":{ "method":"PUT", "requestUri":"/resourcepolicy/{resourceArn}", "responseCode":200 }, "input":{"shape":"PutResourcePolicyRequest"}, "output":{"shape":"PutResourcePolicyResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"} ], "documentation":"

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.

", "idempotent":true }, "RegisterTargets":{ "name":"RegisterTargets", "http":{ "method":"POST", "requestUri":"/targetgroups/{targetGroupIdentifier}/registertargets", "responseCode":200 }, "input":{"shape":"RegisterTargetsRequest"}, "output":{"shape":"RegisterTargetsResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"ServiceQuotaExceededException"}, {"shape":"InternalServerException"} ], "documentation":"

Registers the targets with the target group. If it's a Lambda target, you can only have one target in a target group.

" }, "TagResource":{ "name":"TagResource", "http":{ "method":"POST", "requestUri":"/tags/{resourceArn}", "responseCode":200 }, "input":{"shape":"TagResourceRequest"}, "output":{"shape":"TagResourceResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"} ], "documentation":"

Adds the specified tags to the specified resource.

" }, "UntagResource":{ "name":"UntagResource", "http":{ "method":"DELETE", "requestUri":"/tags/{resourceArn}", "responseCode":200 }, "input":{"shape":"UntagResourceRequest"}, "output":{"shape":"UntagResourceResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"} ], "documentation":"

Removes the specified tags from the specified resource.

", "idempotent":true }, "UpdateAccessLogSubscription":{ "name":"UpdateAccessLogSubscription", "http":{ "method":"PATCH", "requestUri":"/accesslogsubscriptions/{accessLogSubscriptionIdentifier}", "responseCode":200 }, "input":{"shape":"UpdateAccessLogSubscriptionRequest"}, "output":{"shape":"UpdateAccessLogSubscriptionResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"InternalServerException"} ], "documentation":"

Updates the specified access log subscription.

", "idempotent":true }, "UpdateListener":{ "name":"UpdateListener", "http":{ "method":"PATCH", "requestUri":"/services/{serviceIdentifier}/listeners/{listenerIdentifier}", "responseCode":200 }, "input":{"shape":"UpdateListenerRequest"}, "output":{"shape":"UpdateListenerResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"InternalServerException"} ], "documentation":"

Updates the specified listener for the specified service.

", "idempotent":true }, "UpdateRule":{ "name":"UpdateRule", "http":{ "method":"PATCH", "requestUri":"/services/{serviceIdentifier}/listeners/{listenerIdentifier}/rules/{ruleIdentifier}", "responseCode":200 }, "input":{"shape":"UpdateRuleRequest"}, "output":{"shape":"UpdateRuleResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"InternalServerException"} ], "documentation":"

Updates a rule for the listener. You can't modify a default listener rule. To modify a default listener rule, use `UpdateListener`.

", "idempotent":true }, "UpdateService":{ "name":"UpdateService", "http":{ "method":"PATCH", "requestUri":"/services/{serviceIdentifier}", "responseCode":200 }, "input":{"shape":"UpdateServiceRequest"}, "output":{"shape":"UpdateServiceResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"InternalServerException"} ], "documentation":"

Updates the specified service.

" }, "UpdateServiceNetwork":{ "name":"UpdateServiceNetwork", "http":{ "method":"PATCH", "requestUri":"/servicenetworks/{serviceNetworkIdentifier}", "responseCode":200 }, "input":{"shape":"UpdateServiceNetworkRequest"}, "output":{"shape":"UpdateServiceNetworkResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"InternalServerException"} ], "documentation":"

Updates the specified service network.

", "idempotent":true }, "UpdateServiceNetworkVpcAssociation":{ "name":"UpdateServiceNetworkVpcAssociation", "http":{ "method":"PATCH", "requestUri":"/servicenetworkvpcassociations/{serviceNetworkVpcAssociationIdentifier}", "responseCode":200 }, "input":{"shape":"UpdateServiceNetworkVpcAssociationRequest"}, "output":{"shape":"UpdateServiceNetworkVpcAssociationResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"InternalServerException"} ], "documentation":"

Updates the service network and VPC association. Once you add a security group, it cannot be removed.

", "idempotent":true }, "UpdateTargetGroup":{ "name":"UpdateTargetGroup", "http":{ "method":"PATCH", "requestUri":"/targetgroups/{targetGroupIdentifier}", "responseCode":200 }, "input":{"shape":"UpdateTargetGroupRequest"}, "output":{"shape":"UpdateTargetGroupResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"InternalServerException"} ], "documentation":"

Updates the specified target group.

", "idempotent":true } }, "shapes":{ "AccessDeniedException":{ "type":"structure", "required":["message"], "members":{ "message":{"shape":"String"} }, "documentation":"

The user does not have sufficient access to perform this action.

", "error":{ "httpStatusCode":403, "senderFault":true }, "exception":true }, "AccessLogDestinationArn":{ "type":"string", "max":2048, "min":20, "pattern":"^arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:([^/].*)?$" }, "AccessLogSubscriptionArn":{ "type":"string", "max":2048, "min":20, "pattern":"^arn:[a-z0-9\\-]+:vpc-lattice:[a-zA-Z0-9\\-]+:\\d{12}:accesslogsubscription/als-[0-9a-z]{17}$" }, "AccessLogSubscriptionId":{ "type":"string", "max":21, "min":21, "pattern":"^als-[0-9a-z]{17}$" }, "AccessLogSubscriptionIdentifier":{ "type":"string", "max":2048, "min":17, "pattern":"^((als-[0-9a-z]{17})|(arn:[a-z0-9\\-]+:vpc-lattice:[a-zA-Z0-9\\-]+:\\d{12}:accesslogsubscription/als-[0-9a-z]{17}))$" }, "AccessLogSubscriptionList":{ "type":"list", "member":{"shape":"AccessLogSubscriptionSummary"} }, "AccessLogSubscriptionSummary":{ "type":"structure", "required":[ "arn", "createdAt", "destinationArn", "id", "lastUpdatedAt", "resourceArn", "resourceId" ], "members":{ "arn":{ "shape":"AccessLogSubscriptionArn", "documentation":"

The Amazon Resource Name (ARN) of the access log subscription

" }, "createdAt":{ "shape":"Timestamp", "documentation":"

The date and time that the access log subscription was created, specified in ISO-8601 format.

" }, "destinationArn":{ "shape":"AccessLogDestinationArn", "documentation":"

The Amazon Resource Name (ARN) of the destination.

" }, "id":{ "shape":"AccessLogSubscriptionId", "documentation":"

The ID of the access log subscription.

" }, "lastUpdatedAt":{ "shape":"Timestamp", "documentation":"

The date and time that the access log subscription was last updated, specified in ISO-8601 format.

" }, "resourceArn":{ "shape":"ResourceArn", "documentation":"

The Amazon Resource Name (ARN) of the service or service network.

" }, "resourceId":{ "shape":"ResourceId", "documentation":"

The ID of the service or service network.

" } }, "documentation":"

Summary information about an access log subscription.

" }, "AccountId":{ "type":"string", "max":12, "min":1, "pattern":"^[0-9]{12}$" }, "Arn":{ "type":"string", "max":1224, "min":0, "pattern":"^arn:[a-z0-9][-.a-z0-9]{0,62}:vpc-lattice:([a-z0-9][-.a-z0-9]{0,62})?:\\d{12}?:[^/].{0,1023}$" }, "AuthPolicyState":{ "type":"string", "enum":[ "Active", "Inactive" ] }, "AuthPolicyString":{ "type":"string", "max":10000, "min":0 }, "AuthType":{ "type":"string", "enum":[ "NONE", "AWS_IAM" ] }, "BatchUpdateRuleRequest":{ "type":"structure", "required":[ "listenerIdentifier", "rules", "serviceIdentifier" ], "members":{ "listenerIdentifier":{ "shape":"ListenerIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the listener.

", "location":"uri", "locationName":"listenerIdentifier" }, "rules":{ "shape":"RuleUpdateList", "documentation":"

The rules for the specified listener.

" }, "serviceIdentifier":{ "shape":"ServiceIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the service.

", "location":"uri", "locationName":"serviceIdentifier" } } }, "BatchUpdateRuleResponse":{ "type":"structure", "members":{ "successful":{ "shape":"RuleUpdateSuccessList", "documentation":"

The rules that were successfully updated.

" }, "unsuccessful":{ "shape":"RuleUpdateFailureList", "documentation":"

The rules that the operation couldn't update.

" } } }, "Boolean":{ "type":"boolean", "box":true }, "CertificateArn":{ "type":"string", "max":2048, "min":0, "pattern":"^(arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:certificate/[0-9a-z-]+)?$" }, "ClientToken":{ "type":"string", "max":64, "min":1, "pattern":"[!-~]+" }, "ConflictException":{ "type":"structure", "required":[ "message", "resourceId", "resourceType" ], "members":{ "message":{"shape":"String"}, "resourceId":{ "shape":"String", "documentation":"

The resource ID.

" }, "resourceType":{ "shape":"String", "documentation":"

The resource type.

" } }, "documentation":"

The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.

", "error":{ "httpStatusCode":409, "senderFault":true }, "exception":true }, "CreateAccessLogSubscriptionRequest":{ "type":"structure", "required":[ "destinationArn", "resourceIdentifier" ], "members":{ "clientToken":{ "shape":"ClientToken", "documentation":"

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.

", "idempotencyToken":true }, "destinationArn":{ "shape":"AccessLogDestinationArn", "documentation":"

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":{ "shape":"ResourceIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the service network or service.

" }, "tags":{ "shape":"TagMap", "documentation":"

The tags for the access log subscription.

" } } }, "CreateAccessLogSubscriptionResponse":{ "type":"structure", "required":[ "arn", "destinationArn", "id", "resourceArn", "resourceId" ], "members":{ "arn":{ "shape":"AccessLogSubscriptionArn", "documentation":"

The Amazon Resource Name (ARN) of the access log subscription.

" }, "destinationArn":{ "shape":"AccessLogDestinationArn", "documentation":"

The Amazon Resource Name (ARN) of the log destination.

" }, "id":{ "shape":"AccessLogSubscriptionId", "documentation":"

The ID of the access log subscription.

" }, "resourceArn":{ "shape":"ResourceArn", "documentation":"

The Amazon Resource Name (ARN) of the service network or service.

" }, "resourceId":{ "shape":"ResourceId", "documentation":"

The ID of the service network or service.

" } } }, "CreateListenerRequest":{ "type":"structure", "required":[ "defaultAction", "name", "protocol", "serviceIdentifier" ], "members":{ "clientToken":{ "shape":"ClientToken", "documentation":"

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.

", "idempotencyToken":true }, "defaultAction":{ "shape":"RuleAction", "documentation":"

The action for the default rule. Each listener has a default rule. Each rule consists of a priority, one or more actions, and one or more conditions. The default rule is the rule that's used if no other rules match. Each rule must include exactly one of the following types of actions: `forward` or `fixed-response`, and it must be the last action to be performed.

" }, "name":{ "shape":"ListenerName", "documentation":"

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":{ "shape":"Port", "documentation":"

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":{ "shape":"ListenerProtocol", "documentation":"

The listener protocol HTTP or HTTPS.

" }, "serviceIdentifier":{ "shape":"ServiceIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the service.

", "location":"uri", "locationName":"serviceIdentifier" }, "tags":{ "shape":"TagMap", "documentation":"

The tags for the listener.

" } } }, "CreateListenerResponse":{ "type":"structure", "members":{ "arn":{ "shape":"ListenerArn", "documentation":"

The Amazon Resource Name (ARN) of the listener.

" }, "defaultAction":{ "shape":"RuleAction", "documentation":"

The action for the default rule.

" }, "id":{ "shape":"ListenerId", "documentation":"

The ID of the listener.

" }, "name":{ "shape":"ListenerName", "documentation":"

The name of the listener.

" }, "port":{ "shape":"Port", "documentation":"

The port number of the listener.

" }, "protocol":{ "shape":"ListenerProtocol", "documentation":"

The protocol of the listener.

" }, "serviceArn":{ "shape":"ServiceArn", "documentation":"

The Amazon Resource Name (ARN) of the service.

" }, "serviceId":{ "shape":"ServiceId", "documentation":"

The ID of the service.

" } } }, "CreateRuleRequest":{ "type":"structure", "required":[ "action", "listenerIdentifier", "match", "name", "priority", "serviceIdentifier" ], "members":{ "action":{ "shape":"RuleAction", "documentation":"

The action for the default rule.

" }, "clientToken":{ "shape":"ClientToken", "documentation":"

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.

", "idempotencyToken":true }, "listenerIdentifier":{ "shape":"ListenerIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the listener.

", "location":"uri", "locationName":"listenerIdentifier" }, "match":{ "shape":"RuleMatch", "documentation":"

The rule match.

" }, "name":{ "shape":"RuleName", "documentation":"

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":{ "shape":"RulePriority", "documentation":"

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":{ "shape":"ServiceIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the service.

", "location":"uri", "locationName":"serviceIdentifier" }, "tags":{ "shape":"TagMap", "documentation":"

The tags for the rule.

" } } }, "CreateRuleResponse":{ "type":"structure", "members":{ "action":{ "shape":"RuleAction", "documentation":"

The rule action. Each rule must include exactly one of the following types of actions: `forward` or `fixed-response`, and it must be the last action to be performed.

" }, "arn":{ "shape":"RuleArn", "documentation":"

The Amazon Resource Name (ARN) of the rule.

" }, "id":{ "shape":"RuleId", "documentation":"

The ID of the rule.

" }, "match":{ "shape":"RuleMatch", "documentation":"

The rule match. The `RuleMatch` must be an `HttpMatch`. 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":{ "shape":"RuleName", "documentation":"

The name of the rule.

" }, "priority":{ "shape":"RulePriority", "documentation":"

The priority assigned to the rule. The lower the priority number the higher the priority.

" } } }, "CreateServiceNetworkRequest":{ "type":"structure", "required":["name"], "members":{ "authType":{ "shape":"AuthType", "documentation":"

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":{ "shape":"ClientToken", "documentation":"

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.

", "idempotencyToken":true }, "name":{ "shape":"ServiceNetworkName", "documentation":"

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.

" }, "tags":{ "shape":"TagMap", "documentation":"

The tags for the service network.

" } } }, "CreateServiceNetworkResponse":{ "type":"structure", "members":{ "arn":{ "shape":"ServiceNetworkArn", "documentation":"

The Amazon Resource Name (ARN) of the service network.

" }, "authType":{ "shape":"AuthType", "documentation":"

The type of IAM policy.

" }, "id":{ "shape":"ServiceNetworkId", "documentation":"

The ID of the service network.

" }, "name":{ "shape":"ServiceNetworkName", "documentation":"

The name of the service network.

" } } }, "CreateServiceNetworkServiceAssociationRequest":{ "type":"structure", "required":[ "serviceIdentifier", "serviceNetworkIdentifier" ], "members":{ "clientToken":{ "shape":"ClientToken", "documentation":"

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.

", "idempotencyToken":true }, "serviceIdentifier":{ "shape":"ServiceIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the service.

" }, "serviceNetworkIdentifier":{ "shape":"ServiceNetworkIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the service network. You must use the ARN if the resources specified in the operation are in different accounts.

" }, "tags":{ "shape":"TagMap", "documentation":"

The tags for the association.

" } } }, "CreateServiceNetworkServiceAssociationResponse":{ "type":"structure", "members":{ "arn":{ "shape":"ServiceNetworkServiceAssociationArn", "documentation":"

The Amazon Resource Name (ARN) of the association.

" }, "createdBy":{ "shape":"AccountId", "documentation":"

The account that created the association.

" }, "customDomainName":{ "shape":"ServiceCustomDomainName", "documentation":"

The custom domain name of the service.

" }, "dnsEntry":{ "shape":"DnsEntry", "documentation":"

The DNS name of the service.

" }, "id":{ "shape":"ServiceNetworkServiceAssociationIdentifier", "documentation":"

The ID of the association.

" }, "status":{ "shape":"ServiceNetworkServiceAssociationStatus", "documentation":"

The operation's status.

" } } }, "CreateServiceNetworkVpcAssociationRequest":{ "type":"structure", "required":[ "serviceNetworkIdentifier", "vpcIdentifier" ], "members":{ "clientToken":{ "shape":"ClientToken", "documentation":"

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.

", "idempotencyToken":true }, "securityGroupIds":{ "shape":"CreateServiceNetworkVpcAssociationRequestSecurityGroupIdsList", "documentation":"

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":{ "shape":"ServiceNetworkIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the service network. You must use the ARN when the resources specified in the operation are in different accounts.

" }, "tags":{ "shape":"TagMap", "documentation":"

The tags for the association.

" }, "vpcIdentifier":{ "shape":"VpcId", "documentation":"

The ID of the VPC.

" } } }, "CreateServiceNetworkVpcAssociationRequestSecurityGroupIdsList":{ "type":"list", "member":{"shape":"SecurityGroupId"}, "max":5, "min":0 }, "CreateServiceNetworkVpcAssociationResponse":{ "type":"structure", "members":{ "arn":{ "shape":"ServiceNetworkVpcAssociationArn", "documentation":"

The Amazon Resource Name (ARN) of the association.

" }, "createdBy":{ "shape":"AccountId", "documentation":"

The account that created the association.

" }, "id":{ "shape":"ServiceNetworkVpcAssociationId", "documentation":"

The ID of the association.

" }, "securityGroupIds":{ "shape":"SecurityGroupList", "documentation":"

The IDs of the security groups.

" }, "status":{ "shape":"ServiceNetworkVpcAssociationStatus", "documentation":"

The operation's status.

" } } }, "CreateServiceRequest":{ "type":"structure", "required":["name"], "members":{ "authType":{ "shape":"AuthType", "documentation":"

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":{ "shape":"CertificateArn", "documentation":"

The Amazon Resource Name (ARN) of the certificate.

" }, "clientToken":{ "shape":"ClientToken", "documentation":"

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.

", "idempotencyToken":true }, "customDomainName":{ "shape":"ServiceCustomDomainName", "documentation":"

The custom domain name of the service.

" }, "name":{ "shape":"ServiceName", "documentation":"

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":{ "shape":"TagMap", "documentation":"

The tags for the service.

" } } }, "CreateServiceResponse":{ "type":"structure", "members":{ "arn":{ "shape":"ServiceArn", "documentation":"

The Amazon Resource Name (ARN) of the service.

" }, "authType":{ "shape":"AuthType", "documentation":"

The type of IAM policy.

" }, "certificateArn":{ "shape":"CertificateArn", "documentation":"

The Amazon Resource Name (ARN) of the certificate.

" }, "customDomainName":{ "shape":"ServiceCustomDomainName", "documentation":"

The custom domain name of the service.

" }, "dnsEntry":{ "shape":"DnsEntry", "documentation":"

The public DNS name of the service.

" }, "id":{ "shape":"ServiceId", "documentation":"

The ID of the service.

" }, "name":{ "shape":"ServiceName", "documentation":"

The name of the service.

" }, "status":{ "shape":"ServiceStatus", "documentation":"

The status. If the status is `CREATE_FAILED`, you will have to delete and recreate the service.

" } } }, "CreateTargetGroupRequest":{ "type":"structure", "required":[ "name", "type" ], "members":{ "clientToken":{ "shape":"ClientToken", "documentation":"

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.

", "idempotencyToken":true }, "config":{ "shape":"TargetGroupConfig", "documentation":"

The target group configuration. If `type` is set to `LAMBDA`, this parameter doesn't apply.

" }, "name":{ "shape":"TargetGroupName", "documentation":"

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":{ "shape":"TagMap", "documentation":"

The tags for the target group.

" }, "type":{ "shape":"TargetGroupType", "documentation":"

The type of target group.

" } } }, "CreateTargetGroupResponse":{ "type":"structure", "members":{ "arn":{ "shape":"TargetGroupArn", "documentation":"

The Amazon Resource Name (ARN) of the target group.

" }, "config":{ "shape":"TargetGroupConfig", "documentation":"

The target group configuration. If `type` is set to `LAMBDA`, this parameter doesn't apply.

" }, "id":{ "shape":"TargetGroupId", "documentation":"

The ID of the target group.

" }, "name":{ "shape":"TargetGroupName", "documentation":"

The name of the target group.

" }, "status":{ "shape":"TargetGroupStatus", "documentation":"

The operation's status. You can retry the operation if the status is `CREATE_FAILED`. However, if you retry it while the status is `CREATE_IN_PROGRESS`, there is no change in the status.

" }, "type":{ "shape":"TargetGroupType", "documentation":"

The type of target group.

" } } }, "DeleteAccessLogSubscriptionRequest":{ "type":"structure", "required":["accessLogSubscriptionIdentifier"], "members":{ "accessLogSubscriptionIdentifier":{ "shape":"AccessLogSubscriptionIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the access log subscription.

", "location":"uri", "locationName":"accessLogSubscriptionIdentifier" } } }, "DeleteAccessLogSubscriptionResponse":{ "type":"structure", "members":{ } }, "DeleteAuthPolicyRequest":{ "type":"structure", "required":["resourceIdentifier"], "members":{ "resourceIdentifier":{ "shape":"ResourceIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the resource.

", "location":"uri", "locationName":"resourceIdentifier" } } }, "DeleteAuthPolicyResponse":{ "type":"structure", "members":{ } }, "DeleteListenerRequest":{ "type":"structure", "required":[ "listenerIdentifier", "serviceIdentifier" ], "members":{ "listenerIdentifier":{ "shape":"ListenerIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the listener.

", "location":"uri", "locationName":"listenerIdentifier" }, "serviceIdentifier":{ "shape":"ServiceIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the service.

", "location":"uri", "locationName":"serviceIdentifier" } } }, "DeleteListenerResponse":{ "type":"structure", "members":{ } }, "DeleteResourcePolicyRequest":{ "type":"structure", "required":["resourceArn"], "members":{ "resourceArn":{ "shape":"ResourceArn", "documentation":"

The Amazon Resource Name (ARN) of the resource.

", "location":"uri", "locationName":"resourceArn" } } }, "DeleteResourcePolicyResponse":{ "type":"structure", "members":{ } }, "DeleteRuleRequest":{ "type":"structure", "required":[ "listenerIdentifier", "ruleIdentifier", "serviceIdentifier" ], "members":{ "listenerIdentifier":{ "shape":"ListenerIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the listener.

", "location":"uri", "locationName":"listenerIdentifier" }, "ruleIdentifier":{ "shape":"RuleIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the rule.

", "location":"uri", "locationName":"ruleIdentifier" }, "serviceIdentifier":{ "shape":"ServiceIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the service.

", "location":"uri", "locationName":"serviceIdentifier" } } }, "DeleteRuleResponse":{ "type":"structure", "members":{ } }, "DeleteServiceNetworkRequest":{ "type":"structure", "required":["serviceNetworkIdentifier"], "members":{ "serviceNetworkIdentifier":{ "shape":"ServiceNetworkIdentifier", "documentation":"

The Amazon Resource Name (ARN) or ID of the service network.

", "location":"uri", "locationName":"serviceNetworkIdentifier" } } }, "DeleteServiceNetworkResponse":{ "type":"structure", "members":{ } }, "DeleteServiceNetworkServiceAssociationRequest":{ "type":"structure", "required":["serviceNetworkServiceAssociationIdentifier"], "members":{ "serviceNetworkServiceAssociationIdentifier":{ "shape":"ServiceNetworkServiceAssociationIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the association.

", "location":"uri", "locationName":"serviceNetworkServiceAssociationIdentifier" } } }, "DeleteServiceNetworkServiceAssociationResponse":{ "type":"structure", "members":{ "arn":{ "shape":"ServiceNetworkServiceAssociationArn", "documentation":"

The Amazon Resource Name (ARN) of the association.

" }, "id":{ "shape":"ServiceNetworkServiceAssociationIdentifier", "documentation":"

The ID of the association.

" }, "status":{ "shape":"ServiceNetworkServiceAssociationStatus", "documentation":"

The operation's status. You can retry the operation if the status is `DELETE_FAILED`. However, if you retry it when the status is `DELETE_IN_PROGRESS`, there is no change in the status.

" } } }, "DeleteServiceNetworkVpcAssociationRequest":{ "type":"structure", "required":["serviceNetworkVpcAssociationIdentifier"], "members":{ "serviceNetworkVpcAssociationIdentifier":{ "shape":"ServiceNetworkVpcAssociationIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the association.

", "location":"uri", "locationName":"serviceNetworkVpcAssociationIdentifier" } } }, "DeleteServiceNetworkVpcAssociationResponse":{ "type":"structure", "members":{ "arn":{ "shape":"ServiceNetworkVpcAssociationArn", "documentation":"

The Amazon Resource Name (ARN) of the association.

" }, "id":{ "shape":"ServiceNetworkVpcAssociationId", "documentation":"

The ID of the association.

" }, "status":{ "shape":"ServiceNetworkVpcAssociationStatus", "documentation":"

The status. You can retry the operation if the status is `DELETE_FAILED`. However, if you retry it when the status is `DELETE_IN_PROGRESS`, there is no change in the status.

" } } }, "DeleteServiceRequest":{ "type":"structure", "required":["serviceIdentifier"], "members":{ "serviceIdentifier":{ "shape":"ServiceIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the service.

", "location":"uri", "locationName":"serviceIdentifier" } } }, "DeleteServiceResponse":{ "type":"structure", "members":{ "arn":{ "shape":"ServiceArn", "documentation":"

The Amazon Resource Name (ARN) of the service.

" }, "id":{ "shape":"ServiceId", "documentation":"

The ID of the service.

" }, "name":{ "shape":"ServiceName", "documentation":"

The name of the service.

" }, "status":{ "shape":"ServiceStatus", "documentation":"

The status. You can retry the operation if the status is `DELETE_FAILED`. However, if you retry it while the status is `DELETE_IN_PROGRESS`, the status doesn't change.

" } } }, "DeleteTargetGroupRequest":{ "type":"structure", "required":["targetGroupIdentifier"], "members":{ "targetGroupIdentifier":{ "shape":"TargetGroupIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the target group.

", "location":"uri", "locationName":"targetGroupIdentifier" } } }, "DeleteTargetGroupResponse":{ "type":"structure", "members":{ "arn":{ "shape":"TargetGroupArn", "documentation":"

The Amazon Resource Name (ARN) of the target group.

" }, "id":{ "shape":"TargetGroupId", "documentation":"

The ID of the target group.

" }, "status":{ "shape":"TargetGroupStatus", "documentation":"

The status. You can retry the operation if the status is `DELETE_FAILED`. However, if you retry it while the status is `DELETE_IN_PROGRESS`, the status doesn't change.

" } } }, "DeregisterTargetsRequest":{ "type":"structure", "required":[ "targetGroupIdentifier", "targets" ], "members":{ "targetGroupIdentifier":{ "shape":"TargetGroupIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the target group.

", "location":"uri", "locationName":"targetGroupIdentifier" }, "targets":{ "shape":"DeregisterTargetsRequestTargetsList", "documentation":"

The targets to deregister.

" } } }, "DeregisterTargetsRequestTargetsList":{ "type":"list", "member":{"shape":"Target"}, "max":100, "min":1 }, "DeregisterTargetsResponse":{ "type":"structure", "members":{ "successful":{ "shape":"TargetList", "documentation":"

The targets that were successfully deregistered.

" }, "unsuccessful":{ "shape":"TargetFailureList", "documentation":"

The targets that the operation couldn't deregister.

" } } }, "DnsEntry":{ "type":"structure", "members":{ "domainName":{ "shape":"String", "documentation":"

The domain name of the service.

" }, "hostedZoneId":{ "shape":"String", "documentation":"

The ID of the hosted zone.

" } }, "documentation":"

Describes the DNS information of a service.

" }, "FailureCode":{"type":"string"}, "FailureMessage":{"type":"string"}, "FixedResponseAction":{ "type":"structure", "required":["statusCode"], "members":{ "statusCode":{ "shape":"HttpStatusCode", "documentation":"

The HTTP response code.

" } }, "documentation":"

Information about an action that returns a custom HTTP response.

" }, "ForwardAction":{ "type":"structure", "required":["targetGroups"], "members":{ "targetGroups":{ "shape":"WeightedTargetGroupList", "documentation":"

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 traffic will go to that target group.

" } }, "documentation":"

Describes a forward action. You can use forward actions to route requests to one or more target groups.

" }, "GetAccessLogSubscriptionRequest":{ "type":"structure", "required":["accessLogSubscriptionIdentifier"], "members":{ "accessLogSubscriptionIdentifier":{ "shape":"AccessLogSubscriptionIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the access log subscription.

", "location":"uri", "locationName":"accessLogSubscriptionIdentifier" } } }, "GetAccessLogSubscriptionResponse":{ "type":"structure", "required":[ "arn", "createdAt", "destinationArn", "id", "lastUpdatedAt", "resourceArn", "resourceId" ], "members":{ "arn":{ "shape":"AccessLogSubscriptionArn", "documentation":"

The Amazon Resource Name (ARN) of the access log subscription.

" }, "createdAt":{ "shape":"Timestamp", "documentation":"

The date and time that the access log subscription was created, specified in ISO-8601 format.

" }, "destinationArn":{ "shape":"AccessLogDestinationArn", "documentation":"

The Amazon Resource Name (ARN) of the access log destination.

" }, "id":{ "shape":"AccessLogSubscriptionId", "documentation":"

The ID of the access log subscription.

" }, "lastUpdatedAt":{ "shape":"Timestamp", "documentation":"

The date and time that the access log subscription was last updated, specified in ISO-8601 format.

" }, "resourceArn":{ "shape":"ResourceArn", "documentation":"

The Amazon Resource Name (ARN) of the service network or service.

" }, "resourceId":{ "shape":"ResourceId", "documentation":"

The ID of the service network or service.

" } } }, "GetAuthPolicyRequest":{ "type":"structure", "required":["resourceIdentifier"], "members":{ "resourceIdentifier":{ "shape":"ResourceIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the service network or service.

", "location":"uri", "locationName":"resourceIdentifier" } } }, "GetAuthPolicyResponse":{ "type":"structure", "members":{ "createdAt":{ "shape":"Timestamp", "documentation":"

The date and time that the auth policy was created, specified in ISO-8601 format.

" }, "lastUpdatedAt":{ "shape":"Timestamp", "documentation":"

The date and time that the auth policy was last updated, specified in ISO-8601 format.

" }, "policy":{ "shape":"AuthPolicyString", "documentation":"

The auth policy.

" }, "state":{ "shape":"AuthPolicyState", "documentation":"

The state of the auth policy. The auth policy is only active when the auth type is set to `Amazon Web Services_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 is `NONE`, then any auth policy you provide will remain inactive. For more information, see Create a service network in the Amazon VPC Lattice User Guide.

" } } }, "GetListenerRequest":{ "type":"structure", "required":[ "listenerIdentifier", "serviceIdentifier" ], "members":{ "listenerIdentifier":{ "shape":"ListenerIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the listener.

", "location":"uri", "locationName":"listenerIdentifier" }, "serviceIdentifier":{ "shape":"ServiceIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the service.

", "location":"uri", "locationName":"serviceIdentifier" } } }, "GetListenerResponse":{ "type":"structure", "members":{ "arn":{ "shape":"ListenerArn", "documentation":"

The Amazon Resource Name (ARN) of the listener.

" }, "createdAt":{ "shape":"Timestamp", "documentation":"

The date and time that the listener was created, specified in ISO-8601 format.

" }, "defaultAction":{ "shape":"RuleAction", "documentation":"

The actions for the default listener rule.

" }, "id":{ "shape":"ListenerId", "documentation":"

The ID of the listener.

" }, "lastUpdatedAt":{ "shape":"Timestamp", "documentation":"

The date and time that the listener was last updated, specified in ISO-8601 format.

" }, "name":{ "shape":"ListenerName", "documentation":"

The name of the listener.

" }, "port":{ "shape":"Port", "documentation":"

The listener port.

" }, "protocol":{ "shape":"ListenerProtocol", "documentation":"

The listener protocol.

" }, "serviceArn":{ "shape":"ServiceArn", "documentation":"

The Amazon Resource Name (ARN) of the service.

" }, "serviceId":{ "shape":"ServiceId", "documentation":"

The ID of the service.

" } } }, "GetResourcePolicyRequest":{ "type":"structure", "required":["resourceArn"], "members":{ "resourceArn":{ "shape":"ResourceArn", "documentation":"

An IAM policy.

", "location":"uri", "locationName":"resourceArn" } } }, "GetResourcePolicyResponse":{ "type":"structure", "members":{ "policy":{ "shape":"PolicyString", "documentation":"

The Amazon Resource Name (ARN) of the service network or service.

" } } }, "GetRuleRequest":{ "type":"structure", "required":[ "listenerIdentifier", "ruleIdentifier", "serviceIdentifier" ], "members":{ "listenerIdentifier":{ "shape":"ListenerIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the listener.

", "location":"uri", "locationName":"listenerIdentifier" }, "ruleIdentifier":{ "shape":"RuleIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the listener rule.

", "location":"uri", "locationName":"ruleIdentifier" }, "serviceIdentifier":{ "shape":"ServiceIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the service.

", "location":"uri", "locationName":"serviceIdentifier" } } }, "GetRuleResponse":{ "type":"structure", "members":{ "action":{ "shape":"RuleAction", "documentation":"

The action for the default rule.

" }, "arn":{ "shape":"RuleArn", "documentation":"

The Amazon Resource Name (ARN) of the listener.

" }, "createdAt":{ "shape":"Timestamp", "documentation":"

The date and time that the listener rule was created, specified in ISO-8601 format.

" }, "id":{ "shape":"RuleId", "documentation":"

The ID of the listener.

" }, "isDefault":{ "shape":"Boolean", "documentation":"

Indicates whether this is the default rule.

" }, "lastUpdatedAt":{ "shape":"Timestamp", "documentation":"

The date and time that the listener rule was last updated, specified in ISO-8601 format.

" }, "match":{ "shape":"RuleMatch", "documentation":"

The rule match.

" }, "name":{ "shape":"RuleName", "documentation":"

The name of the listener.

" }, "priority":{ "shape":"RulePriority", "documentation":"

The priority level for the specified rule.

" } } }, "GetServiceNetworkRequest":{ "type":"structure", "required":["serviceNetworkIdentifier"], "members":{ "serviceNetworkIdentifier":{ "shape":"ServiceNetworkIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the service network.

", "location":"uri", "locationName":"serviceNetworkIdentifier" } } }, "GetServiceNetworkResponse":{ "type":"structure", "members":{ "arn":{ "shape":"ServiceNetworkArn", "documentation":"

The Amazon Resource Name (ARN) of the service network.

" }, "authType":{ "shape":"AuthType", "documentation":"

The type of IAM policy.

" }, "createdAt":{ "shape":"Timestamp", "documentation":"

The date and time that the service network was created, specified in ISO-8601 format.

" }, "id":{ "shape":"ServiceNetworkId", "documentation":"

The ID of the service network.

" }, "lastUpdatedAt":{ "shape":"Timestamp", "documentation":"

The date and time of the last update, specified in ISO-8601 format.

" }, "name":{ "shape":"ServiceNetworkName", "documentation":"

The name of the service network.

" }, "numberOfAssociatedServices":{ "shape":"Long", "documentation":"

The number of services associated with the service network.

" }, "numberOfAssociatedVPCs":{ "shape":"Long", "documentation":"

The number of VPCs associated with the service network.

" } } }, "GetServiceNetworkServiceAssociationRequest":{ "type":"structure", "required":["serviceNetworkServiceAssociationIdentifier"], "members":{ "serviceNetworkServiceAssociationIdentifier":{ "shape":"ServiceNetworkServiceAssociationIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the association.

", "location":"uri", "locationName":"serviceNetworkServiceAssociationIdentifier" } } }, "GetServiceNetworkServiceAssociationResponse":{ "type":"structure", "members":{ "arn":{ "shape":"ServiceNetworkServiceAssociationArn", "documentation":"

The Amazon Resource Name (ARN) of the association.

" }, "createdAt":{ "shape":"Timestamp", "documentation":"

The date and time that the association was created, specified in ISO-8601 format.

" }, "createdBy":{ "shape":"AccountId", "documentation":"

The account that created the association.

" }, "customDomainName":{ "shape":"ServiceCustomDomainName", "documentation":"

The custom domain name of the service.

" }, "dnsEntry":{ "shape":"DnsEntry", "documentation":"

The DNS name of the service.

" }, "failureCode":{ "shape":"String", "documentation":"

The failure code.

" }, "failureMessage":{ "shape":"String", "documentation":"

The failure message.

" }, "id":{ "shape":"ServiceNetworkServiceAssociationIdentifier", "documentation":"

The ID of the service network and service association.

" }, "serviceArn":{ "shape":"ServiceArn", "documentation":"

The Amazon Resource Name (ARN) of the service.

" }, "serviceId":{ "shape":"ServiceId", "documentation":"

The ID of the service.

" }, "serviceName":{ "shape":"ServiceName", "documentation":"

The name of the service.

" }, "serviceNetworkArn":{ "shape":"ServiceNetworkArn", "documentation":"

The Amazon Resource Name (ARN) of the service network.

" }, "serviceNetworkId":{ "shape":"ServiceNetworkId", "documentation":"

The ID of the service network.

" }, "serviceNetworkName":{ "shape":"ServiceNetworkName", "documentation":"

The name of the service network.

" }, "status":{ "shape":"ServiceNetworkServiceAssociationStatus", "documentation":"

The status of the association.

" } } }, "GetServiceNetworkVpcAssociationRequest":{ "type":"structure", "required":["serviceNetworkVpcAssociationIdentifier"], "members":{ "serviceNetworkVpcAssociationIdentifier":{ "shape":"ServiceNetworkVpcAssociationIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the association.

", "location":"uri", "locationName":"serviceNetworkVpcAssociationIdentifier" } } }, "GetServiceNetworkVpcAssociationResponse":{ "type":"structure", "members":{ "arn":{ "shape":"ServiceNetworkVpcAssociationArn", "documentation":"

The Amazon Resource Name (ARN) of the association.

" }, "createdAt":{ "shape":"Timestamp", "documentation":"

The date and time that the association was created, specified in ISO-8601 format.

" }, "createdBy":{ "shape":"AccountId", "documentation":"

The account that created the association.

" }, "failureCode":{ "shape":"String", "documentation":"

The failure code.

" }, "failureMessage":{ "shape":"String", "documentation":"

The failure message.

" }, "id":{ "shape":"ServiceNetworkVpcAssociationId", "documentation":"

The ID of the specified association between the service network and the VPC.

" }, "lastUpdatedAt":{ "shape":"Timestamp", "documentation":"

The date and time that the association was last updated, specified in ISO-8601 format.

" }, "securityGroupIds":{ "shape":"SecurityGroupList", "documentation":"

The IDs of the security groups.

" }, "serviceNetworkArn":{ "shape":"ServiceNetworkArn", "documentation":"

The Amazon Resource Name (ARN) of the service network.

" }, "serviceNetworkId":{ "shape":"ServiceNetworkId", "documentation":"

The ID of the service network.

" }, "serviceNetworkName":{ "shape":"ServiceNetworkName", "documentation":"

The name of the service network.

" }, "status":{ "shape":"ServiceNetworkVpcAssociationStatus", "documentation":"

The status of the association.

" }, "vpcId":{ "shape":"VpcId", "documentation":"

The ID of the VPC.

" } } }, "GetServiceRequest":{ "type":"structure", "required":["serviceIdentifier"], "members":{ "serviceIdentifier":{ "shape":"ServiceIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the service.

", "location":"uri", "locationName":"serviceIdentifier" } } }, "GetServiceResponse":{ "type":"structure", "members":{ "arn":{ "shape":"ServiceArn", "documentation":"

The Amazon Resource Name (ARN) of the service.

" }, "authType":{ "shape":"AuthType", "documentation":"

The type of IAM policy.

" }, "certificateArn":{ "shape":"CertificateArn", "documentation":"

The Amazon Resource Name (ARN) of the certificate.

" }, "createdAt":{ "shape":"Timestamp", "documentation":"

The date and time that the service was created, specified in ISO-8601 format.

" }, "customDomainName":{ "shape":"ServiceCustomDomainName", "documentation":"

The custom domain name of the service.

" }, "dnsEntry":{ "shape":"DnsEntry", "documentation":"

The DNS name of the service.

" }, "failureCode":{ "shape":"FailureCode", "documentation":"

The failure code.

" }, "failureMessage":{ "shape":"FailureMessage", "documentation":"

The failure message.

" }, "id":{ "shape":"ServiceId", "documentation":"

The ID of the service.

" }, "lastUpdatedAt":{ "shape":"Timestamp", "documentation":"

The date and time that the service was last updated, specified in ISO-8601 format.

" }, "name":{ "shape":"ServiceName", "documentation":"

The name of the service.

" }, "status":{ "shape":"ServiceStatus", "documentation":"

The status of the service.

" } } }, "GetTargetGroupRequest":{ "type":"structure", "required":["targetGroupIdentifier"], "members":{ "targetGroupIdentifier":{ "shape":"TargetGroupIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the target group.

", "location":"uri", "locationName":"targetGroupIdentifier" } } }, "GetTargetGroupResponse":{ "type":"structure", "members":{ "arn":{ "shape":"TargetGroupArn", "documentation":"

The Amazon Resource Name (ARN) of the target group.

" }, "config":{ "shape":"TargetGroupConfig", "documentation":"

The target group configuration.

" }, "createdAt":{ "shape":"Timestamp", "documentation":"

The date and time that the target group was created, specified in ISO-8601 format.

" }, "failureCode":{ "shape":"String", "documentation":"

The failure code.

" }, "failureMessage":{ "shape":"String", "documentation":"

The failure message.

" }, "id":{ "shape":"TargetGroupId", "documentation":"

The ID of the target group.

" }, "lastUpdatedAt":{ "shape":"Timestamp", "documentation":"

The date and time that the target group was last updated, specified in ISO-8601 format.

" }, "name":{ "shape":"TargetGroupName", "documentation":"

The name of the target group.

" }, "serviceArns":{ "shape":"ServiceArnList", "documentation":"

The Amazon Resource Names (ARNs) of the service.

" }, "status":{ "shape":"TargetGroupStatus", "documentation":"

The status.

" }, "type":{ "shape":"TargetGroupType", "documentation":"

The target group type.

" } } }, "HeaderMatch":{ "type":"structure", "required":[ "match", "name" ], "members":{ "caseSensitive":{ "shape":"Boolean", "documentation":"

Indicates whether the match is case sensitive. Defaults to false.

" }, "match":{ "shape":"HeaderMatchType", "documentation":"

The header match type.

" }, "name":{ "shape":"HeaderMatchName", "documentation":"

The name of the header.

" } }, "documentation":"

Describes the constraints for a header match. Matches incoming requests with rule based on request header value before applying rule action.

" }, "HeaderMatchContains":{ "type":"string", "max":200, "min":1 }, "HeaderMatchExact":{ "type":"string", "max":200, "min":1 }, "HeaderMatchList":{ "type":"list", "member":{"shape":"HeaderMatch"}, "max":5, "min":1 }, "HeaderMatchName":{ "type":"string", "max":100, "min":1 }, "HeaderMatchPrefix":{ "type":"string", "max":200, "min":1 }, "HeaderMatchType":{ "type":"structure", "members":{ "contains":{ "shape":"HeaderMatchContains", "documentation":"

Specifies a contains type match.

" }, "exact":{ "shape":"HeaderMatchExact", "documentation":"

Specifies an exact type match.

" }, "prefix":{ "shape":"HeaderMatchPrefix", "documentation":"

Specifies a prefix type match. Matches the value with the prefix.

" } }, "documentation":"

Describes a header match type. Only one can be provided.

", "union":true }, "HealthCheckConfig":{ "type":"structure", "members":{ "enabled":{ "shape":"Boolean", "documentation":"

Indicates whether health checking is enabled.

" }, "healthCheckIntervalSeconds":{ "shape":"HealthCheckIntervalSeconds", "documentation":"

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":{ "shape":"HealthCheckTimeoutSeconds", "documentation":"

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":{ "shape":"HealthyThresholdCount", "documentation":"

The number of consecutive successful health checks required before considering an unhealthy target healthy. The range is 2–10. The default is 5.

" }, "matcher":{ "shape":"Matcher", "documentation":"

The codes to use when checking for a successful response from a target. These are called Success codes in the console.

" }, "path":{ "shape":"HealthCheckPath", "documentation":"

The destination for health checks on the targets. If the protocol version is `HTTP/1.1` or `HTTP/2`, specify a valid URI (for example, `/path?query`). The default path is `/`. Health checks are not supported if the protocol version is `gRPC`, however, you can choose `HTTP/1.1` or `HTTP/2` and specify a valid URI.

" }, "port":{ "shape":"HealthCheckPort", "documentation":"

The port used when performing health checks on targets. The default setting is the port that a target receives traffic on.

" }, "protocol":{ "shape":"TargetGroupProtocol", "documentation":"

The protocol used when performing health checks on targets. The possible protocols are `HTTP` and `HTTPS`. The default is `HTTP`.

" }, "protocolVersion":{ "shape":"HealthCheckProtocolVersion", "documentation":"

The protocol version used when performing health checks on targets. The possible protocol versions are `HTTP1` and `HTTP2`.

" }, "unhealthyThresholdCount":{ "shape":"UnhealthyThresholdCount", "documentation":"

The number of consecutive failed health checks required before considering a target unhealthy. The range is 2–10. The default is 2.

" } }, "documentation":"

The health check configuration of a target group. Health check configurations aren't used for `LAMBDA` and `ALB` target groups.

" }, "HealthCheckIntervalSeconds":{ "type":"integer", "box":true, "max":300, "min":0 }, "HealthCheckPath":{ "type":"string", "max":2048, "min":0, "pattern":"(^/[a-zA-Z0-9@:%_+.~#?&/=-]*$|(^$))" }, "HealthCheckPort":{ "type":"integer", "box":true, "max":65535, "min":0 }, "HealthCheckProtocolVersion":{ "type":"string", "enum":[ "HTTP1", "HTTP2" ] }, "HealthCheckTimeoutSeconds":{ "type":"integer", "box":true, "max":120, "min":0 }, "HealthyThresholdCount":{ "type":"integer", "box":true, "max":10, "min":0 }, "HttpCodeMatcher":{ "type":"string", "max":2000, "min":0, "pattern":"(^[0-9-,]+$|(^$))" }, "HttpMatch":{ "type":"structure", "members":{ "headerMatches":{ "shape":"HeaderMatchList", "documentation":"

The header matches. Matches incoming requests with rule based on request header value before applying rule action.

" }, "method":{ "shape":"HttpMethod", "documentation":"

The HTTP method type.

" }, "pathMatch":{ "shape":"PathMatch", "documentation":"

The path match.

" } }, "documentation":"

Describes criteria that can be applied to incoming requests.

" }, "HttpMethod":{ "type":"string", "max":16, "min":0 }, "HttpStatusCode":{ "type":"integer", "box":true, "max":599, "min":100 }, "Integer":{ "type":"integer", "box":true }, "InternalServerException":{ "type":"structure", "required":["message"], "members":{ "message":{"shape":"String"}, "retryAfterSeconds":{ "shape":"Integer", "documentation":"

The number of seconds to wait before retrying.

", "location":"header", "locationName":"Retry-After" } }, "documentation":"

An unexpected error occurred while processing the request.

", "error":{"httpStatusCode":500}, "exception":true, "fault":true, "retryable":{"throttling":false} }, "IpAddressType":{ "type":"string", "enum":[ "IPV4", "IPV6" ] }, "LambdaEventStructureVersion":{ "type":"string", "enum":[ "V1", "V2" ] }, "ListAccessLogSubscriptionsRequest":{ "type":"structure", "required":["resourceIdentifier"], "members":{ "maxResults":{ "shape":"MaxResults", "documentation":"

The maximum number of results to return.

", "location":"querystring", "locationName":"maxResults" }, "nextToken":{ "shape":"NextToken", "documentation":"

A pagination token for the next page of results.

", "location":"querystring", "locationName":"nextToken" }, "resourceIdentifier":{ "shape":"ResourceIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the service network or service.

", "location":"querystring", "locationName":"resourceIdentifier" } } }, "ListAccessLogSubscriptionsResponse":{ "type":"structure", "required":["items"], "members":{ "items":{ "shape":"AccessLogSubscriptionList", "documentation":"

The access log subscriptions.

" }, "nextToken":{ "shape":"NextToken", "documentation":"

A pagination token for the next page of results.

" } } }, "ListListenersRequest":{ "type":"structure", "required":["serviceIdentifier"], "members":{ "maxResults":{ "shape":"MaxResults", "documentation":"

The maximum number of results to return.

", "location":"querystring", "locationName":"maxResults" }, "nextToken":{ "shape":"NextToken", "documentation":"

A pagination token for the next page of results.

", "location":"querystring", "locationName":"nextToken" }, "serviceIdentifier":{ "shape":"ServiceIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the service.

", "location":"uri", "locationName":"serviceIdentifier" } } }, "ListListenersResponse":{ "type":"structure", "required":["items"], "members":{ "items":{ "shape":"ListenerSummaryList", "documentation":"

Information about the listeners.

" }, "nextToken":{ "shape":"NextToken", "documentation":"

If there are additional results, a pagination token for the next page of results.

" } } }, "ListRulesRequest":{ "type":"structure", "required":[ "listenerIdentifier", "serviceIdentifier" ], "members":{ "listenerIdentifier":{ "shape":"ListenerIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the listener.

", "location":"uri", "locationName":"listenerIdentifier" }, "maxResults":{ "shape":"MaxResults", "documentation":"

The maximum number of results to return.

", "location":"querystring", "locationName":"maxResults" }, "nextToken":{ "shape":"NextToken", "documentation":"

A pagination token for the next page of results.

", "location":"querystring", "locationName":"nextToken" }, "serviceIdentifier":{ "shape":"ServiceIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the service.

", "location":"uri", "locationName":"serviceIdentifier" } } }, "ListRulesResponse":{ "type":"structure", "required":["items"], "members":{ "items":{ "shape":"RuleSummaryList", "documentation":"

Information about the rules.

" }, "nextToken":{ "shape":"NextToken", "documentation":"

If there are additional results, a pagination token for the next page of results.

" } } }, "ListServiceNetworkServiceAssociationsRequest":{ "type":"structure", "members":{ "maxResults":{ "shape":"MaxResults", "documentation":"

The maximum number of results to return.

", "location":"querystring", "locationName":"maxResults" }, "nextToken":{ "shape":"NextToken", "documentation":"

A pagination token for the next page of results.

", "location":"querystring", "locationName":"nextToken" }, "serviceIdentifier":{ "shape":"ServiceIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the service.

", "location":"querystring", "locationName":"serviceIdentifier" }, "serviceNetworkIdentifier":{ "shape":"ServiceNetworkIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the service network.

", "location":"querystring", "locationName":"serviceNetworkIdentifier" } } }, "ListServiceNetworkServiceAssociationsResponse":{ "type":"structure", "required":["items"], "members":{ "items":{ "shape":"ServiceNetworkServiceAssociationList", "documentation":"

Information about the associations.

" }, "nextToken":{ "shape":"NextToken", "documentation":"

If there are additional results, a pagination token for the next page of results.

" } } }, "ListServiceNetworkVpcAssociationsRequest":{ "type":"structure", "members":{ "maxResults":{ "shape":"MaxResults", "documentation":"

The maximum number of results to return.

", "location":"querystring", "locationName":"maxResults" }, "nextToken":{ "shape":"NextToken", "documentation":"

A pagination token for the next page of results.

", "location":"querystring", "locationName":"nextToken" }, "serviceNetworkIdentifier":{ "shape":"ServiceNetworkIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the service network.

", "location":"querystring", "locationName":"serviceNetworkIdentifier" }, "vpcIdentifier":{ "shape":"VpcId", "documentation":"

The ID or Amazon Resource Name (ARN) of the VPC.

", "location":"querystring", "locationName":"vpcIdentifier" } } }, "ListServiceNetworkVpcAssociationsResponse":{ "type":"structure", "required":["items"], "members":{ "items":{ "shape":"ServiceNetworkVpcAssociationList", "documentation":"

Information about the associations.

" }, "nextToken":{ "shape":"NextToken", "documentation":"

If there are additional results, a pagination token for the next page of results.

" } } }, "ListServiceNetworksRequest":{ "type":"structure", "members":{ "maxResults":{ "shape":"MaxResults", "documentation":"

The maximum number of results to return.

", "location":"querystring", "locationName":"maxResults" }, "nextToken":{ "shape":"NextToken", "documentation":"

A pagination token for the next page of results.

", "location":"querystring", "locationName":"nextToken" } } }, "ListServiceNetworksResponse":{ "type":"structure", "required":["items"], "members":{ "items":{ "shape":"ServiceNetworkList", "documentation":"

Information about the service networks.

" }, "nextToken":{ "shape":"NextToken", "documentation":"

If there are additional results, a pagination token for the next page of results.

" } } }, "ListServicesRequest":{ "type":"structure", "members":{ "maxResults":{ "shape":"MaxResults", "documentation":"

The maximum number of results to return.

", "location":"querystring", "locationName":"maxResults" }, "nextToken":{ "shape":"NextToken", "documentation":"

A pagination token for the next page of results.

", "location":"querystring", "locationName":"nextToken" } } }, "ListServicesResponse":{ "type":"structure", "members":{ "items":{ "shape":"ServiceList", "documentation":"

The services.

" }, "nextToken":{ "shape":"NextToken", "documentation":"

If there are additional results, a pagination token for the next page of results.

" } } }, "ListTagsForResourceRequest":{ "type":"structure", "required":["resourceArn"], "members":{ "resourceArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the resource.

", "location":"uri", "locationName":"resourceArn" } } }, "ListTagsForResourceResponse":{ "type":"structure", "members":{ "tags":{ "shape":"TagMap", "documentation":"

The tags.

" } } }, "ListTargetGroupsRequest":{ "type":"structure", "members":{ "maxResults":{ "shape":"MaxResults", "documentation":"

The maximum number of results to return.

", "location":"querystring", "locationName":"maxResults" }, "nextToken":{ "shape":"NextToken", "documentation":"

A pagination token for the next page of results.

", "location":"querystring", "locationName":"nextToken" }, "targetGroupType":{ "shape":"TargetGroupType", "documentation":"

The target group type.

", "location":"querystring", "locationName":"targetGroupType" }, "vpcIdentifier":{ "shape":"VpcId", "documentation":"

The ID or Amazon Resource Name (ARN) of the service.

", "location":"querystring", "locationName":"vpcIdentifier" } } }, "ListTargetGroupsResponse":{ "type":"structure", "members":{ "items":{ "shape":"TargetGroupList", "documentation":"

Information about the target groups.

" }, "nextToken":{ "shape":"NextToken", "documentation":"

If there are additional results, a pagination token for the next page of results.

" } } }, "ListTargetsRequest":{ "type":"structure", "required":["targetGroupIdentifier"], "members":{ "maxResults":{ "shape":"MaxResults", "documentation":"

The maximum number of results to return.

", "location":"querystring", "locationName":"maxResults" }, "nextToken":{ "shape":"NextToken", "documentation":"

A pagination token for the next page of results.

", "location":"querystring", "locationName":"nextToken" }, "targetGroupIdentifier":{ "shape":"TargetGroupIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the target group.

", "location":"uri", "locationName":"targetGroupIdentifier" }, "targets":{ "shape":"ListTargetsRequestTargetsList", "documentation":"

The targets to list.

" } } }, "ListTargetsRequestTargetsList":{ "type":"list", "member":{"shape":"Target"}, "max":20, "min":0 }, "ListTargetsResponse":{ "type":"structure", "required":["items"], "members":{ "items":{ "shape":"TargetSummaryList", "documentation":"

Information about the targets.

" }, "nextToken":{ "shape":"NextToken", "documentation":"

If there are additional results, a pagination token for the next page of results.

" } } }, "ListenerArn":{ "type":"string", "max":2048, "min":20, "pattern":"^arn:[a-z0-9\\-]+:vpc-lattice:[a-zA-Z0-9\\-]+:\\d{12}:service/svc-[0-9a-z]{17}/listener/listener-[0-9a-z]{17}$" }, "ListenerId":{ "type":"string", "max":26, "min":26, "pattern":"^listener-[0-9a-z]{17}$" }, "ListenerIdentifier":{ "type":"string", "max":2048, "min":20, "pattern":"^((listener-[0-9a-z]{17})|(^arn:[a-z0-9\\-]+:vpc-lattice:[a-zA-Z0-9\\-]+:\\d{12}:service/svc-[0-9a-z]{17}/listener/listener-[0-9a-z]{17}$))$" }, "ListenerName":{ "type":"string", "max":63, "min":3, "pattern":"^(?!listener-)(?![-])(?!.*[-]$)(?!.*[-]{2})[a-z0-9-]+$" }, "ListenerProtocol":{ "type":"string", "enum":[ "HTTP", "HTTPS" ] }, "ListenerSummary":{ "type":"structure", "members":{ "arn":{ "shape":"ListenerArn", "documentation":"

The Amazon Resource Name (ARN) of the listener.

" }, "createdAt":{ "shape":"Timestamp", "documentation":"

The date and time that the listener was created, specified in ISO-8601 format.

" }, "id":{ "shape":"ListenerId", "documentation":"

The ID of the listener.

" }, "lastUpdatedAt":{ "shape":"Timestamp", "documentation":"

The date and time that the listener was last updated, specified in ISO-8601 format.

" }, "name":{ "shape":"ListenerName", "documentation":"

The name of the listener.

" }, "port":{ "shape":"Port", "documentation":"

The listener port.

" }, "protocol":{ "shape":"ListenerProtocol", "documentation":"

The listener protocol.

" } }, "documentation":"

Summary information about a listener.

" }, "ListenerSummaryList":{ "type":"list", "member":{"shape":"ListenerSummary"} }, "Long":{ "type":"long", "box":true }, "Matcher":{ "type":"structure", "members":{ "httpCode":{ "shape":"HttpCodeMatcher", "documentation":"

The HTTP code to use when checking for a successful response from a target.

" } }, "documentation":"

The codes to use when checking for a successful response from a target for health checks.

", "union":true }, "MaxResults":{ "type":"integer", "box":true, "max":100, "min":1 }, "NextToken":{ "type":"string", "max":2048, "min":1 }, "PathMatch":{ "type":"structure", "required":["match"], "members":{ "caseSensitive":{ "shape":"Boolean", "documentation":"

Indicates whether the match is case sensitive. Defaults to false.

" }, "match":{ "shape":"PathMatchType", "documentation":"

The type of path match.

" } }, "documentation":"

Describes the conditions that can be applied when matching a path for incoming requests.

" }, "PathMatchExact":{ "type":"string", "max":200, "min":1, "pattern":"^/[a-zA-Z0-9@:%_+.~#?&/=-]*$" }, "PathMatchPrefix":{ "type":"string", "max":200, "min":1, "pattern":"^/[a-zA-Z0-9@:%_+.~#?&/=-]*$" }, "PathMatchType":{ "type":"structure", "members":{ "exact":{ "shape":"PathMatchExact", "documentation":"

An exact match of the path.

" }, "prefix":{ "shape":"PathMatchPrefix", "documentation":"

A prefix match of the path.

" } }, "documentation":"

Describes a path match type. Each rule can include only one of the following types of paths.

", "union":true }, "PolicyString":{ "type":"string", "max":10000, "min":1, "pattern":"^.*\\S.*$" }, "Port":{ "type":"integer", "box":true, "max":65535, "min":1 }, "PutAuthPolicyRequest":{ "type":"structure", "required":[ "policy", "resourceIdentifier" ], "members":{ "policy":{ "shape":"AuthPolicyString", "documentation":"

The auth policy.

" }, "resourceIdentifier":{ "shape":"ResourceIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created.

", "location":"uri", "locationName":"resourceIdentifier" } } }, "PutAuthPolicyResponse":{ "type":"structure", "members":{ "policy":{ "shape":"AuthPolicyString", "documentation":"

The auth policy.

" }, "state":{ "shape":"AuthPolicyState", "documentation":"

The state of the auth policy. The auth policy is only active when the auth type is set to `Amazon Web Services_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 is `NONE`, then, any auth policy you provide will remain inactive. For more information, see Create a service network in the Amazon VPC Lattice User Guide.

" } } }, "PutResourcePolicyRequest":{ "type":"structure", "required":[ "policy", "resourceArn" ], "members":{ "policy":{ "shape":"PolicyString", "documentation":"

An IAM policy.

" }, "resourceArn":{ "shape":"ResourceArn", "documentation":"

The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created.

", "location":"uri", "locationName":"resourceArn" } } }, "PutResourcePolicyResponse":{ "type":"structure", "members":{ } }, "RegisterTargetsRequest":{ "type":"structure", "required":[ "targetGroupIdentifier", "targets" ], "members":{ "targetGroupIdentifier":{ "shape":"TargetGroupIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the target group.

", "location":"uri", "locationName":"targetGroupIdentifier" }, "targets":{ "shape":"RegisterTargetsRequestTargetsList", "documentation":"

The targets.

" } } }, "RegisterTargetsRequestTargetsList":{ "type":"list", "member":{"shape":"Target"}, "max":100, "min":1 }, "RegisterTargetsResponse":{ "type":"structure", "members":{ "successful":{ "shape":"TargetList", "documentation":"

The targets that were successfully registered.

" }, "unsuccessful":{ "shape":"TargetFailureList", "documentation":"

The targets that were not registered.

" } } }, "ResourceArn":{ "type":"string", "max":200, "min":20, "pattern":"^arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:((servicenetwork/sn)|(service/svc))-[0-9a-z]{17}$" }, "ResourceId":{ "type":"string", "max":50, "min":20, "pattern":"^((sn)|(svc))-[0-9a-z]{17}$" }, "ResourceIdentifier":{ "type":"string", "max":200, "min":17, "pattern":"^((((sn)|(svc))-[0-9a-z]{17})|(arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:((servicenetwork/sn)|(service/svc))-[0-9a-z]{17}))$" }, "ResourceNotFoundException":{ "type":"structure", "required":[ "message", "resourceId", "resourceType" ], "members":{ "message":{"shape":"String"}, "resourceId":{ "shape":"String", "documentation":"

The resource ID.

" }, "resourceType":{ "shape":"String", "documentation":"

The resource type.

" } }, "documentation":"

The request references a resource that does not exist.

", "error":{ "httpStatusCode":404, "senderFault":true }, "exception":true }, "RuleAction":{ "type":"structure", "members":{ "fixedResponse":{ "shape":"FixedResponseAction", "documentation":"

Describes the rule action that returns a custom HTTP response.

" }, "forward":{ "shape":"ForwardAction", "documentation":"

The forward action. Traffic that matches the rule is forwarded to the specified target groups.

" } }, "documentation":"

Describes the action for a rule. Each rule must include exactly one of the following types of actions: `forward` or `fixed-response`, and it must be the last action to be performed.

", "union":true }, "RuleArn":{ "type":"string", "max":2048, "min":20, "pattern":"^arn:[a-z0-9\\-]+:vpc-lattice:[a-zA-Z0-9\\-]+:\\d{12}:service/svc-[0-9a-z]{17}/listener/listener-[0-9a-z]{17}/rule/rule-[0-9a-z]{17}$" }, "RuleId":{ "type":"string", "max":22, "min":5, "pattern":"^rule-[0-9a-z]{17}$" }, "RuleIdentifier":{ "type":"string", "max":2048, "min":20, "pattern":"^((rule-[0-9a-z]{17})|(^arn:[a-z0-9\\-]+:vpc-lattice:[a-zA-Z0-9\\-]+:\\d{12}:service/svc-[0-9a-z]{17}/listener/listener-[0-9a-z]{17}/rule/rule-[0-9a-z]{17}$))$" }, "RuleMatch":{ "type":"structure", "members":{ "httpMatch":{ "shape":"HttpMatch", "documentation":"

The HTTP criteria that a rule must match.

" } }, "documentation":"

Describes a rule match.

", "union":true }, "RuleName":{ "type":"string", "max":63, "min":3, "pattern":"^(?!rule-)(?![-])(?!.*[-]$)(?!.*[-]{2})[a-z0-9-]+$" }, "RulePriority":{ "type":"integer", "box":true, "max":100, "min":1 }, "RuleSummary":{ "type":"structure", "members":{ "arn":{ "shape":"RuleArn", "documentation":"

The Amazon Resource Name (ARN) of the rule.

" }, "createdAt":{ "shape":"Timestamp", "documentation":"

The date and time that the listener rule was created, specified in ISO-8601 format.

" }, "id":{ "shape":"RuleId", "documentation":"

The ID of the rule.

" }, "isDefault":{ "shape":"Boolean", "documentation":"

Indicates whether this is the default rule. Listener rules are created when you create a listener. Each listener has a default rule for checking connection requests.

" }, "lastUpdatedAt":{ "shape":"Timestamp", "documentation":"

The date and time that the listener rule was last updated, specified in ISO-8601 format.

" }, "name":{ "shape":"RuleName", "documentation":"

The name of the rule.

" }, "priority":{ "shape":"RulePriority", "documentation":"

The priority of the rule.

" } }, "documentation":"

Summary information about the listener rule.

" }, "RuleSummaryList":{ "type":"list", "member":{"shape":"RuleSummary"} }, "RuleUpdate":{ "type":"structure", "required":["ruleIdentifier"], "members":{ "action":{ "shape":"RuleAction", "documentation":"

The rule action.

" }, "match":{ "shape":"RuleMatch", "documentation":"

The rule match.

" }, "priority":{ "shape":"RulePriority", "documentation":"

The rule priority. A listener can't have multiple rules with the same priority.

" }, "ruleIdentifier":{ "shape":"RuleIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the rule.

" } }, "documentation":"

Represents an object when updating a rule.

" }, "RuleUpdateFailure":{ "type":"structure", "members":{ "failureCode":{ "shape":"FailureCode", "documentation":"

The failure code.

" }, "failureMessage":{ "shape":"FailureMessage", "documentation":"

The failure message.

" }, "ruleIdentifier":{ "shape":"RuleIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the rule.

" } }, "documentation":"

Describes a rule update that failed.

" }, "RuleUpdateFailureList":{ "type":"list", "member":{"shape":"RuleUpdateFailure"} }, "RuleUpdateList":{ "type":"list", "member":{"shape":"RuleUpdate"}, "max":5, "min":1 }, "RuleUpdateSuccess":{ "type":"structure", "members":{ "action":{ "shape":"RuleAction", "documentation":"

The action for the default rule.

" }, "arn":{ "shape":"RuleArn", "documentation":"

The Amazon Resource Name (ARN) of the listener.

" }, "id":{ "shape":"RuleId", "documentation":"

The ID of the listener.

" }, "isDefault":{ "shape":"Boolean", "documentation":"

Indicates whether this is the default rule.

" }, "match":{ "shape":"RuleMatch", "documentation":"

The rule match.

" }, "name":{ "shape":"RuleName", "documentation":"

The name of the listener.

" }, "priority":{ "shape":"RulePriority", "documentation":"

The rule priority.

" } }, "documentation":"

Describes a successful rule update.

" }, "RuleUpdateSuccessList":{ "type":"list", "member":{"shape":"RuleUpdateSuccess"} }, "SecurityGroupId":{ "type":"string", "max":200, "min":5, "pattern":"^sg-(([0-9a-z]{8})|([0-9a-z]{17}))$" }, "SecurityGroupList":{ "type":"list", "member":{"shape":"SecurityGroupId"} }, "ServiceArn":{ "type":"string", "max":2048, "min":20, "pattern":"^arn:[a-z0-9\\-]+:vpc-lattice:[a-zA-Z0-9\\-]+:\\d{12}:service/svc-[0-9a-z]{17}$" }, "ServiceArnList":{ "type":"list", "member":{"shape":"ServiceArn"} }, "ServiceCustomDomainName":{ "type":"string", "max":255, "min":3 }, "ServiceId":{ "type":"string", "max":21, "min":21, "pattern":"^svc-[0-9a-z]{17}$" }, "ServiceIdentifier":{ "type":"string", "max":2048, "min":17, "pattern":"^((svc-[0-9a-z]{17})|(arn:[a-z0-9\\-]+:vpc-lattice:[a-zA-Z0-9\\-]+:\\d{12}:service/svc-[0-9a-z]{17}))$" }, "ServiceList":{ "type":"list", "member":{"shape":"ServiceSummary"} }, "ServiceName":{ "type":"string", "max":40, "min":3, "pattern":"^(?!svc-)(?![-])(?!.*[-]$)(?!.*[-]{2})[a-z0-9-]+$" }, "ServiceNetworkArn":{ "type":"string", "max":2048, "min":32, "pattern":"^arn:[a-z0-9\\-]+:vpc-lattice:[a-zA-Z0-9\\-]+:\\d{12}:servicenetwork/sn-[0-9a-z]{17}$" }, "ServiceNetworkId":{ "type":"string", "max":32, "min":32, "pattern":"^sn-[0-9a-z]{17}$" }, "ServiceNetworkIdentifier":{ "type":"string", "max":2048, "min":3, "pattern":"^((sn-[0-9a-z]{17})|(arn:[a-z0-9\\-]+:vpc-lattice:[a-zA-Z0-9\\-]+:\\d{12}:servicenetwork/sn-[0-9a-z]{17}))$" }, "ServiceNetworkList":{ "type":"list", "member":{"shape":"ServiceNetworkSummary"} }, "ServiceNetworkName":{ "type":"string", "max":63, "min":3, "pattern":"^(?![-])(?!.*[-]$)(?!.*[-]{2})[a-z0-9-]+$" }, "ServiceNetworkServiceAssociationArn":{ "type":"string", "max":2048, "min":20, "pattern":"^arn:[a-z0-9\\-]+:vpc-lattice:[a-zA-Z0-9\\-]+:\\d{12}:servicenetworkserviceassociation/snsa-[0-9a-z]{17}$" }, "ServiceNetworkServiceAssociationIdentifier":{ "type":"string", "max":2048, "min":17, "pattern":"^((snsa-[0-9a-z]{17})|(arn:[a-z0-9\\-]+:vpc-lattice:[a-zA-Z0-9\\-]+:\\d{12}:servicenetworkserviceassociation/snsa-[0-9a-z]{17}))$" }, "ServiceNetworkServiceAssociationList":{ "type":"list", "member":{"shape":"ServiceNetworkServiceAssociationSummary"} }, "ServiceNetworkServiceAssociationStatus":{ "type":"string", "enum":[ "CREATE_IN_PROGRESS", "ACTIVE", "DELETE_IN_PROGRESS", "CREATE_FAILED", "DELETE_FAILED" ] }, "ServiceNetworkServiceAssociationSummary":{ "type":"structure", "members":{ "arn":{ "shape":"ServiceNetworkServiceAssociationArn", "documentation":"

The Amazon Resource Name (ARN) of the association.

" }, "createdAt":{ "shape":"Timestamp", "documentation":"

The date and time that the association was created, specified in ISO-8601 format.

" }, "createdBy":{ "shape":"AccountId", "documentation":"

The account that created the association.

" }, "customDomainName":{ "shape":"ServiceCustomDomainName", "documentation":"

The custom domain name of the service.

" }, "dnsEntry":{ "shape":"DnsEntry", "documentation":"

DNS information about the service.

" }, "id":{ "shape":"ServiceNetworkServiceAssociationIdentifier", "documentation":"

The ID of the association.

" }, "serviceArn":{ "shape":"ServiceArn", "documentation":"

The Amazon Resource Name (ARN) of the service.

" }, "serviceId":{ "shape":"ServiceId", "documentation":"

The ID of the service.

" }, "serviceName":{ "shape":"ServiceName", "documentation":"

The name of the service.

" }, "serviceNetworkArn":{ "shape":"ServiceNetworkArn", "documentation":"

The Amazon Resource Name (ARN) of the service network.

" }, "serviceNetworkId":{ "shape":"ServiceNetworkId", "documentation":"

The ID of the service network.

" }, "serviceNetworkName":{ "shape":"ServiceNetworkName", "documentation":"

The name of the service network.

" }, "status":{ "shape":"ServiceNetworkServiceAssociationStatus", "documentation":"

The status. If the deletion fails, try to delete again.

" } }, "documentation":"

Summary information about the association between a service network and a service.

" }, "ServiceNetworkSummary":{ "type":"structure", "members":{ "arn":{ "shape":"ServiceNetworkArn", "documentation":"

The Amazon Resource Name (ARN) of the service network.

" }, "createdAt":{ "shape":"Timestamp", "documentation":"

The date and time that the service network was created, specified in ISO-8601 format.

" }, "id":{ "shape":"ServiceNetworkId", "documentation":"

The ID of the service network.

" }, "lastUpdatedAt":{ "shape":"Timestamp", "documentation":"

The date and time that the service network was last updated, specified in ISO-8601 format.

" }, "name":{ "shape":"ServiceNetworkName", "documentation":"

The name of the service network.

" }, "numberOfAssociatedServices":{ "shape":"Long", "documentation":"

The number of services associated with the service network.

" }, "numberOfAssociatedVPCs":{ "shape":"Long", "documentation":"

The number of VPCs associated with the service network.

" } }, "documentation":"

Summary information about a service network.

" }, "ServiceNetworkVpcAssociationArn":{ "type":"string", "max":2048, "min":20, "pattern":"^arn:[a-z0-9\\-]+:vpc-lattice:[a-zA-Z0-9\\-]+:\\d{12}:servicenetworkvpcassociation/snva-[0-9a-z]{17}$" }, "ServiceNetworkVpcAssociationId":{ "type":"string", "max":22, "min":22, "pattern":"^snva-[0-9a-z]{17}$" }, "ServiceNetworkVpcAssociationIdentifier":{ "type":"string", "max":2048, "min":17, "pattern":"^((snva-[0-9a-z]{17})|(arn:[a-z0-9\\-]+:vpc-lattice:[a-zA-Z0-9\\-]+:\\d{12}:servicenetworkvpcassociation/snva-[0-9a-z]{17}))$" }, "ServiceNetworkVpcAssociationList":{ "type":"list", "member":{"shape":"ServiceNetworkVpcAssociationSummary"} }, "ServiceNetworkVpcAssociationStatus":{ "type":"string", "enum":[ "CREATE_IN_PROGRESS", "ACTIVE", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "CREATE_FAILED", "DELETE_FAILED", "UPDATE_FAILED" ] }, "ServiceNetworkVpcAssociationSummary":{ "type":"structure", "members":{ "arn":{ "shape":"ServiceNetworkVpcAssociationArn", "documentation":"

The Amazon Resource Name (ARN) of the association.

" }, "createdAt":{ "shape":"Timestamp", "documentation":"

The date and time that the association was created, specified in ISO-8601 format.

" }, "createdBy":{ "shape":"AccountId", "documentation":"

The account that created the association.

" }, "id":{ "shape":"ServiceNetworkVpcAssociationId", "documentation":"

The ID of the association.

" }, "lastUpdatedAt":{ "shape":"Timestamp", "documentation":"

The date and time that the association was last updated, specified in ISO-8601 format.

" }, "serviceNetworkArn":{ "shape":"ServiceNetworkArn", "documentation":"

The Amazon Resource Name (ARN) of the service network.

" }, "serviceNetworkId":{ "shape":"ServiceNetworkId", "documentation":"

The ID of the service network.

" }, "serviceNetworkName":{ "shape":"ServiceNetworkName", "documentation":"

The name of the service network.

" }, "status":{ "shape":"ServiceNetworkVpcAssociationStatus", "documentation":"

The status.

" }, "vpcId":{ "shape":"VpcId", "documentation":"

The ID of the VPC.

" } }, "documentation":"

Summary information about an association between a service network and a VPC.

" }, "ServiceQuotaExceededException":{ "type":"structure", "required":[ "message", "quotaCode", "resourceType", "serviceCode" ], "members":{ "message":{"shape":"String"}, "quotaCode":{ "shape":"String", "documentation":"

The ID of the service quota that was exceeded.

" }, "resourceId":{ "shape":"String", "documentation":"

The resource ID.

" }, "resourceType":{ "shape":"String", "documentation":"

The resource type.

" }, "serviceCode":{ "shape":"String", "documentation":"

The service code.

" } }, "documentation":"

The request would cause a service quota to be exceeded.

", "error":{ "httpStatusCode":402, "senderFault":true }, "exception":true }, "ServiceStatus":{ "type":"string", "enum":[ "ACTIVE", "CREATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "CREATE_FAILED", "DELETE_FAILED" ] }, "ServiceSummary":{ "type":"structure", "members":{ "arn":{ "shape":"ServiceArn", "documentation":"

The Amazon Resource Name (ARN) of the service.

" }, "createdAt":{ "shape":"Timestamp", "documentation":"

The date and time that the service was created, specified in ISO-8601 format.

" }, "customDomainName":{ "shape":"ServiceCustomDomainName", "documentation":"

The custom domain name of the service.

" }, "dnsEntry":{ "shape":"DnsEntry", "documentation":"

DNS information about the service.

" }, "id":{ "shape":"ServiceId", "documentation":"

The ID of the service.

" }, "lastUpdatedAt":{ "shape":"Timestamp", "documentation":"

The date and time that the service was last updated. The format is ISO-8601.

" }, "name":{ "shape":"ServiceName", "documentation":"

The name of the service.

" }, "status":{ "shape":"ServiceStatus", "documentation":"

The status.

" } }, "documentation":"

Summary information about a service.

" }, "String":{"type":"string"}, "TagKey":{ "type":"string", "max":128, "min":1 }, "TagKeys":{ "type":"list", "member":{"shape":"TagKey"}, "max":200, "min":0 }, "TagMap":{ "type":"map", "key":{ "shape":"TagKey", "documentation":"

The key of the tag.

Constraints: Tag keys are case-sensitive and accept a maximum of 128 Unicode characters. Valid characters are Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @ May not begin with `aws:`.

" }, "value":{ "shape":"TagValue", "documentation":"

The value of the tag.

Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters. Valid characters are Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @

" }, "max":200, "min":0 }, "TagResourceRequest":{ "type":"structure", "required":[ "resourceArn", "tags" ], "members":{ "resourceArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the resource.

", "location":"uri", "locationName":"resourceArn" }, "tags":{ "shape":"TagMap", "documentation":"

The tags for the resource.

" } } }, "TagResourceResponse":{ "type":"structure", "members":{ } }, "TagValue":{ "type":"string", "max":256, "min":0 }, "Target":{ "type":"structure", "required":["id"], "members":{ "id":{ "shape":"TargetIdString", "documentation":"

The ID of the target. If the target type of the target group is `INSTANCE`, this is an instance ID. If the target type is `IP` , this is an IP address. If the target type is `LAMBDA`, this is the ARN of the Lambda function. If the target type is `ALB`, this is the ARN of the Application Load Balancer.

" }, "port":{ "shape":"Port", "documentation":"

The port on which the target is listening. For HTTP, the default is `80`. For HTTPS, the default is `443`.

" } }, "documentation":"

Describes a target.

" }, "TargetFailure":{ "type":"structure", "members":{ "failureCode":{ "shape":"String", "documentation":"

The failure code.

" }, "failureMessage":{ "shape":"String", "documentation":"

The failure message.

" }, "id":{ "shape":"String", "documentation":"

The ID of the target. If the target type of the target group is `INSTANCE`, this is an instance ID. If the target type is `IP` , this is an IP address. If the target type is `LAMBDA`, this is the ARN of the Lambda function. If the target type is `ALB`, this is the ARN of the Application Load Balancer.

" }, "port":{ "shape":"Port", "documentation":"

The port on which the target is listening. This parameter doesn't apply if the target is a Lambda function.

" } }, "documentation":"

Describes a target failure.

" }, "TargetFailureList":{ "type":"list", "member":{"shape":"TargetFailure"} }, "TargetGroupArn":{ "type":"string", "max":2048, "min":20, "pattern":"^arn:[a-z0-9\\-]+:vpc-lattice:[a-zA-Z0-9\\-]+:\\d{12}:targetgroup/tg-[0-9a-z]{17}$" }, "TargetGroupConfig":{ "type":"structure", "members":{ "healthCheck":{ "shape":"HealthCheckConfig", "documentation":"

The health check configuration.

" }, "ipAddressType":{ "shape":"IpAddressType", "documentation":"

The type of IP address used for the target group. The possible values are `ipv4` and `ipv6`. This is an optional parameter. If not specified, the IP address type defaults to `ipv4`.

" }, "lambdaEventStructureVersion":{ "shape":"LambdaEventStructureVersion", "documentation":"

Lambda event structure version

" }, "port":{ "shape":"Port", "documentation":"

The port on which the targets are listening. For HTTP, the default is `80`. For HTTPS, the default is `443`

" }, "protocol":{ "shape":"TargetGroupProtocol", "documentation":"

The protocol to use for routing traffic to the targets. Default is the protocol of a target group.

" }, "protocolVersion":{ "shape":"TargetGroupProtocolVersion", "documentation":"

The protocol version. Default value is `HTTP1`.

" }, "vpcIdentifier":{ "shape":"VpcId", "documentation":"

The ID of the VPC.

" } }, "documentation":"

Describes the configuration of a target group. Lambda functions don't support target group configuration.

" }, "TargetGroupId":{ "type":"string", "max":20, "min":20, "pattern":"^tg-[0-9a-z]{17}$" }, "TargetGroupIdentifier":{ "type":"string", "max":2048, "min":17, "pattern":"^((tg-[0-9a-z]{17})|(arn:[a-z0-9\\-]+:vpc-lattice:[a-zA-Z0-9\\-]+:\\d{12}:targetgroup/tg-[0-9a-z]{17}))$" }, "TargetGroupList":{ "type":"list", "member":{"shape":"TargetGroupSummary"} }, "TargetGroupName":{ "type":"string", "max":128, "min":3, "pattern":"^(?!tg-)(?![-])(?!.*[-]$)(?!.*[-]{2})[a-z0-9-]+$" }, "TargetGroupProtocol":{ "type":"string", "enum":[ "HTTP", "HTTPS" ] }, "TargetGroupProtocolVersion":{ "type":"string", "enum":[ "HTTP1", "HTTP2", "GRPC" ] }, "TargetGroupStatus":{ "type":"string", "enum":[ "CREATE_IN_PROGRESS", "ACTIVE", "DELETE_IN_PROGRESS", "CREATE_FAILED", "DELETE_FAILED" ] }, "TargetGroupSummary":{ "type":"structure", "members":{ "arn":{ "shape":"TargetGroupArn", "documentation":"

The ARN (Amazon Resource Name) of the target group.

" }, "createdAt":{ "shape":"Timestamp", "documentation":"

The date and time that the target group was created, specified in ISO-8601 format.

" }, "id":{ "shape":"TargetGroupId", "documentation":"

The ID of the target group.

" }, "ipAddressType":{ "shape":"IpAddressType", "documentation":"

The type of IP address used for the target group. The possible values are `ipv4` and `ipv6`. This is an optional parameter. If not specified, the IP address type defaults to `ipv4`.

" }, "lambdaEventStructureVersion":{ "shape":"LambdaEventStructureVersion", "documentation":"

Lambda event structure version

" }, "lastUpdatedAt":{ "shape":"Timestamp", "documentation":"

The date and time that the target group was last updated, specified in ISO-8601 format.

" }, "name":{ "shape":"TargetGroupName", "documentation":"

The name of the target group.

" }, "port":{ "shape":"Port", "documentation":"

The port of the target group.

" }, "protocol":{ "shape":"TargetGroupProtocol", "documentation":"

The protocol of the target group.

" }, "serviceArns":{ "shape":"ServiceArnList", "documentation":"

The list of Amazon Resource Names (ARNs) of the service.

" }, "status":{ "shape":"TargetGroupStatus", "documentation":"

The status.

" }, "type":{ "shape":"TargetGroupType", "documentation":"

The target group type.

" }, "vpcIdentifier":{ "shape":"VpcId", "documentation":"

The ID of the VPC of the target group.

" } }, "documentation":"

Summary information about a target group.

" }, "TargetGroupType":{ "type":"string", "enum":[ "IP", "LAMBDA", "INSTANCE", "ALB" ] }, "TargetGroupWeight":{ "type":"integer", "box":true, "max":999, "min":0 }, "TargetIdString":{ "type":"string", "max":200, "min":1 }, "TargetList":{ "type":"list", "member":{"shape":"Target"} }, "TargetStatus":{ "type":"string", "enum":[ "DRAINING", "UNAVAILABLE", "HEALTHY", "UNHEALTHY", "INITIAL", "UNUSED" ] }, "TargetSummary":{ "type":"structure", "members":{ "id":{ "shape":"String", "documentation":"

The ID of the target. If the target type of the target group is `INSTANCE`, this is an instance ID. If the target type is `IP` , this is an IP address. If the target type is `LAMBDA`, this is the ARN of the Lambda function. If the target type is `ALB`, this is the ARN of the Application Load Balancer.

" }, "port":{ "shape":"Port", "documentation":"

The port on which the target is listening.

" }, "reasonCode":{ "shape":"String", "documentation":"

The code for why the target status is what it is.

" }, "status":{ "shape":"TargetStatus", "documentation":"

The status of the target.

- `Draining`: The target is being deregistered. No new connections will be sent to this target while current connections are being drained. 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.

" } }, "documentation":"

Summary information about a target.

" }, "TargetSummaryList":{ "type":"list", "member":{"shape":"TargetSummary"} }, "ThrottlingException":{ "type":"structure", "required":["message"], "members":{ "message":{"shape":"String"}, "quotaCode":{ "shape":"String", "documentation":"

The ID of the service quota that was exceeded.

" }, "retryAfterSeconds":{ "shape":"Integer", "documentation":"

The number of seconds to wait before retrying.

", "location":"header", "locationName":"Retry-After" }, "serviceCode":{ "shape":"String", "documentation":"

The service code.

" } }, "documentation":"

The limit on the number of requests per second was exceeded.

", "error":{ "httpStatusCode":429, "senderFault":true }, "exception":true, "retryable":{"throttling":true} }, "Timestamp":{ "type":"timestamp", "timestampFormat":"iso8601" }, "UnhealthyThresholdCount":{ "type":"integer", "box":true, "max":10, "min":0 }, "UntagResourceRequest":{ "type":"structure", "required":[ "resourceArn", "tagKeys" ], "members":{ "resourceArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the resource.

", "location":"uri", "locationName":"resourceArn" }, "tagKeys":{ "shape":"TagKeys", "documentation":"

The tag keys of the tags to remove.

", "location":"querystring", "locationName":"tagKeys" } } }, "UntagResourceResponse":{ "type":"structure", "members":{ } }, "UpdateAccessLogSubscriptionRequest":{ "type":"structure", "required":[ "accessLogSubscriptionIdentifier", "destinationArn" ], "members":{ "accessLogSubscriptionIdentifier":{ "shape":"AccessLogSubscriptionIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the access log subscription.

", "location":"uri", "locationName":"accessLogSubscriptionIdentifier" }, "destinationArn":{ "shape":"AccessLogDestinationArn", "documentation":"

The Amazon Resource Name (ARN) of the access log destination.

" } } }, "UpdateAccessLogSubscriptionResponse":{ "type":"structure", "required":[ "arn", "destinationArn", "id", "resourceArn", "resourceId" ], "members":{ "arn":{ "shape":"AccessLogSubscriptionArn", "documentation":"

The Amazon Resource Name (ARN) of the access log subscription.

" }, "destinationArn":{ "shape":"AccessLogDestinationArn", "documentation":"

The Amazon Resource Name (ARN) of the access log destination.

" }, "id":{ "shape":"AccessLogSubscriptionId", "documentation":"

The ID of the access log subscription.

" }, "resourceArn":{ "shape":"ResourceArn", "documentation":"

The Amazon Resource Name (ARN) of the access log subscription.

" }, "resourceId":{ "shape":"ResourceId", "documentation":"

The ID of the resource.

" } } }, "UpdateListenerRequest":{ "type":"structure", "required":[ "defaultAction", "listenerIdentifier", "serviceIdentifier" ], "members":{ "defaultAction":{ "shape":"RuleAction", "documentation":"

The action for the default rule.

" }, "listenerIdentifier":{ "shape":"ListenerIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the listener.

", "location":"uri", "locationName":"listenerIdentifier" }, "serviceIdentifier":{ "shape":"ServiceIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the service.

", "location":"uri", "locationName":"serviceIdentifier" } } }, "UpdateListenerResponse":{ "type":"structure", "members":{ "arn":{ "shape":"ListenerArn", "documentation":"

The Amazon Resource Name (ARN) of the listener.

" }, "defaultAction":{ "shape":"RuleAction", "documentation":"

The action for the default rule.

" }, "id":{ "shape":"ListenerId", "documentation":"

The ID of the listener.

" }, "name":{ "shape":"ListenerName", "documentation":"

The name of the listener.

" }, "port":{ "shape":"Port", "documentation":"

The listener port.

" }, "protocol":{ "shape":"ListenerProtocol", "documentation":"

The protocol of the listener.

" }, "serviceArn":{ "shape":"ServiceArn", "documentation":"

The Amazon Resource Name (ARN) of the service.

" }, "serviceId":{ "shape":"ServiceId", "documentation":"

The ID of the service.

" } } }, "UpdateRuleRequest":{ "type":"structure", "required":[ "listenerIdentifier", "ruleIdentifier", "serviceIdentifier" ], "members":{ "action":{ "shape":"RuleAction", "documentation":"

Information about the action for the specified listener rule.

" }, "listenerIdentifier":{ "shape":"ListenerIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the listener.

", "location":"uri", "locationName":"listenerIdentifier" }, "match":{ "shape":"RuleMatch", "documentation":"

The rule match.

" }, "priority":{ "shape":"RulePriority", "documentation":"

The rule priority. A listener can't have multiple rules with the same priority.

" }, "ruleIdentifier":{ "shape":"RuleIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the rule.

", "location":"uri", "locationName":"ruleIdentifier" }, "serviceIdentifier":{ "shape":"ServiceIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the service.

", "location":"uri", "locationName":"serviceIdentifier" } } }, "UpdateRuleResponse":{ "type":"structure", "members":{ "action":{ "shape":"RuleAction", "documentation":"

Information about the action for the specified listener rule.

" }, "arn":{ "shape":"RuleArn", "documentation":"

The Amazon Resource Name (ARN) of the listener.

" }, "id":{ "shape":"RuleId", "documentation":"

The ID of the listener.

" }, "isDefault":{ "shape":"Boolean", "documentation":"

Indicates whether this is the default rule.

" }, "match":{ "shape":"RuleMatch", "documentation":"

The rule match.

" }, "name":{ "shape":"RuleName", "documentation":"

The name of the listener.

" }, "priority":{ "shape":"RulePriority", "documentation":"

The rule priority.

" } } }, "UpdateServiceNetworkRequest":{ "type":"structure", "required":[ "authType", "serviceNetworkIdentifier" ], "members":{ "authType":{ "shape":"AuthType", "documentation":"

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":{ "shape":"ServiceNetworkIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the service network.

", "location":"uri", "locationName":"serviceNetworkIdentifier" } } }, "UpdateServiceNetworkResponse":{ "type":"structure", "members":{ "arn":{ "shape":"ServiceNetworkArn", "documentation":"

The Amazon Resource Name (ARN) of the service network.

" }, "authType":{ "shape":"AuthType", "documentation":"

The type of IAM policy.

" }, "id":{ "shape":"ServiceNetworkId", "documentation":"

The ID of the service network.

" }, "name":{ "shape":"ServiceNetworkName", "documentation":"

The name of the service network.

" } } }, "UpdateServiceNetworkVpcAssociationRequest":{ "type":"structure", "required":[ "securityGroupIds", "serviceNetworkVpcAssociationIdentifier" ], "members":{ "securityGroupIds":{ "shape":"UpdateServiceNetworkVpcAssociationRequestSecurityGroupIdsList", "documentation":"

The IDs of the security groups. Once you add a security group, it cannot be removed.

" }, "serviceNetworkVpcAssociationIdentifier":{ "shape":"ServiceNetworkVpcAssociationIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the association.

", "location":"uri", "locationName":"serviceNetworkVpcAssociationIdentifier" } } }, "UpdateServiceNetworkVpcAssociationRequestSecurityGroupIdsList":{ "type":"list", "member":{"shape":"SecurityGroupId"}, "max":5, "min":1 }, "UpdateServiceNetworkVpcAssociationResponse":{ "type":"structure", "members":{ "arn":{ "shape":"ServiceNetworkVpcAssociationArn", "documentation":"

The Amazon Resource Name (ARN) of the association.

" }, "createdBy":{ "shape":"AccountId", "documentation":"

The account that created the association.

" }, "id":{ "shape":"ServiceNetworkVpcAssociationId", "documentation":"

The ID of the association.

" }, "securityGroupIds":{ "shape":"SecurityGroupList", "documentation":"

The IDs of the security groups.

" }, "status":{ "shape":"ServiceNetworkVpcAssociationStatus", "documentation":"

The status. You can retry the operation if the status is `DELETE_FAILED`. However, if you retry it while the status is `DELETE_IN_PROGRESS`, there is no change in the status.

" } } }, "UpdateServiceRequest":{ "type":"structure", "required":["serviceIdentifier"], "members":{ "authType":{ "shape":"AuthType", "documentation":"

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":{ "shape":"CertificateArn", "documentation":"

The Amazon Resource Name (ARN) of the certificate.

" }, "serviceIdentifier":{ "shape":"ServiceIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the service.

", "location":"uri", "locationName":"serviceIdentifier" } } }, "UpdateServiceResponse":{ "type":"structure", "members":{ "arn":{ "shape":"ServiceArn", "documentation":"

The Amazon Resource Name (ARN) of the service.

" }, "authType":{ "shape":"AuthType", "documentation":"

The type of IAM policy.

" }, "certificateArn":{ "shape":"CertificateArn", "documentation":"

The Amazon Resource Name (ARN) of the certificate.

" }, "customDomainName":{ "shape":"ServiceCustomDomainName", "documentation":"

The custom domain name of the service.

" }, "id":{ "shape":"ServiceId", "documentation":"

The ID of the service.

" }, "name":{ "shape":"ServiceName", "documentation":"

The name of the service.

" } } }, "UpdateTargetGroupRequest":{ "type":"structure", "required":[ "healthCheck", "targetGroupIdentifier" ], "members":{ "healthCheck":{ "shape":"HealthCheckConfig", "documentation":"

The health check configuration.

" }, "targetGroupIdentifier":{ "shape":"TargetGroupIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the target group.

", "location":"uri", "locationName":"targetGroupIdentifier" } } }, "UpdateTargetGroupResponse":{ "type":"structure", "members":{ "arn":{ "shape":"TargetGroupArn", "documentation":"

The Amazon Resource Name (ARN) of the target group.

" }, "config":{ "shape":"TargetGroupConfig", "documentation":"

The target group configuration.

" }, "id":{ "shape":"TargetGroupId", "documentation":"

The ID of the target group.

" }, "name":{ "shape":"TargetGroupName", "documentation":"

The name of the target group.

" }, "status":{ "shape":"TargetGroupStatus", "documentation":"

The status.

" }, "type":{ "shape":"TargetGroupType", "documentation":"

The target group type.

" } } }, "ValidationException":{ "type":"structure", "required":[ "message", "reason" ], "members":{ "fieldList":{ "shape":"ValidationExceptionFieldList", "documentation":"

The fields that failed validation.

" }, "message":{"shape":"String"}, "reason":{ "shape":"ValidationExceptionReason", "documentation":"

The reason.

" } }, "documentation":"

The input does not satisfy the constraints specified by an Amazon Web Services service.

", "error":{ "httpStatusCode":400, "senderFault":true }, "exception":true }, "ValidationExceptionField":{ "type":"structure", "required":[ "message", "name" ], "members":{ "message":{ "shape":"String", "documentation":"

Additional details about why the validation failed.

" }, "name":{ "shape":"String", "documentation":"

The name of the validation exception.

" } }, "documentation":"

Describes a validation failure.

" }, "ValidationExceptionFieldList":{ "type":"list", "member":{"shape":"ValidationExceptionField"} }, "ValidationExceptionReason":{ "type":"string", "enum":[ "unknownOperation", "cannotParse", "fieldValidationFailed", "other" ] }, "VpcId":{ "type":"string", "max":50, "min":5, "pattern":"^vpc-(([0-9a-z]{8})|([0-9a-z]{17}))$" }, "WeightedTargetGroup":{ "type":"structure", "required":["targetGroupIdentifier"], "members":{ "targetGroupIdentifier":{ "shape":"TargetGroupIdentifier", "documentation":"

The ID or Amazon Resource Name (ARN) of the target group.

" }, "weight":{ "shape":"TargetGroupWeight", "documentation":"

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.

" } }, "documentation":"

Describes the weight of a target group.

" }, "WeightedTargetGroupList":{ "type":"list", "member":{"shape":"WeightedTargetGroup"}, "max":2, "min":1 } }, "documentation":"

Amazon VPC Lattice is a fully managed application networking service that you use to connect, secure, and monitor all of your services across multiple accounts and virtual private clouds (VPCs). Amazon VPC Lattice interconnects your microservices and legacy services within a logical boundary, so that you can discover and manage them more efficiently. For more information, see the Amazon VPC Lattice User Guide

" }