Documentation ¶
Overview ¶
Package vpclattice provides the API client, operations, and parameter types for Amazon VPC Lattice.
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
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)deprecated
- func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
- func WithSigV4SigningName(name string) func(*Options)
- func WithSigV4SigningRegion(region string) func(*Options)
- type AuthResolverParameters
- type AuthSchemeResolver
- type BatchUpdateRuleInput
- type BatchUpdateRuleOutput
- type Client
- func (c *Client) BatchUpdateRule(ctx context.Context, params *BatchUpdateRuleInput, optFns ...func(*Options)) (*BatchUpdateRuleOutput, error)
- func (c *Client) CreateAccessLogSubscription(ctx context.Context, params *CreateAccessLogSubscriptionInput, ...) (*CreateAccessLogSubscriptionOutput, error)
- func (c *Client) CreateListener(ctx context.Context, params *CreateListenerInput, optFns ...func(*Options)) (*CreateListenerOutput, error)
- func (c *Client) CreateResourceConfiguration(ctx context.Context, params *CreateResourceConfigurationInput, ...) (*CreateResourceConfigurationOutput, error)
- func (c *Client) CreateResourceGateway(ctx context.Context, params *CreateResourceGatewayInput, ...) (*CreateResourceGatewayOutput, error)
- func (c *Client) CreateRule(ctx context.Context, params *CreateRuleInput, optFns ...func(*Options)) (*CreateRuleOutput, error)
- func (c *Client) CreateService(ctx context.Context, params *CreateServiceInput, optFns ...func(*Options)) (*CreateServiceOutput, error)
- func (c *Client) CreateServiceNetwork(ctx context.Context, params *CreateServiceNetworkInput, ...) (*CreateServiceNetworkOutput, error)
- func (c *Client) CreateServiceNetworkResourceAssociation(ctx context.Context, params *CreateServiceNetworkResourceAssociationInput, ...) (*CreateServiceNetworkResourceAssociationOutput, error)
- func (c *Client) CreateServiceNetworkServiceAssociation(ctx context.Context, params *CreateServiceNetworkServiceAssociationInput, ...) (*CreateServiceNetworkServiceAssociationOutput, error)
- func (c *Client) CreateServiceNetworkVpcAssociation(ctx context.Context, params *CreateServiceNetworkVpcAssociationInput, ...) (*CreateServiceNetworkVpcAssociationOutput, error)
- func (c *Client) CreateTargetGroup(ctx context.Context, params *CreateTargetGroupInput, optFns ...func(*Options)) (*CreateTargetGroupOutput, error)
- func (c *Client) DeleteAccessLogSubscription(ctx context.Context, params *DeleteAccessLogSubscriptionInput, ...) (*DeleteAccessLogSubscriptionOutput, error)
- func (c *Client) DeleteAuthPolicy(ctx context.Context, params *DeleteAuthPolicyInput, optFns ...func(*Options)) (*DeleteAuthPolicyOutput, error)
- func (c *Client) DeleteListener(ctx context.Context, params *DeleteListenerInput, optFns ...func(*Options)) (*DeleteListenerOutput, error)
- func (c *Client) DeleteResourceConfiguration(ctx context.Context, params *DeleteResourceConfigurationInput, ...) (*DeleteResourceConfigurationOutput, error)
- func (c *Client) DeleteResourceEndpointAssociation(ctx context.Context, params *DeleteResourceEndpointAssociationInput, ...) (*DeleteResourceEndpointAssociationOutput, error)
- func (c *Client) DeleteResourceGateway(ctx context.Context, params *DeleteResourceGatewayInput, ...) (*DeleteResourceGatewayOutput, error)
- func (c *Client) DeleteResourcePolicy(ctx context.Context, params *DeleteResourcePolicyInput, ...) (*DeleteResourcePolicyOutput, error)
- func (c *Client) DeleteRule(ctx context.Context, params *DeleteRuleInput, optFns ...func(*Options)) (*DeleteRuleOutput, error)
- func (c *Client) DeleteService(ctx context.Context, params *DeleteServiceInput, optFns ...func(*Options)) (*DeleteServiceOutput, error)
- func (c *Client) DeleteServiceNetwork(ctx context.Context, params *DeleteServiceNetworkInput, ...) (*DeleteServiceNetworkOutput, error)
- func (c *Client) DeleteServiceNetworkResourceAssociation(ctx context.Context, params *DeleteServiceNetworkResourceAssociationInput, ...) (*DeleteServiceNetworkResourceAssociationOutput, error)
- func (c *Client) DeleteServiceNetworkServiceAssociation(ctx context.Context, params *DeleteServiceNetworkServiceAssociationInput, ...) (*DeleteServiceNetworkServiceAssociationOutput, error)
- func (c *Client) DeleteServiceNetworkVpcAssociation(ctx context.Context, params *DeleteServiceNetworkVpcAssociationInput, ...) (*DeleteServiceNetworkVpcAssociationOutput, error)
- func (c *Client) DeleteTargetGroup(ctx context.Context, params *DeleteTargetGroupInput, optFns ...func(*Options)) (*DeleteTargetGroupOutput, error)
- func (c *Client) DeregisterTargets(ctx context.Context, params *DeregisterTargetsInput, optFns ...func(*Options)) (*DeregisterTargetsOutput, error)
- func (c *Client) GetAccessLogSubscription(ctx context.Context, params *GetAccessLogSubscriptionInput, ...) (*GetAccessLogSubscriptionOutput, error)
- func (c *Client) GetAuthPolicy(ctx context.Context, params *GetAuthPolicyInput, optFns ...func(*Options)) (*GetAuthPolicyOutput, error)
- func (c *Client) GetListener(ctx context.Context, params *GetListenerInput, optFns ...func(*Options)) (*GetListenerOutput, error)
- func (c *Client) GetResourceConfiguration(ctx context.Context, params *GetResourceConfigurationInput, ...) (*GetResourceConfigurationOutput, error)
- func (c *Client) GetResourceGateway(ctx context.Context, params *GetResourceGatewayInput, optFns ...func(*Options)) (*GetResourceGatewayOutput, error)
- func (c *Client) GetResourcePolicy(ctx context.Context, params *GetResourcePolicyInput, optFns ...func(*Options)) (*GetResourcePolicyOutput, error)
- func (c *Client) GetRule(ctx context.Context, params *GetRuleInput, optFns ...func(*Options)) (*GetRuleOutput, error)
- func (c *Client) GetService(ctx context.Context, params *GetServiceInput, optFns ...func(*Options)) (*GetServiceOutput, error)
- func (c *Client) GetServiceNetwork(ctx context.Context, params *GetServiceNetworkInput, optFns ...func(*Options)) (*GetServiceNetworkOutput, error)
- func (c *Client) GetServiceNetworkResourceAssociation(ctx context.Context, params *GetServiceNetworkResourceAssociationInput, ...) (*GetServiceNetworkResourceAssociationOutput, error)
- func (c *Client) GetServiceNetworkServiceAssociation(ctx context.Context, params *GetServiceNetworkServiceAssociationInput, ...) (*GetServiceNetworkServiceAssociationOutput, error)
- func (c *Client) GetServiceNetworkVpcAssociation(ctx context.Context, params *GetServiceNetworkVpcAssociationInput, ...) (*GetServiceNetworkVpcAssociationOutput, error)
- func (c *Client) GetTargetGroup(ctx context.Context, params *GetTargetGroupInput, optFns ...func(*Options)) (*GetTargetGroupOutput, error)
- func (c *Client) ListAccessLogSubscriptions(ctx context.Context, params *ListAccessLogSubscriptionsInput, ...) (*ListAccessLogSubscriptionsOutput, error)
- func (c *Client) ListListeners(ctx context.Context, params *ListListenersInput, optFns ...func(*Options)) (*ListListenersOutput, error)
- func (c *Client) ListResourceConfigurations(ctx context.Context, params *ListResourceConfigurationsInput, ...) (*ListResourceConfigurationsOutput, error)
- func (c *Client) ListResourceEndpointAssociations(ctx context.Context, params *ListResourceEndpointAssociationsInput, ...) (*ListResourceEndpointAssociationsOutput, error)
- func (c *Client) ListResourceGateways(ctx context.Context, params *ListResourceGatewaysInput, ...) (*ListResourceGatewaysOutput, error)
- func (c *Client) ListRules(ctx context.Context, params *ListRulesInput, optFns ...func(*Options)) (*ListRulesOutput, error)
- func (c *Client) ListServiceNetworkResourceAssociations(ctx context.Context, params *ListServiceNetworkResourceAssociationsInput, ...) (*ListServiceNetworkResourceAssociationsOutput, error)
- func (c *Client) ListServiceNetworkServiceAssociations(ctx context.Context, params *ListServiceNetworkServiceAssociationsInput, ...) (*ListServiceNetworkServiceAssociationsOutput, error)
- func (c *Client) ListServiceNetworkVpcAssociations(ctx context.Context, params *ListServiceNetworkVpcAssociationsInput, ...) (*ListServiceNetworkVpcAssociationsOutput, error)
- func (c *Client) ListServiceNetworkVpcEndpointAssociations(ctx context.Context, params *ListServiceNetworkVpcEndpointAssociationsInput, ...) (*ListServiceNetworkVpcEndpointAssociationsOutput, error)
- func (c *Client) ListServiceNetworks(ctx context.Context, params *ListServiceNetworksInput, ...) (*ListServiceNetworksOutput, error)
- func (c *Client) ListServices(ctx context.Context, params *ListServicesInput, optFns ...func(*Options)) (*ListServicesOutput, error)
- func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, ...) (*ListTagsForResourceOutput, error)
- func (c *Client) ListTargetGroups(ctx context.Context, params *ListTargetGroupsInput, optFns ...func(*Options)) (*ListTargetGroupsOutput, error)
- func (c *Client) ListTargets(ctx context.Context, params *ListTargetsInput, optFns ...func(*Options)) (*ListTargetsOutput, error)
- func (c *Client) Options() Options
- func (c *Client) PutAuthPolicy(ctx context.Context, params *PutAuthPolicyInput, optFns ...func(*Options)) (*PutAuthPolicyOutput, error)
- func (c *Client) PutResourcePolicy(ctx context.Context, params *PutResourcePolicyInput, optFns ...func(*Options)) (*PutResourcePolicyOutput, error)
- func (c *Client) RegisterTargets(ctx context.Context, params *RegisterTargetsInput, optFns ...func(*Options)) (*RegisterTargetsOutput, error)
- func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
- func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
- func (c *Client) UpdateAccessLogSubscription(ctx context.Context, params *UpdateAccessLogSubscriptionInput, ...) (*UpdateAccessLogSubscriptionOutput, error)
- func (c *Client) UpdateListener(ctx context.Context, params *UpdateListenerInput, optFns ...func(*Options)) (*UpdateListenerOutput, error)
- func (c *Client) UpdateResourceConfiguration(ctx context.Context, params *UpdateResourceConfigurationInput, ...) (*UpdateResourceConfigurationOutput, error)
- func (c *Client) UpdateResourceGateway(ctx context.Context, params *UpdateResourceGatewayInput, ...) (*UpdateResourceGatewayOutput, error)
- func (c *Client) UpdateRule(ctx context.Context, params *UpdateRuleInput, optFns ...func(*Options)) (*UpdateRuleOutput, error)
- func (c *Client) UpdateService(ctx context.Context, params *UpdateServiceInput, optFns ...func(*Options)) (*UpdateServiceOutput, error)
- func (c *Client) UpdateServiceNetwork(ctx context.Context, params *UpdateServiceNetworkInput, ...) (*UpdateServiceNetworkOutput, error)
- func (c *Client) UpdateServiceNetworkVpcAssociation(ctx context.Context, params *UpdateServiceNetworkVpcAssociationInput, ...) (*UpdateServiceNetworkVpcAssociationOutput, error)
- func (c *Client) UpdateTargetGroup(ctx context.Context, params *UpdateTargetGroupInput, optFns ...func(*Options)) (*UpdateTargetGroupOutput, error)
- type CreateAccessLogSubscriptionInput
- type CreateAccessLogSubscriptionOutput
- type CreateListenerInput
- type CreateListenerOutput
- type CreateResourceConfigurationInput
- type CreateResourceConfigurationOutput
- type CreateResourceGatewayInput
- type CreateResourceGatewayOutput
- type CreateRuleInput
- type CreateRuleOutput
- type CreateServiceInput
- type CreateServiceNetworkInput
- type CreateServiceNetworkOutput
- type CreateServiceNetworkResourceAssociationInput
- type CreateServiceNetworkResourceAssociationOutput
- type CreateServiceNetworkServiceAssociationInput
- type CreateServiceNetworkServiceAssociationOutput
- type CreateServiceNetworkVpcAssociationInput
- type CreateServiceNetworkVpcAssociationOutput
- type CreateServiceOutput
- type CreateTargetGroupInput
- type CreateTargetGroupOutput
- type DeleteAccessLogSubscriptionInput
- type DeleteAccessLogSubscriptionOutput
- type DeleteAuthPolicyInput
- type DeleteAuthPolicyOutput
- type DeleteListenerInput
- type DeleteListenerOutput
- type DeleteResourceConfigurationInput
- type DeleteResourceConfigurationOutput
- type DeleteResourceEndpointAssociationInput
- type DeleteResourceEndpointAssociationOutput
- type DeleteResourceGatewayInput
- type DeleteResourceGatewayOutput
- type DeleteResourcePolicyInput
- type DeleteResourcePolicyOutput
- type DeleteRuleInput
- type DeleteRuleOutput
- type DeleteServiceInput
- type DeleteServiceNetworkInput
- type DeleteServiceNetworkOutput
- type DeleteServiceNetworkResourceAssociationInput
- type DeleteServiceNetworkResourceAssociationOutput
- type DeleteServiceNetworkServiceAssociationInput
- type DeleteServiceNetworkServiceAssociationOutput
- type DeleteServiceNetworkVpcAssociationInput
- type DeleteServiceNetworkVpcAssociationOutput
- type DeleteServiceOutput
- type DeleteTargetGroupInput
- type DeleteTargetGroupOutput
- type DeregisterTargetsInput
- type DeregisterTargetsOutput
- type EndpointParameters
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type EndpointResolverV2
- type GetAccessLogSubscriptionInput
- type GetAccessLogSubscriptionOutput
- type GetAuthPolicyInput
- type GetAuthPolicyOutput
- type GetListenerInput
- type GetListenerOutput
- type GetResourceConfigurationInput
- type GetResourceConfigurationOutput
- type GetResourceGatewayInput
- type GetResourceGatewayOutput
- type GetResourcePolicyInput
- type GetResourcePolicyOutput
- type GetRuleInput
- type GetRuleOutput
- type GetServiceInput
- type GetServiceNetworkInput
- type GetServiceNetworkOutput
- type GetServiceNetworkResourceAssociationInput
- type GetServiceNetworkResourceAssociationOutput
- type GetServiceNetworkServiceAssociationInput
- type GetServiceNetworkServiceAssociationOutput
- type GetServiceNetworkVpcAssociationInput
- type GetServiceNetworkVpcAssociationOutput
- type GetServiceOutput
- type GetTargetGroupInput
- type GetTargetGroupOutput
- type HTTPClient
- type HTTPSignerV4
- type IdempotencyTokenProvider
- type ListAccessLogSubscriptionsAPIClient
- type ListAccessLogSubscriptionsInput
- type ListAccessLogSubscriptionsOutput
- type ListAccessLogSubscriptionsPaginator
- type ListAccessLogSubscriptionsPaginatorOptions
- type ListListenersAPIClient
- type ListListenersInput
- type ListListenersOutput
- type ListListenersPaginator
- type ListListenersPaginatorOptions
- type ListResourceConfigurationsAPIClient
- type ListResourceConfigurationsInput
- type ListResourceConfigurationsOutput
- type ListResourceConfigurationsPaginator
- type ListResourceConfigurationsPaginatorOptions
- type ListResourceEndpointAssociationsAPIClient
- type ListResourceEndpointAssociationsInput
- type ListResourceEndpointAssociationsOutput
- type ListResourceEndpointAssociationsPaginator
- type ListResourceEndpointAssociationsPaginatorOptions
- type ListResourceGatewaysAPIClient
- type ListResourceGatewaysInput
- type ListResourceGatewaysOutput
- type ListResourceGatewaysPaginator
- type ListResourceGatewaysPaginatorOptions
- type ListRulesAPIClient
- type ListRulesInput
- type ListRulesOutput
- type ListRulesPaginator
- type ListRulesPaginatorOptions
- type ListServiceNetworkResourceAssociationsAPIClient
- type ListServiceNetworkResourceAssociationsInput
- type ListServiceNetworkResourceAssociationsOutput
- type ListServiceNetworkResourceAssociationsPaginator
- type ListServiceNetworkResourceAssociationsPaginatorOptions
- type ListServiceNetworkServiceAssociationsAPIClient
- type ListServiceNetworkServiceAssociationsInput
- type ListServiceNetworkServiceAssociationsOutput
- type ListServiceNetworkServiceAssociationsPaginator
- type ListServiceNetworkServiceAssociationsPaginatorOptions
- type ListServiceNetworkVpcAssociationsAPIClient
- type ListServiceNetworkVpcAssociationsInput
- type ListServiceNetworkVpcAssociationsOutput
- type ListServiceNetworkVpcAssociationsPaginator
- type ListServiceNetworkVpcAssociationsPaginatorOptions
- type ListServiceNetworkVpcEndpointAssociationsAPIClient
- type ListServiceNetworkVpcEndpointAssociationsInput
- type ListServiceNetworkVpcEndpointAssociationsOutput
- type ListServiceNetworkVpcEndpointAssociationsPaginator
- type ListServiceNetworkVpcEndpointAssociationsPaginatorOptions
- type ListServiceNetworksAPIClient
- type ListServiceNetworksInput
- type ListServiceNetworksOutput
- type ListServiceNetworksPaginator
- type ListServiceNetworksPaginatorOptions
- type ListServicesAPIClient
- type ListServicesInput
- type ListServicesOutput
- type ListServicesPaginator
- type ListServicesPaginatorOptions
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type ListTargetGroupsAPIClient
- type ListTargetGroupsInput
- type ListTargetGroupsOutput
- type ListTargetGroupsPaginator
- type ListTargetGroupsPaginatorOptions
- type ListTargetsAPIClient
- type ListTargetsInput
- type ListTargetsOutput
- type ListTargetsPaginator
- type ListTargetsPaginatorOptions
- type Options
- type PutAuthPolicyInput
- type PutAuthPolicyOutput
- type PutResourcePolicyInput
- type PutResourcePolicyOutput
- type RegisterTargetsInput
- type RegisterTargetsOutput
- type ResolveEndpoint
- type TagResourceInput
- type TagResourceOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateAccessLogSubscriptionInput
- type UpdateAccessLogSubscriptionOutput
- type UpdateListenerInput
- type UpdateListenerOutput
- type UpdateResourceConfigurationInput
- type UpdateResourceConfigurationOutput
- type UpdateResourceGatewayInput
- type UpdateResourceGatewayOutput
- type UpdateRuleInput
- type UpdateRuleOutput
- type UpdateServiceInput
- type UpdateServiceNetworkInput
- type UpdateServiceNetworkOutput
- type UpdateServiceNetworkVpcAssociationInput
- type UpdateServiceNetworkVpcAssociationOutput
- type UpdateServiceOutput
- type UpdateTargetGroupInput
- type UpdateTargetGroupOutput
Constants ¶
const ServiceAPIVersion = "2022-11-30"
const ServiceID = "VPC Lattice"
Variables ¶
This section is empty.
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver
deprecated
func WithEndpointResolver(v EndpointResolver) func(*Options)
Deprecated: EndpointResolver and WithEndpointResolver. Providing a value for this field will likely prevent you from using any endpoint-related service features released after the introduction of EndpointResolverV2 and BaseEndpoint.
To migrate an EndpointResolver implementation that uses a custom endpoint, set the client option BaseEndpoint instead.
func WithEndpointResolverV2 ¶ added in v1.1.0
func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
WithEndpointResolverV2 returns a functional option for setting the Client's EndpointResolverV2 option.
func WithSigV4SigningName ¶ added in v1.4.2
WithSigV4SigningName applies an override to the authentication workflow to use the given signing name for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing name from both auth scheme resolution and endpoint resolution.
func WithSigV4SigningRegion ¶ added in v1.4.2
WithSigV4SigningRegion applies an override to the authentication workflow to use the given signing region for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing region from both auth scheme resolution and endpoint resolution.
Types ¶
type AuthResolverParameters ¶ added in v1.4.2
type AuthResolverParameters struct { // The name of the operation being invoked. Operation string // The region in which the operation is being invoked. Region string }
AuthResolverParameters contains the set of inputs necessary for auth scheme resolution.
type AuthSchemeResolver ¶ added in v1.4.2
type AuthSchemeResolver interface {
ResolveAuthSchemes(context.Context, *AuthResolverParameters) ([]*smithyauth.Option, error)
}
AuthSchemeResolver returns a set of possible authentication options for an operation.
type BatchUpdateRuleInput ¶
type BatchUpdateRuleInput struct { // The ID or ARN of the listener. // // This member is required. ListenerIdentifier *string // The rules for the specified listener. // // This member is required. Rules []types.RuleUpdate // The ID or ARN of the service. // // This member is required. ServiceIdentifier *string // contains filtered or unexported fields }
type BatchUpdateRuleOutput ¶
type BatchUpdateRuleOutput struct { // The rules that were successfully updated. Successful []types.RuleUpdateSuccess // The rules that the operation couldn't update. Unsuccessful []types.RuleUpdateFailure // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for Amazon VPC Lattice.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) BatchUpdateRule ¶
func (c *Client) BatchUpdateRule(ctx context.Context, params *BatchUpdateRuleInput, optFns ...func(*Options)) (*BatchUpdateRuleOutput, error)
Updates the listener rules in a batch. You can use this operation to change the priority of listener rules. This can be useful when bulk updating or swapping rule priority.
Required permissions: vpc-lattice:UpdateRule
For more information, see How Amazon VPC Lattice works with IAM in the Amazon VPC Lattice User Guide.
func (*Client) CreateAccessLogSubscription ¶
func (c *Client) CreateAccessLogSubscription(ctx context.Context, params *CreateAccessLogSubscriptionInput, optFns ...func(*Options)) (*CreateAccessLogSubscriptionOutput, error)
Enables access logs to be sent to Amazon CloudWatch, Amazon S3, and Amazon Kinesis Data Firehose. The service network owner can use the access logs to audit the services in the network. The service network owner can only see access logs from clients and services that are associated with their service network. Access log entries represent traffic originated from VPCs associated with that network. For more information, see Access logsin the Amazon VPC Lattice User Guide.
func (*Client) CreateListener ¶
func (c *Client) CreateListener(ctx context.Context, params *CreateListenerInput, optFns ...func(*Options)) (*CreateListenerOutput, error)
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.
func (*Client) CreateResourceConfiguration ¶ added in v1.13.0
func (c *Client) CreateResourceConfiguration(ctx context.Context, params *CreateResourceConfigurationInput, optFns ...func(*Options)) (*CreateResourceConfigurationOutput, error)
Creates a resource configuration. A resource configuration defines a specific resource. You can associate a resource configuration with a service network or a VPC endpoint.
func (*Client) CreateResourceGateway ¶ added in v1.13.0
func (c *Client) CreateResourceGateway(ctx context.Context, params *CreateResourceGatewayInput, optFns ...func(*Options)) (*CreateResourceGatewayOutput, error)
Creates a resource gateway.
func (*Client) CreateRule ¶
func (c *Client) CreateRule(ctx context.Context, params *CreateRuleInput, optFns ...func(*Options)) (*CreateRuleOutput, error)
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 rulesin the Amazon VPC Lattice User Guide.
func (*Client) CreateService ¶
func (c *Client) CreateService(ctx context.Context, params *CreateServiceInput, optFns ...func(*Options)) (*CreateServiceOutput, error)
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.
func (*Client) CreateServiceNetwork ¶
func (c *Client) CreateServiceNetwork(ctx context.Context, params *CreateServiceNetworkInput, optFns ...func(*Options)) (*CreateServiceNetworkOutput, error)
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.
func (*Client) CreateServiceNetworkResourceAssociation ¶ added in v1.13.0
func (c *Client) CreateServiceNetworkResourceAssociation(ctx context.Context, params *CreateServiceNetworkResourceAssociationInput, optFns ...func(*Options)) (*CreateServiceNetworkResourceAssociationOutput, error)
Associates the specified service network with the specified resource configuration. This allows the resource configuration to receive connections through the service network, including through a service network VPC endpoint.
func (*Client) CreateServiceNetworkServiceAssociation ¶
func (c *Client) CreateServiceNetworkServiceAssociation(ctx context.Context, params *CreateServiceNetworkServiceAssociationInput, optFns ...func(*Options)) (*CreateServiceNetworkServiceAssociationOutput, error)
Associates the specified service with the specified service network. For more information, see Manage service associationsin the Amazon VPC Lattice User Guide.
You can't use this operation if the service and service network are already associated or if there is a disassociation or deletion in progress. If the association fails, you can retry the operation by deleting the association and recreating it.
You cannot associate a service and service network that are shared with a caller. The caller must own either the service or the service network.
As a result of this operation, the association is created in the service network account and the association owner account.
func (*Client) CreateServiceNetworkVpcAssociation ¶
func (c *Client) CreateServiceNetworkVpcAssociation(ctx context.Context, params *CreateServiceNetworkVpcAssociationInput, optFns ...func(*Options)) (*CreateServiceNetworkVpcAssociationOutput, error)
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 associationsin the Amazon VPC Lattice User Guide.
You can't use this operation if there is a disassociation in progress. If the association fails, retry by deleting the association and recreating it.
As a result of this operation, the association gets created in the service network account and the VPC owner account.
If you add a security group to the service network and VPC association, the association must continue to always have at least one security group. You can add or edit security groups at any time. However, to remove all security groups, you must first delete the association and recreate it without security groups.
func (*Client) CreateTargetGroup ¶
func (c *Client) CreateTargetGroup(ctx context.Context, params *CreateTargetGroupInput, optFns ...func(*Options)) (*CreateTargetGroupOutput, error)
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.
func (*Client) DeleteAccessLogSubscription ¶
func (c *Client) DeleteAccessLogSubscription(ctx context.Context, params *DeleteAccessLogSubscriptionInput, optFns ...func(*Options)) (*DeleteAccessLogSubscriptionOutput, error)
Deletes the specified access log subscription.
func (*Client) DeleteAuthPolicy ¶
func (c *Client) DeleteAuthPolicy(ctx context.Context, params *DeleteAuthPolicyInput, optFns ...func(*Options)) (*DeleteAuthPolicyOutput, error)
Deletes the specified auth policy. If an auth is set to AWS_IAM and the auth policy is deleted, all requests are denied. If you are trying to remove the auth policy completely, you must set the auth type to NONE . If auth is enabled on the resource, but no auth policy is set, all requests are denied.
func (*Client) DeleteListener ¶
func (c *Client) DeleteListener(ctx context.Context, params *DeleteListenerInput, optFns ...func(*Options)) (*DeleteListenerOutput, error)
Deletes the specified listener.
func (*Client) DeleteResourceConfiguration ¶ added in v1.13.0
func (c *Client) DeleteResourceConfiguration(ctx context.Context, params *DeleteResourceConfigurationInput, optFns ...func(*Options)) (*DeleteResourceConfigurationOutput, error)
Deletes the specified resource configuration.
func (*Client) DeleteResourceEndpointAssociation ¶ added in v1.13.0
func (c *Client) DeleteResourceEndpointAssociation(ctx context.Context, params *DeleteResourceEndpointAssociationInput, optFns ...func(*Options)) (*DeleteResourceEndpointAssociationOutput, error)
Disassociates the resource configuration from the resource VPC endpoint.
func (*Client) DeleteResourceGateway ¶ added in v1.13.0
func (c *Client) DeleteResourceGateway(ctx context.Context, params *DeleteResourceGatewayInput, optFns ...func(*Options)) (*DeleteResourceGatewayOutput, error)
Deletes the specified resource gateway.
func (*Client) DeleteResourcePolicy ¶
func (c *Client) DeleteResourcePolicy(ctx context.Context, params *DeleteResourcePolicyInput, optFns ...func(*Options)) (*DeleteResourcePolicyOutput, error)
Deletes the specified resource policy.
func (*Client) DeleteRule ¶
func (c *Client) DeleteRule(ctx context.Context, params *DeleteRuleInput, optFns ...func(*Options)) (*DeleteRuleOutput, error)
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.
func (*Client) DeleteService ¶
func (c *Client) DeleteService(ctx context.Context, params *DeleteServiceInput, optFns ...func(*Options)) (*DeleteServiceOutput, error)
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 servicein the Amazon VPC Lattice User Guide.
func (*Client) DeleteServiceNetwork ¶
func (c *Client) DeleteServiceNetwork(ctx context.Context, params *DeleteServiceNetworkInput, optFns ...func(*Options)) (*DeleteServiceNetworkOutput, error)
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 networkin the Amazon VPC Lattice User Guide.
func (*Client) DeleteServiceNetworkResourceAssociation ¶ added in v1.13.0
func (c *Client) DeleteServiceNetworkResourceAssociation(ctx context.Context, params *DeleteServiceNetworkResourceAssociationInput, optFns ...func(*Options)) (*DeleteServiceNetworkResourceAssociationOutput, error)
Deletes the association between a service network and a resource configuration.
func (*Client) DeleteServiceNetworkServiceAssociation ¶
func (c *Client) DeleteServiceNetworkServiceAssociation(ctx context.Context, params *DeleteServiceNetworkServiceAssociationInput, optFns ...func(*Options)) (*DeleteServiceNetworkServiceAssociationOutput, error)
Deletes the association between a service and a service network. This operation fails if an association is still in progress.
func (*Client) DeleteServiceNetworkVpcAssociation ¶
func (c *Client) DeleteServiceNetworkVpcAssociation(ctx context.Context, params *DeleteServiceNetworkVpcAssociationInput, optFns ...func(*Options)) (*DeleteServiceNetworkVpcAssociationOutput, error)
Disassociates the VPC from the service network. You can't disassociate the VPC if there is a create or update association in progress.
func (*Client) DeleteTargetGroup ¶
func (c *Client) DeleteTargetGroup(ctx context.Context, params *DeleteTargetGroupInput, optFns ...func(*Options)) (*DeleteTargetGroupOutput, error)
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.
func (*Client) DeregisterTargets ¶
func (c *Client) DeregisterTargets(ctx context.Context, params *DeregisterTargetsInput, optFns ...func(*Options)) (*DeregisterTargetsOutput, error)
Deregisters the specified targets from the specified target group.
func (*Client) GetAccessLogSubscription ¶
func (c *Client) GetAccessLogSubscription(ctx context.Context, params *GetAccessLogSubscriptionInput, optFns ...func(*Options)) (*GetAccessLogSubscriptionOutput, error)
Retrieves information about the specified access log subscription.
func (*Client) GetAuthPolicy ¶
func (c *Client) GetAuthPolicy(ctx context.Context, params *GetAuthPolicyInput, optFns ...func(*Options)) (*GetAuthPolicyOutput, error)
Retrieves information about the auth policy for the specified service or service network.
func (*Client) GetListener ¶
func (c *Client) GetListener(ctx context.Context, params *GetListenerInput, optFns ...func(*Options)) (*GetListenerOutput, error)
Retrieves information about the specified listener for the specified service.
func (*Client) GetResourceConfiguration ¶ added in v1.13.0
func (c *Client) GetResourceConfiguration(ctx context.Context, params *GetResourceConfigurationInput, optFns ...func(*Options)) (*GetResourceConfigurationOutput, error)
Retrieves information about the specified resource configuration.
func (*Client) GetResourceGateway ¶ added in v1.13.0
func (c *Client) GetResourceGateway(ctx context.Context, params *GetResourceGatewayInput, optFns ...func(*Options)) (*GetResourceGatewayOutput, error)
Retrieves information about the specified resource gateway.
func (*Client) GetResourcePolicy ¶
func (c *Client) GetResourcePolicy(ctx context.Context, params *GetResourcePolicyInput, optFns ...func(*Options)) (*GetResourcePolicyOutput, error)
Retrieves information about the specified resource policy. The resource policy is an IAM policy created on behalf of the resource owner when they share a resource.
func (*Client) GetRule ¶
func (c *Client) GetRule(ctx context.Context, params *GetRuleInput, optFns ...func(*Options)) (*GetRuleOutput, error)
Retrieves information about the specified listener rules. You can also retrieve information about the default listener rule. For more information, see Listener rulesin the Amazon VPC Lattice User Guide.
func (*Client) GetService ¶
func (c *Client) GetService(ctx context.Context, params *GetServiceInput, optFns ...func(*Options)) (*GetServiceOutput, error)
Retrieves information about the specified service.
func (*Client) GetServiceNetwork ¶
func (c *Client) GetServiceNetwork(ctx context.Context, params *GetServiceNetworkInput, optFns ...func(*Options)) (*GetServiceNetworkOutput, error)
Retrieves information about the specified service network.
func (*Client) GetServiceNetworkResourceAssociation ¶ added in v1.13.0
func (c *Client) GetServiceNetworkResourceAssociation(ctx context.Context, params *GetServiceNetworkResourceAssociationInput, optFns ...func(*Options)) (*GetServiceNetworkResourceAssociationOutput, error)
Retrieves information about the specified association between a service network and a resource configuration.
func (*Client) GetServiceNetworkServiceAssociation ¶
func (c *Client) GetServiceNetworkServiceAssociation(ctx context.Context, params *GetServiceNetworkServiceAssociationInput, optFns ...func(*Options)) (*GetServiceNetworkServiceAssociationOutput, error)
Retrieves information about the specified association between a service network and a service.
func (*Client) GetServiceNetworkVpcAssociation ¶
func (c *Client) GetServiceNetworkVpcAssociation(ctx context.Context, params *GetServiceNetworkVpcAssociationInput, optFns ...func(*Options)) (*GetServiceNetworkVpcAssociationOutput, error)
Retrieves information about the specified association between a service network and a VPC.
func (*Client) GetTargetGroup ¶
func (c *Client) GetTargetGroup(ctx context.Context, params *GetTargetGroupInput, optFns ...func(*Options)) (*GetTargetGroupOutput, error)
Retrieves information about the specified target group.
func (*Client) ListAccessLogSubscriptions ¶
func (c *Client) ListAccessLogSubscriptions(ctx context.Context, params *ListAccessLogSubscriptionsInput, optFns ...func(*Options)) (*ListAccessLogSubscriptionsOutput, error)
Lists the access log subscriptions for the specified service network or service.
func (*Client) ListListeners ¶
func (c *Client) ListListeners(ctx context.Context, params *ListListenersInput, optFns ...func(*Options)) (*ListListenersOutput, error)
Lists the listeners for the specified service.
func (*Client) ListResourceConfigurations ¶ added in v1.13.0
func (c *Client) ListResourceConfigurations(ctx context.Context, params *ListResourceConfigurationsInput, optFns ...func(*Options)) (*ListResourceConfigurationsOutput, error)
Lists the resource configurations owned by or shared with this account.
func (*Client) ListResourceEndpointAssociations ¶ added in v1.13.0
func (c *Client) ListResourceEndpointAssociations(ctx context.Context, params *ListResourceEndpointAssociationsInput, optFns ...func(*Options)) (*ListResourceEndpointAssociationsOutput, error)
Lists the associations for the specified VPC endpoint.
func (*Client) ListResourceGateways ¶ added in v1.13.0
func (c *Client) ListResourceGateways(ctx context.Context, params *ListResourceGatewaysInput, optFns ...func(*Options)) (*ListResourceGatewaysOutput, error)
Lists the resource gateways that you own or that were shared with you.
func (*Client) ListRules ¶
func (c *Client) ListRules(ctx context.Context, params *ListRulesInput, optFns ...func(*Options)) (*ListRulesOutput, error)
Lists the rules for the specified listener.
func (*Client) ListServiceNetworkResourceAssociations ¶ added in v1.13.0
func (c *Client) ListServiceNetworkResourceAssociations(ctx context.Context, params *ListServiceNetworkResourceAssociationsInput, optFns ...func(*Options)) (*ListServiceNetworkResourceAssociationsOutput, error)
Lists the associations between a service network and a resource configuration.
func (*Client) ListServiceNetworkServiceAssociations ¶
func (c *Client) ListServiceNetworkServiceAssociations(ctx context.Context, params *ListServiceNetworkServiceAssociationsInput, optFns ...func(*Options)) (*ListServiceNetworkServiceAssociationsOutput, error)
Lists the associations between a service network and a service. You can filter the list either by service or service network. You must provide either the service network identifier or the service identifier.
Every association in Amazon VPC Lattice has a unique Amazon Resource Name (ARN), such as when a service network is associated with a VPC or when a service is associated with a service network. If the association is for a resource is shared with another account, the association includes the local account ID as the prefix in the ARN.
func (*Client) ListServiceNetworkVpcAssociations ¶
func (c *Client) ListServiceNetworkVpcAssociations(ctx context.Context, params *ListServiceNetworkVpcAssociationsInput, optFns ...func(*Options)) (*ListServiceNetworkVpcAssociationsOutput, error)
Lists the associations between a service network and a VPC. You can filter the list either by VPC or service network. You must provide either the ID of the service network identifier or the ID of the VPC.
func (*Client) ListServiceNetworkVpcEndpointAssociations ¶ added in v1.13.0
func (c *Client) ListServiceNetworkVpcEndpointAssociations(ctx context.Context, params *ListServiceNetworkVpcEndpointAssociationsInput, optFns ...func(*Options)) (*ListServiceNetworkVpcEndpointAssociationsOutput, error)
Lists the associations between a service network and a VPC endpoint.
func (*Client) ListServiceNetworks ¶
func (c *Client) ListServiceNetworks(ctx context.Context, params *ListServiceNetworksInput, optFns ...func(*Options)) (*ListServiceNetworksOutput, error)
Lists the service networks owned by or shared with this account. The account ID in the ARN shows which account owns the service network.
func (*Client) ListServices ¶
func (c *Client) ListServices(ctx context.Context, params *ListServicesInput, optFns ...func(*Options)) (*ListServicesOutput, error)
Lists the services owned by the caller account or shared with the caller account.
func (*Client) ListTagsForResource ¶
func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
Lists the tags for the specified resource.
func (*Client) ListTargetGroups ¶
func (c *Client) ListTargetGroups(ctx context.Context, params *ListTargetGroupsInput, optFns ...func(*Options)) (*ListTargetGroupsOutput, error)
Lists your target groups. You can narrow your search by using the filters below in your request.
func (*Client) ListTargets ¶
func (c *Client) ListTargets(ctx context.Context, params *ListTargetsInput, optFns ...func(*Options)) (*ListTargetsOutput, error)
Lists the targets for the target group. By default, all targets are included. You can use this API to check the health status of targets. You can also filter the results by target.
func (*Client) Options ¶ added in v1.5.0
Options returns a copy of the client configuration.
Callers SHOULD NOT perform mutations on any inner structures within client config. Config overrides should instead be made on a per-operation basis through functional options.
func (*Client) PutAuthPolicy ¶
func (c *Client) PutAuthPolicy(ctx context.Context, params *PutAuthPolicyInput, optFns ...func(*Options)) (*PutAuthPolicyOutput, error)
Creates or updates the auth policy. The policy string in JSON must not contain newlines or blank lines.
For more information, see Auth policies in the Amazon VPC Lattice User Guide.
func (*Client) PutResourcePolicy ¶
func (c *Client) PutResourcePolicy(ctx context.Context, params *PutResourcePolicyInput, optFns ...func(*Options)) (*PutResourcePolicyOutput, error)
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.
func (*Client) RegisterTargets ¶
func (c *Client) RegisterTargets(ctx context.Context, params *RegisterTargetsInput, optFns ...func(*Options)) (*RegisterTargetsOutput, error)
Registers the targets with the target group. If it's a Lambda target, you can only have one target in a target group.
func (*Client) TagResource ¶
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
Adds the specified tags to the specified resource.
func (*Client) UntagResource ¶
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
Removes the specified tags from the specified resource.
func (*Client) UpdateAccessLogSubscription ¶
func (c *Client) UpdateAccessLogSubscription(ctx context.Context, params *UpdateAccessLogSubscriptionInput, optFns ...func(*Options)) (*UpdateAccessLogSubscriptionOutput, error)
Updates the specified access log subscription.
func (*Client) UpdateListener ¶
func (c *Client) UpdateListener(ctx context.Context, params *UpdateListenerInput, optFns ...func(*Options)) (*UpdateListenerOutput, error)
Updates the specified listener for the specified service.
func (*Client) UpdateResourceConfiguration ¶ added in v1.13.0
func (c *Client) UpdateResourceConfiguration(ctx context.Context, params *UpdateResourceConfigurationInput, optFns ...func(*Options)) (*UpdateResourceConfigurationOutput, error)
Updates the specified resource configuration.
func (*Client) UpdateResourceGateway ¶ added in v1.13.0
func (c *Client) UpdateResourceGateway(ctx context.Context, params *UpdateResourceGatewayInput, optFns ...func(*Options)) (*UpdateResourceGatewayOutput, error)
Updates the specified resource gateway.
func (*Client) UpdateRule ¶
func (c *Client) UpdateRule(ctx context.Context, params *UpdateRuleInput, optFns ...func(*Options)) (*UpdateRuleOutput, error)
Updates a specified rule for the listener. You can't modify a default listener rule. To modify a default listener rule, use UpdateListener .
func (*Client) UpdateService ¶
func (c *Client) UpdateService(ctx context.Context, params *UpdateServiceInput, optFns ...func(*Options)) (*UpdateServiceOutput, error)
Updates the specified service.
func (*Client) UpdateServiceNetwork ¶
func (c *Client) UpdateServiceNetwork(ctx context.Context, params *UpdateServiceNetworkInput, optFns ...func(*Options)) (*UpdateServiceNetworkOutput, error)
Updates the specified service network.
func (*Client) UpdateServiceNetworkVpcAssociation ¶
func (c *Client) UpdateServiceNetworkVpcAssociation(ctx context.Context, params *UpdateServiceNetworkVpcAssociationInput, optFns ...func(*Options)) (*UpdateServiceNetworkVpcAssociationOutput, error)
Updates the service network and VPC association. If you add a security group to the service network and VPC association, the association must continue to have at least one security group. You can add or edit security groups at any time. However, to remove all security groups, you must first delete the association and then recreate it without security groups.
func (*Client) UpdateTargetGroup ¶
func (c *Client) UpdateTargetGroup(ctx context.Context, params *UpdateTargetGroupInput, optFns ...func(*Options)) (*UpdateTargetGroupOutput, error)
Updates the specified target group.
type CreateAccessLogSubscriptionInput ¶
type CreateAccessLogSubscriptionInput struct { // 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. // // This member is required. DestinationArn *string // The ID or ARN of the service network or service. // // This member is required. ResourceIdentifier *string // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. If you retry a request that completed successfully using the // same client token and parameters, the retry succeeds without performing any // actions. If the parameters aren't identical, the retry fails. ClientToken *string // The type of log that monitors your Amazon VPC Lattice service networks. ServiceNetworkLogType types.ServiceNetworkLogType // The tags for the access log subscription. Tags map[string]string // contains filtered or unexported fields }
type CreateAccessLogSubscriptionOutput ¶
type CreateAccessLogSubscriptionOutput struct { // The Amazon Resource Name (ARN) of the access log subscription. // // This member is required. Arn *string // The Amazon Resource Name (ARN) of the log destination. // // This member is required. DestinationArn *string // The ID of the access log subscription. // // This member is required. Id *string // The Amazon Resource Name (ARN) of the service network or service. // // This member is required. ResourceArn *string // The ID of the service network or service. // // This member is required. ResourceId *string // The type of log that monitors your Amazon VPC Lattice service networks. ServiceNetworkLogType types.ServiceNetworkLogType // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateListenerInput ¶
type CreateListenerInput struct { // The action for the default rule. Each listener has a default rule. The default // rule is used if no other rules match. // // This member is required. DefaultAction types.RuleAction // 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. // // This member is required. Name *string // The listener protocol. // // This member is required. Protocol types.ListenerProtocol // The ID or ARN of the service. // // This member is required. ServiceIdentifier *string // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. If you retry a request that completed successfully using the // same client token and parameters, the retry succeeds without performing any // actions. If the parameters aren't identical, the retry fails. ClientToken *string // The listener port. You can specify a value from 1 to 65535. For HTTP, the // default is 80. For HTTPS, the default is 443. Port *int32 // The tags for the listener. Tags map[string]string // contains filtered or unexported fields }
type CreateListenerOutput ¶
type CreateListenerOutput struct { // The Amazon Resource Name (ARN) of the listener. Arn *string // The action for the default rule. DefaultAction types.RuleAction // The ID of the listener. Id *string // The name of the listener. Name *string // The port number of the listener. Port *int32 // The protocol of the listener. Protocol types.ListenerProtocol // The Amazon Resource Name (ARN) of the service. ServiceArn *string // The ID of the service. ServiceId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateResourceConfigurationInput ¶ added in v1.13.0
type CreateResourceConfigurationInput struct { // The name of the resource configuration. The name must be unique within the // account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a // hyphen as the first or last character, or immediately after another hyphen. // // This member is required. Name *string // The type of resource configuration. // // - SINGLE - A single resource. // // - GROUP - A group of resources. You must create a group resource configuration // before you create a child resource configuration. // // - CHILD - A single resource that is part of a group resource configuration. // // - ARN - An Amazon Web Services resource. // // This member is required. Type types.ResourceConfigurationType // associated with a sharable service network. The default is false. AllowAssociationToShareableServiceNetwork *bool // 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. ClientToken *string // (SINGLE, GROUP, CHILD) The TCP port ranges that a consumer can use to access a // resource configuration (for example: 1-65535). You can separate port ranges // using commas (for example: 1,2,22-30). PortRanges []string // (SINGLE, GROUP) The protocol accepted by the resource configuration. Protocol types.ProtocolType // (SINGLE, CHILD, ARN) The resource configuration. ResourceConfigurationDefinition types.ResourceConfigurationDefinition // (CHILD) The ID or ARN of the parent resource configuration (type is GROUP ). // This is used to associate a child resource configuration with a group resource // configuration. ResourceConfigurationGroupIdentifier *string // (SINGLE, GROUP, ARN) The ID or ARN of the resource gateway used to connect to // the resource configuration. For a child resource configuration, this value is // inherited from the parent resource configuration. ResourceGatewayIdentifier *string // The tags for the resource configuration. Tags map[string]string // contains filtered or unexported fields }
type CreateResourceConfigurationOutput ¶ added in v1.13.0
type CreateResourceConfigurationOutput struct { // service network. AllowAssociationToShareableServiceNetwork *bool // The Amazon Resource Name (ARN) of the resource configuration. Arn *string // The date and time that the resource configuration was created, in ISO-8601 // format. CreatedAt *time.Time // The reason that the request failed. FailureReason *string // The ID of the resource configuration. Id *string // The name of the resource configuration. Name *string // The port range. PortRanges []string // The protocol. Protocol types.ProtocolType // The resource configuration. ResourceConfigurationDefinition types.ResourceConfigurationDefinition // The ID of the parent resource configuration (type is GROUP). ResourceConfigurationGroupId *string // The ID of the resource gateway associated with the resource configuration. ResourceGatewayId *string // The current status of the resource configuration. Status types.ResourceConfigurationStatus // The type of resource configuration. Type types.ResourceConfigurationType // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateResourceGatewayInput ¶ added in v1.13.0
type CreateResourceGatewayInput struct { // The name of the resource gateway. // // This member is required. Name *string // The IDs of the VPC subnets in which to create the resource gateway. // // This member is required. SubnetIds []string // The ID of the VPC for the resource gateway. // // This member is required. VpcIdentifier *string // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. If you retry a request that completed successfully using the // same client token and parameters, the retry succeeds without performing any // actions. If the parameters aren't identical, the retry fails. ClientToken *string // The type of IP address used by the resource gateway. IpAddressType types.ResourceGatewayIpAddressType // The IDs of the security groups to apply to the resource gateway. The security // groups must be in the same VPC. SecurityGroupIds []string // The tags for the resource gateway. Tags map[string]string // contains filtered or unexported fields }
type CreateResourceGatewayOutput ¶ added in v1.13.0
type CreateResourceGatewayOutput struct { // The Amazon Resource Name (ARN) of the resource gateway. Arn *string // The ID of the resource gateway. Id *string // The type of IP address for the resource gateway. IpAddressType types.ResourceGatewayIpAddressType // The name of the resource gateway. Name *string // The IDs of the security groups for the resource gateway. SecurityGroupIds []string // The status of the resource gateway. Status types.ResourceGatewayStatus // The IDs of the resource gateway subnets. SubnetIds []string // The ID of the VPC. VpcIdentifier *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateRuleInput ¶
type CreateRuleInput struct { // The action for the default rule. // // This member is required. Action types.RuleAction // The ID or ARN of the listener. // // This member is required. ListenerIdentifier *string // The rule match. // // This member is required. Match types.RuleMatch // 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. // // This member is required. Name *string // 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. // // This member is required. Priority *int32 // The ID or ARN of the service. // // This member is required. ServiceIdentifier *string // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. If you retry a request that completed successfully using the // same client token and parameters, the retry succeeds without performing any // actions. If the parameters aren't identical, the retry fails. ClientToken *string // The tags for the rule. Tags map[string]string // contains filtered or unexported fields }
type CreateRuleOutput ¶
type CreateRuleOutput struct { // The rule action. Action types.RuleAction // The Amazon Resource Name (ARN) of the rule. Arn *string // The ID of the rule. Id *string // 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. Match types.RuleMatch // The name of the rule. Name *string // The priority assigned to the rule. The lower the priority number the higher the // priority. Priority *int32 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateServiceInput ¶
type CreateServiceInput struct { // 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. // // This member is required. Name *string // The type of IAM policy. // // - NONE : The resource does not use an IAM policy. This is the default. // // - AWS_IAM : The resource uses an IAM policy. When this type is used, auth is // enabled and an auth policy is required. AuthType types.AuthType // The Amazon Resource Name (ARN) of the certificate. CertificateArn *string // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. If you retry a request that completed successfully using the // same client token and parameters, the retry succeeds without performing any // actions. If the parameters aren't identical, the retry fails. ClientToken *string // The custom domain name of the service. CustomDomainName *string // The tags for the service. Tags map[string]string // contains filtered or unexported fields }
type CreateServiceNetworkInput ¶
type CreateServiceNetworkInput struct { // 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. // // This member is required. Name *string // The type of IAM policy. // // - NONE : The resource does not use an IAM policy. This is the default. // // - AWS_IAM : The resource uses an IAM policy. When this type is used, auth is // enabled and an auth policy is required. AuthType types.AuthType // 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. ClientToken *string // Specify if the service network should be enabled for sharing. SharingConfig *types.SharingConfig // The tags for the service network. Tags map[string]string // contains filtered or unexported fields }
type CreateServiceNetworkOutput ¶
type CreateServiceNetworkOutput struct { // The Amazon Resource Name (ARN) of the service network. Arn *string // The type of IAM policy. AuthType types.AuthType // The ID of the service network. Id *string // The name of the service network. Name *string // Specifies if the service network is enabled for sharing. SharingConfig *types.SharingConfig // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateServiceNetworkResourceAssociationInput ¶ added in v1.13.0
type CreateServiceNetworkResourceAssociationInput struct { // The ID of the resource configuration to associate with the service network. // // This member is required. ResourceConfigurationIdentifier *string // The ID of the service network to associate with the resource configuration. // // This member is required. ServiceNetworkIdentifier *string // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. If you retry a request that completed successfully using the // same client token and parameters, the retry succeeds without performing any // actions. If the parameters aren't identical, the retry fails. ClientToken *string // The tags for the association. Tags map[string]string // contains filtered or unexported fields }
type CreateServiceNetworkResourceAssociationOutput ¶ added in v1.13.0
type CreateServiceNetworkResourceAssociationOutput struct { // The Amazon Resource Name (ARN) of the association. Arn *string // The ID of the account that created the association. CreatedBy *string // The ID of the association. Id *string // The status of the association. Status types.ServiceNetworkResourceAssociationStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateServiceNetworkServiceAssociationInput ¶
type CreateServiceNetworkServiceAssociationInput struct { // The ID or ARN of the service. // // This member is required. ServiceIdentifier *string // The ID or ARN of the service network. You must use an ARN if the resources are // in different accounts. // // This member is required. ServiceNetworkIdentifier *string // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. If you retry a request that completed successfully using the // same client token and parameters, the retry succeeds without performing any // actions. If the parameters aren't identical, the retry fails. ClientToken *string // The tags for the association. Tags map[string]string // contains filtered or unexported fields }
type CreateServiceNetworkServiceAssociationOutput ¶
type CreateServiceNetworkServiceAssociationOutput struct { // The Amazon Resource Name (ARN) of the association. Arn *string // The account that created the association. CreatedBy *string // The custom domain name of the service. CustomDomainName *string // The DNS name of the service. DnsEntry *types.DnsEntry // The ID of the association. Id *string // The association status. Status types.ServiceNetworkServiceAssociationStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateServiceNetworkVpcAssociationInput ¶
type CreateServiceNetworkVpcAssociationInput struct { // The ID or ARN of the service network. You must use an ARN if the resources are // in different accounts. // // This member is required. ServiceNetworkIdentifier *string // The ID of the VPC. // // This member is required. VpcIdentifier *string // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. If you retry a request that completed successfully using the // same client token and parameters, the retry succeeds without performing any // actions. If the parameters aren't identical, the retry fails. ClientToken *string // 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. // // [Control traffic to resources using security groups]: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html SecurityGroupIds []string // The tags for the association. Tags map[string]string // contains filtered or unexported fields }
type CreateServiceNetworkVpcAssociationOutput ¶
type CreateServiceNetworkVpcAssociationOutput struct { // The Amazon Resource Name (ARN) of the association. Arn *string // The account that created the association. CreatedBy *string // The ID of the association. Id *string // The IDs of the security groups. SecurityGroupIds []string // The association status. Status types.ServiceNetworkVpcAssociationStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateServiceOutput ¶
type CreateServiceOutput struct { // The Amazon Resource Name (ARN) of the service. Arn *string // The type of IAM policy. AuthType types.AuthType // The Amazon Resource Name (ARN) of the certificate. CertificateArn *string // The custom domain name of the service. CustomDomainName *string // The public DNS name of the service. DnsEntry *types.DnsEntry // The ID of the service. Id *string // The name of the service. Name *string // The status. If the status is CREATE_FAILED , you must delete and recreate the // service. Status types.ServiceStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateTargetGroupInput ¶
type CreateTargetGroupInput struct { // 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. // // This member is required. Name *string // The type of target group. // // This member is required. Type types.TargetGroupType // 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. ClientToken *string // The target group configuration. Config *types.TargetGroupConfig // The tags for the target group. Tags map[string]string // contains filtered or unexported fields }
type CreateTargetGroupOutput ¶
type CreateTargetGroupOutput struct { // The Amazon Resource Name (ARN) of the target group. Arn *string // The target group configuration. Config *types.TargetGroupConfig // The ID of the target group. Id *string // The name of the target group. Name *string // The 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. Status types.TargetGroupStatus // The type of target group. Type types.TargetGroupType // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteAccessLogSubscriptionInput ¶
type DeleteAccessLogSubscriptionInput struct { // The ID or ARN of the access log subscription. // // This member is required. AccessLogSubscriptionIdentifier *string // contains filtered or unexported fields }
type DeleteAccessLogSubscriptionOutput ¶
type DeleteAccessLogSubscriptionOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteAuthPolicyInput ¶
type DeleteAuthPolicyInput struct { // The ID or ARN of the resource. // // This member is required. ResourceIdentifier *string // contains filtered or unexported fields }
type DeleteAuthPolicyOutput ¶
type DeleteAuthPolicyOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteListenerInput ¶
type DeleteListenerOutput ¶
type DeleteListenerOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteResourceConfigurationInput ¶ added in v1.13.0
type DeleteResourceConfigurationInput struct { // The ID or ARN of the resource configuration. // // This member is required. ResourceConfigurationIdentifier *string // contains filtered or unexported fields }
type DeleteResourceConfigurationOutput ¶ added in v1.13.0
type DeleteResourceConfigurationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteResourceEndpointAssociationInput ¶ added in v1.13.0
type DeleteResourceEndpointAssociationInput struct { // The ID or ARN of the association. // // This member is required. ResourceEndpointAssociationIdentifier *string // contains filtered or unexported fields }
type DeleteResourceEndpointAssociationOutput ¶ added in v1.13.0
type DeleteResourceEndpointAssociationOutput struct { // The Amazon Resource Name (ARN) of the association. Arn *string // The ID of the association. Id *string // The Amazon Resource Name (ARN) of the resource configuration associated with // the VPC endpoint of type resource. ResourceConfigurationArn *string // The ID of the resource configuration. ResourceConfigurationId *string // The ID of the resource VPC endpoint that is associated with the resource // configuration. VpcEndpointId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteResourceGatewayInput ¶ added in v1.13.0
type DeleteResourceGatewayInput struct { // The ID or ARN of the resource gateway. // // This member is required. ResourceGatewayIdentifier *string // contains filtered or unexported fields }
type DeleteResourceGatewayOutput ¶ added in v1.13.0
type DeleteResourceGatewayOutput struct { // The Amazon Resource Name (ARN) of the resource gateway. Arn *string // The ID of the resource gateway. Id *string // The name of the resource gateway. Name *string // The status of the resource gateway. Status types.ResourceGatewayStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteResourcePolicyInput ¶
type DeleteResourcePolicyInput struct { // The Amazon Resource Name (ARN) of the resource. // // This member is required. ResourceArn *string // contains filtered or unexported fields }
type DeleteResourcePolicyOutput ¶
type DeleteResourcePolicyOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteRuleInput ¶
type DeleteRuleInput struct { // The ID or ARN of the listener. // // This member is required. ListenerIdentifier *string // The ID or ARN of the rule. // // This member is required. RuleIdentifier *string // The ID or ARN of the service. // // This member is required. ServiceIdentifier *string // contains filtered or unexported fields }
type DeleteRuleOutput ¶
type DeleteRuleOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteServiceInput ¶
type DeleteServiceInput struct { // The ID or ARN of the service. // // This member is required. ServiceIdentifier *string // contains filtered or unexported fields }
type DeleteServiceNetworkInput ¶
type DeleteServiceNetworkInput struct { // The ID or ARN of the service network. // // This member is required. ServiceNetworkIdentifier *string // contains filtered or unexported fields }
type DeleteServiceNetworkOutput ¶
type DeleteServiceNetworkOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteServiceNetworkResourceAssociationInput ¶ added in v1.13.0
type DeleteServiceNetworkResourceAssociationInput struct { // The ID of the association. // // This member is required. ServiceNetworkResourceAssociationIdentifier *string // contains filtered or unexported fields }
type DeleteServiceNetworkResourceAssociationOutput ¶ added in v1.13.0
type DeleteServiceNetworkResourceAssociationOutput struct { // The Amazon Resource Name (ARN) of the association. Arn *string // The ID of the association. Id *string // The status of the association. Status types.ServiceNetworkResourceAssociationStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteServiceNetworkServiceAssociationInput ¶
type DeleteServiceNetworkServiceAssociationInput struct { // The ID or ARN of the association. // // This member is required. ServiceNetworkServiceAssociationIdentifier *string // contains filtered or unexported fields }
type DeleteServiceNetworkServiceAssociationOutput ¶
type DeleteServiceNetworkServiceAssociationOutput struct { // The Amazon Resource Name (ARN) of the association. Arn *string // The ID of the association. Id *string // 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. Status types.ServiceNetworkServiceAssociationStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteServiceNetworkVpcAssociationInput ¶
type DeleteServiceNetworkVpcAssociationInput struct { // The ID or ARN of the association. // // This member is required. ServiceNetworkVpcAssociationIdentifier *string // contains filtered or unexported fields }
type DeleteServiceNetworkVpcAssociationOutput ¶
type DeleteServiceNetworkVpcAssociationOutput struct { // The Amazon Resource Name (ARN) of the association. Arn *string // The ID of the association. Id *string // 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. Status types.ServiceNetworkVpcAssociationStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteServiceOutput ¶
type DeleteServiceOutput struct { // The Amazon Resource Name (ARN) of the service. Arn *string // The ID of the service. Id *string // The name of the service. Name *string // 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. Status types.ServiceStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteTargetGroupInput ¶
type DeleteTargetGroupInput struct { // The ID or ARN of the target group. // // This member is required. TargetGroupIdentifier *string // contains filtered or unexported fields }
type DeleteTargetGroupOutput ¶
type DeleteTargetGroupOutput struct { // The Amazon Resource Name (ARN) of the target group. Arn *string // The ID of the target group. Id *string // 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. Status types.TargetGroupStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeregisterTargetsInput ¶
type DeregisterTargetsOutput ¶
type DeregisterTargetsOutput struct { // The targets that were successfully deregistered. Successful []types.Target // The targets that the operation couldn't deregister. Unsuccessful []types.TargetFailure // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type EndpointParameters ¶ added in v1.1.0
type EndpointParameters struct { // The AWS region used to dispatch the request. // // Parameter is // required. // // AWS::Region Region *string // When true, use the dual-stack endpoint. If the configured endpoint does not // support dual-stack, dispatching the request MAY return an error. // // Defaults to // false if no value is provided. // // AWS::UseDualStack UseDualStack *bool // When true, send this request to the FIPS-compliant regional endpoint. If the // configured endpoint does not have a FIPS compliant endpoint, dispatching the // request will return an error. // // Defaults to false if no value is // provided. // // AWS::UseFIPS UseFIPS *bool // Override the endpoint used to send this request // // Parameter is // required. // // SDK::Endpoint Endpoint *string }
EndpointParameters provides the parameters that influence how endpoints are resolved.
func (EndpointParameters) ValidateRequired ¶ added in v1.1.0
func (p EndpointParameters) ValidateRequired() error
ValidateRequired validates required parameters are set.
func (EndpointParameters) WithDefaults ¶ added in v1.1.0
func (p EndpointParameters) WithDefaults() EndpointParameters
WithDefaults returns a shallow copy of EndpointParameterswith default values applied to members where applicable.
type EndpointResolver ¶
type EndpointResolver interface {
ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type EndpointResolverV2 ¶ added in v1.1.0
type EndpointResolverV2 interface { // ResolveEndpoint attempts to resolve the endpoint with the provided options, // returning the endpoint if found. Otherwise an error is returned. ResolveEndpoint(ctx context.Context, params EndpointParameters) ( smithyendpoints.Endpoint, error, ) }
EndpointResolverV2 provides the interface for resolving service endpoints.
func NewDefaultEndpointResolverV2 ¶ added in v1.1.0
func NewDefaultEndpointResolverV2() EndpointResolverV2
type GetAccessLogSubscriptionInput ¶
type GetAccessLogSubscriptionInput struct { // The ID or ARN of the access log subscription. // // This member is required. AccessLogSubscriptionIdentifier *string // contains filtered or unexported fields }
type GetAccessLogSubscriptionOutput ¶
type GetAccessLogSubscriptionOutput struct { // The Amazon Resource Name (ARN) of the access log subscription. // // This member is required. Arn *string // The date and time that the access log subscription was created, in ISO-8601 // format. // // This member is required. CreatedAt *time.Time // The Amazon Resource Name (ARN) of the access log destination. // // This member is required. DestinationArn *string // The ID of the access log subscription. // // This member is required. Id *string // The date and time that the access log subscription was last updated, in // ISO-8601 format. // // This member is required. LastUpdatedAt *time.Time // The Amazon Resource Name (ARN) of the service network or service. // // This member is required. ResourceArn *string // The ID of the service network or service. // // This member is required. ResourceId *string // The log type for the service network. ServiceNetworkLogType types.ServiceNetworkLogType // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetAuthPolicyInput ¶
type GetAuthPolicyInput struct { // The ID or ARN of the service network or service. // // This member is required. ResourceIdentifier *string // contains filtered or unexported fields }
type GetAuthPolicyOutput ¶
type GetAuthPolicyOutput struct { // The date and time that the auth policy was created, in ISO-8601 format. CreatedAt *time.Time // The date and time that the auth policy was last updated, in ISO-8601 format. LastUpdatedAt *time.Time // The auth policy. Policy *string // The state of the auth policy. The auth policy is only active when the auth type // is set to AWS_IAM . If you provide a policy, then authentication and // authorization decisions are made based on this policy and the client's IAM // policy. If the auth type is NONE , then any auth policy that you provide remains // inactive. For more information, see [Create a service network]in the Amazon VPC Lattice User Guide. // // [Create a service network]: https://docs.aws.amazon.com/vpc-lattice/latest/ug/service-networks.html#create-service-network State types.AuthPolicyState // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetListenerInput ¶
type GetListenerOutput ¶
type GetListenerOutput struct { // The Amazon Resource Name (ARN) of the listener. Arn *string // The date and time that the listener was created, in ISO-8601 format. CreatedAt *time.Time // The actions for the default listener rule. DefaultAction types.RuleAction // The ID of the listener. Id *string // The date and time that the listener was last updated, in ISO-8601 format. LastUpdatedAt *time.Time // The name of the listener. Name *string // The listener port. Port *int32 // The listener protocol. Protocol types.ListenerProtocol // The Amazon Resource Name (ARN) of the service. ServiceArn *string // The ID of the service. ServiceId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetResourceConfigurationInput ¶ added in v1.13.0
type GetResourceConfigurationInput struct { // The ID of the resource configuration. // // This member is required. ResourceConfigurationIdentifier *string // contains filtered or unexported fields }
type GetResourceConfigurationOutput ¶ added in v1.13.0
type GetResourceConfigurationOutput struct { // service network. AllowAssociationToShareableServiceNetwork *bool // Indicates whether the resource configuration was created and is managed by // Amazon. AmazonManaged *bool // The Amazon Resource Name (ARN) of the resource configuration. Arn *string // The date and time that the resource configuration was created, in ISO-8601 // format. CreatedAt *time.Time // The custom domain name of the resource configuration. CustomDomainName *string // The reason the create-resource-configuration request failed. FailureReason *string // The ID of the resource configuration. Id *string // The most recent date and time that the resource configuration was updated, in // ISO-8601 format. LastUpdatedAt *time.Time // The name of the resource configuration. Name *string // The TCP port ranges that a consumer can use to access a resource configuration. // You can separate port ranges with a comma. Example: 1-65535 or 1,2,22-30 PortRanges []string // The TCP protocol accepted by the specified resource configuration. Protocol types.ProtocolType // The resource configuration. ResourceConfigurationDefinition types.ResourceConfigurationDefinition // The ID of the group resource configuration. ResourceConfigurationGroupId *string // The ID of the resource gateway used to connect to the resource configuration in // a given VPC. You can specify the resource gateway identifier only for resource // configurations with type SINGLE, GROUP, or ARN. ResourceGatewayId *string // The status of the resource configuration. Status types.ResourceConfigurationStatus // The type of resource configuration. // // - SINGLE - A single resource. // // - GROUP - A group of resources. // // - CHILD - A single resource that is part of a group resource configuration. // // - ARN - An Amazon Web Services resource. Type types.ResourceConfigurationType // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetResourceGatewayInput ¶ added in v1.13.0
type GetResourceGatewayInput struct { // The ID of the resource gateway. // // This member is required. ResourceGatewayIdentifier *string // contains filtered or unexported fields }
type GetResourceGatewayOutput ¶ added in v1.13.0
type GetResourceGatewayOutput struct { // The Amazon Resource Name (ARN) of the resource gateway. Arn *string // The date and time that the resource gateway was created, in ISO-8601 format. CreatedAt *time.Time // The ID of the resource gateway. Id *string // The type of IP address for the resource gateway. IpAddressType types.ResourceGatewayIpAddressType // The date and time that the resource gateway was last updated, in ISO-8601 // format. LastUpdatedAt *time.Time // The name of the resource gateway. Name *string // The security group IDs associated with the resource gateway. SecurityGroupIds []string // The status for the resource gateway. Status types.ResourceGatewayStatus // The IDs of the VPC subnets for resource gateway. SubnetIds []string // The ID of the VPC for the resource gateway. VpcId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetResourcePolicyInput ¶
type GetResourcePolicyInput struct { // The Amazon Resource Name (ARN) of the service network or service. // // This member is required. ResourceArn *string // contains filtered or unexported fields }
type GetResourcePolicyOutput ¶
type GetResourcePolicyOutput struct { // An IAM policy. Policy *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetRuleInput ¶
type GetRuleInput struct { // The ID or ARN of the listener. // // This member is required. ListenerIdentifier *string // The ID or ARN of the listener rule. // // This member is required. RuleIdentifier *string // The ID or ARN of the service. // // This member is required. ServiceIdentifier *string // contains filtered or unexported fields }
type GetRuleOutput ¶
type GetRuleOutput struct { // The action for the default rule. Action types.RuleAction // The Amazon Resource Name (ARN) of the listener. Arn *string // The date and time that the listener rule was created, in ISO-8601 format. CreatedAt *time.Time // The ID of the listener. Id *string // Indicates whether this is the default rule. IsDefault *bool // The date and time that the listener rule was last updated, in ISO-8601 format. LastUpdatedAt *time.Time // The rule match. Match types.RuleMatch // The name of the listener. Name *string // The priority level for the specified rule. Priority *int32 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetServiceInput ¶
type GetServiceInput struct { // The ID or ARN of the service. // // This member is required. ServiceIdentifier *string // contains filtered or unexported fields }
type GetServiceNetworkInput ¶
type GetServiceNetworkInput struct { // The ID or ARN of the service network. // // This member is required. ServiceNetworkIdentifier *string // contains filtered or unexported fields }
type GetServiceNetworkOutput ¶
type GetServiceNetworkOutput struct { // The Amazon Resource Name (ARN) of the service network. Arn *string // The type of IAM policy. AuthType types.AuthType // The date and time that the service network was created, in ISO-8601 format. CreatedAt *time.Time // The ID of the service network. Id *string // The date and time of the last update, in ISO-8601 format. LastUpdatedAt *time.Time // The name of the service network. Name *string // The number of services associated with the service network. NumberOfAssociatedServices *int64 // The number of VPCs associated with the service network. NumberOfAssociatedVPCs *int64 // Specifies if the service network is enabled for sharing. SharingConfig *types.SharingConfig // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetServiceNetworkResourceAssociationInput ¶ added in v1.13.0
type GetServiceNetworkResourceAssociationInput struct { // The ID of the association. // // This member is required. ServiceNetworkResourceAssociationIdentifier *string // contains filtered or unexported fields }
type GetServiceNetworkResourceAssociationOutput ¶ added in v1.13.0
type GetServiceNetworkResourceAssociationOutput struct { // The Amazon Resource Name (ARN) of the association. Arn *string // The date and time that the association was created, in ISO-8601 format. CreatedAt *time.Time // The account that created the association. CreatedBy *string // The DNS entry for the service. DnsEntry *types.DnsEntry // The failure code. FailureCode *string // The reason the association request failed. FailureReason *string // The ID of the association. Id *string // Indicates whether the association is managed by Amazon. IsManagedAssociation *bool // The most recent date and time that the association was updated, in ISO-8601 // format. LastUpdatedAt *time.Time // The private DNS entry for the service. PrivateDnsEntry *types.DnsEntry // The Amazon Resource Name (ARN) of the association. ResourceConfigurationArn *string // The ID of the resource configuration that is associated with the service // network. ResourceConfigurationId *string // The name of the resource configuration that is associated with the service // network. ResourceConfigurationName *string // The Amazon Resource Name (ARN) of the service network that is associated with // the resource configuration. ServiceNetworkArn *string // The ID of the service network that is associated with the resource // configuration. ServiceNetworkId *string // The name of the service network that is associated with the resource // configuration. ServiceNetworkName *string // The status of the association. Status types.ServiceNetworkResourceAssociationStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetServiceNetworkServiceAssociationInput ¶
type GetServiceNetworkServiceAssociationInput struct { // The ID or ARN of the association. // // This member is required. ServiceNetworkServiceAssociationIdentifier *string // contains filtered or unexported fields }
type GetServiceNetworkServiceAssociationOutput ¶
type GetServiceNetworkServiceAssociationOutput struct { // The Amazon Resource Name (ARN) of the association. Arn *string // The date and time that the association was created, in ISO-8601 format. CreatedAt *time.Time // The account that created the association. CreatedBy *string // The custom domain name of the service. CustomDomainName *string // The DNS name of the service. DnsEntry *types.DnsEntry // The failure code. FailureCode *string // The failure message. FailureMessage *string // The ID of the service network and service association. Id *string // The Amazon Resource Name (ARN) of the service. ServiceArn *string // The ID of the service. ServiceId *string // The name of the service. ServiceName *string // The Amazon Resource Name (ARN) of the service network. ServiceNetworkArn *string // The ID of the service network. ServiceNetworkId *string // The name of the service network. ServiceNetworkName *string // The status of the association. Status types.ServiceNetworkServiceAssociationStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetServiceNetworkVpcAssociationInput ¶
type GetServiceNetworkVpcAssociationInput struct { // The ID or ARN of the association. // // This member is required. ServiceNetworkVpcAssociationIdentifier *string // contains filtered or unexported fields }
type GetServiceNetworkVpcAssociationOutput ¶
type GetServiceNetworkVpcAssociationOutput struct { // The Amazon Resource Name (ARN) of the association. Arn *string // The date and time that the association was created, in ISO-8601 format. CreatedAt *time.Time // The account that created the association. CreatedBy *string // The failure code. FailureCode *string // The failure message. FailureMessage *string // The ID of the association. Id *string // The date and time that the association was last updated, in ISO-8601 format. LastUpdatedAt *time.Time // The IDs of the security groups. SecurityGroupIds []string // The Amazon Resource Name (ARN) of the service network. ServiceNetworkArn *string // The ID of the service network. ServiceNetworkId *string // The name of the service network. ServiceNetworkName *string // The status of the association. Status types.ServiceNetworkVpcAssociationStatus // The ID of the VPC. VpcId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetServiceOutput ¶
type GetServiceOutput struct { // The Amazon Resource Name (ARN) of the service. Arn *string // The type of IAM policy. AuthType types.AuthType // The Amazon Resource Name (ARN) of the certificate. CertificateArn *string // The date and time that the service was created, in ISO-8601 format. CreatedAt *time.Time // The custom domain name of the service. CustomDomainName *string // The DNS name of the service. DnsEntry *types.DnsEntry // The failure code. FailureCode *string // The failure message. FailureMessage *string // The ID of the service. Id *string // The date and time that the service was last updated, in ISO-8601 format. LastUpdatedAt *time.Time // The name of the service. Name *string // The status of the service. Status types.ServiceStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetTargetGroupInput ¶
type GetTargetGroupInput struct { // The ID or ARN of the target group. // // This member is required. TargetGroupIdentifier *string // contains filtered or unexported fields }
type GetTargetGroupOutput ¶
type GetTargetGroupOutput struct { // The Amazon Resource Name (ARN) of the target group. Arn *string // The target group configuration. Config *types.TargetGroupConfig // The date and time that the target group was created, in ISO-8601 format. CreatedAt *time.Time // The failure code. FailureCode *string // The failure message. FailureMessage *string // The ID of the target group. Id *string // The date and time that the target group was last updated, in ISO-8601 format. LastUpdatedAt *time.Time // The name of the target group. Name *string // The Amazon Resource Names (ARNs) of the service. ServiceArns []string // The status. Status types.TargetGroupStatus // The target group type. Type types.TargetGroupType // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type HTTPSignerV4 ¶
type IdempotencyTokenProvider ¶
IdempotencyTokenProvider interface for providing idempotency token
type ListAccessLogSubscriptionsAPIClient ¶
type ListAccessLogSubscriptionsAPIClient interface {
ListAccessLogSubscriptions(context.Context, *ListAccessLogSubscriptionsInput, ...func(*Options)) (*ListAccessLogSubscriptionsOutput, error)
}
ListAccessLogSubscriptionsAPIClient is a client that implements the ListAccessLogSubscriptions operation.
type ListAccessLogSubscriptionsInput ¶
type ListAccessLogSubscriptionsInput struct { // The ID or ARN of the service network or service. // // This member is required. ResourceIdentifier *string // The maximum number of results to return. MaxResults *int32 // A pagination token for the next page of results. NextToken *string // contains filtered or unexported fields }
type ListAccessLogSubscriptionsOutput ¶
type ListAccessLogSubscriptionsOutput struct { // Information about the access log subscriptions. // // This member is required. Items []types.AccessLogSubscriptionSummary // A pagination token for the next page of results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListAccessLogSubscriptionsPaginator ¶
type ListAccessLogSubscriptionsPaginator struct {
// contains filtered or unexported fields
}
ListAccessLogSubscriptionsPaginator is a paginator for ListAccessLogSubscriptions
func NewListAccessLogSubscriptionsPaginator ¶
func NewListAccessLogSubscriptionsPaginator(client ListAccessLogSubscriptionsAPIClient, params *ListAccessLogSubscriptionsInput, optFns ...func(*ListAccessLogSubscriptionsPaginatorOptions)) *ListAccessLogSubscriptionsPaginator
NewListAccessLogSubscriptionsPaginator returns a new ListAccessLogSubscriptionsPaginator
func (*ListAccessLogSubscriptionsPaginator) HasMorePages ¶
func (p *ListAccessLogSubscriptionsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListAccessLogSubscriptionsPaginator) NextPage ¶
func (p *ListAccessLogSubscriptionsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAccessLogSubscriptionsOutput, error)
NextPage retrieves the next ListAccessLogSubscriptions page.
type ListAccessLogSubscriptionsPaginatorOptions ¶
type ListAccessLogSubscriptionsPaginatorOptions struct { // The maximum number of results to return. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListAccessLogSubscriptionsPaginatorOptions is the paginator options for ListAccessLogSubscriptions
type ListListenersAPIClient ¶
type ListListenersAPIClient interface {
ListListeners(context.Context, *ListListenersInput, ...func(*Options)) (*ListListenersOutput, error)
}
ListListenersAPIClient is a client that implements the ListListeners operation.
type ListListenersInput ¶
type ListListenersOutput ¶
type ListListenersOutput struct { // Information about the listeners. // // This member is required. Items []types.ListenerSummary // If there are additional results, a pagination token for the next page of // results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListListenersPaginator ¶
type ListListenersPaginator struct {
// contains filtered or unexported fields
}
ListListenersPaginator is a paginator for ListListeners
func NewListListenersPaginator ¶
func NewListListenersPaginator(client ListListenersAPIClient, params *ListListenersInput, optFns ...func(*ListListenersPaginatorOptions)) *ListListenersPaginator
NewListListenersPaginator returns a new ListListenersPaginator
func (*ListListenersPaginator) HasMorePages ¶
func (p *ListListenersPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListListenersPaginator) NextPage ¶
func (p *ListListenersPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListListenersOutput, error)
NextPage retrieves the next ListListeners page.
type ListListenersPaginatorOptions ¶
type ListListenersPaginatorOptions struct { // The maximum number of results to return. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListListenersPaginatorOptions is the paginator options for ListListeners
type ListResourceConfigurationsAPIClient ¶ added in v1.13.0
type ListResourceConfigurationsAPIClient interface {
ListResourceConfigurations(context.Context, *ListResourceConfigurationsInput, ...func(*Options)) (*ListResourceConfigurationsOutput, error)
}
ListResourceConfigurationsAPIClient is a client that implements the ListResourceConfigurations operation.
type ListResourceConfigurationsInput ¶ added in v1.13.0
type ListResourceConfigurationsInput struct { // The maximum page size. MaxResults *int32 // A pagination token for the next page of results. NextToken *string // The ID of the group resource configuration. ResourceConfigurationGroupIdentifier *string // The ID of the resource gateway for the resource configuration. ResourceGatewayIdentifier *string // contains filtered or unexported fields }
type ListResourceConfigurationsOutput ¶ added in v1.13.0
type ListResourceConfigurationsOutput struct { // Information about the resource configurations. Items []types.ResourceConfigurationSummary // If there are additional results, a pagination token for the next page of // results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListResourceConfigurationsPaginator ¶ added in v1.13.0
type ListResourceConfigurationsPaginator struct {
// contains filtered or unexported fields
}
ListResourceConfigurationsPaginator is a paginator for ListResourceConfigurations
func NewListResourceConfigurationsPaginator ¶ added in v1.13.0
func NewListResourceConfigurationsPaginator(client ListResourceConfigurationsAPIClient, params *ListResourceConfigurationsInput, optFns ...func(*ListResourceConfigurationsPaginatorOptions)) *ListResourceConfigurationsPaginator
NewListResourceConfigurationsPaginator returns a new ListResourceConfigurationsPaginator
func (*ListResourceConfigurationsPaginator) HasMorePages ¶ added in v1.13.0
func (p *ListResourceConfigurationsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListResourceConfigurationsPaginator) NextPage ¶ added in v1.13.0
func (p *ListResourceConfigurationsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListResourceConfigurationsOutput, error)
NextPage retrieves the next ListResourceConfigurations page.
type ListResourceConfigurationsPaginatorOptions ¶ added in v1.13.0
type ListResourceConfigurationsPaginatorOptions struct { // The maximum page size. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListResourceConfigurationsPaginatorOptions is the paginator options for ListResourceConfigurations
type ListResourceEndpointAssociationsAPIClient ¶ added in v1.13.0
type ListResourceEndpointAssociationsAPIClient interface {
ListResourceEndpointAssociations(context.Context, *ListResourceEndpointAssociationsInput, ...func(*Options)) (*ListResourceEndpointAssociationsOutput, error)
}
ListResourceEndpointAssociationsAPIClient is a client that implements the ListResourceEndpointAssociations operation.
type ListResourceEndpointAssociationsInput ¶ added in v1.13.0
type ListResourceEndpointAssociationsInput struct { // The ID for the resource configuration associated with the VPC endpoint. // // This member is required. ResourceConfigurationIdentifier *string // The maximum page size. MaxResults *int32 // A pagination token for the next page of results. NextToken *string // The ID of the association. ResourceEndpointAssociationIdentifier *string // The ID of the VPC endpoint in the association. VpcEndpointId *string // The owner of the VPC endpoint in the association. VpcEndpointOwner *string // contains filtered or unexported fields }
type ListResourceEndpointAssociationsOutput ¶ added in v1.13.0
type ListResourceEndpointAssociationsOutput struct { // Information about the VPC endpoint associations. // // This member is required. Items []types.ResourceEndpointAssociationSummary // If there are additional results, a pagination token for the next page of // results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListResourceEndpointAssociationsPaginator ¶ added in v1.13.0
type ListResourceEndpointAssociationsPaginator struct {
// contains filtered or unexported fields
}
ListResourceEndpointAssociationsPaginator is a paginator for ListResourceEndpointAssociations
func NewListResourceEndpointAssociationsPaginator ¶ added in v1.13.0
func NewListResourceEndpointAssociationsPaginator(client ListResourceEndpointAssociationsAPIClient, params *ListResourceEndpointAssociationsInput, optFns ...func(*ListResourceEndpointAssociationsPaginatorOptions)) *ListResourceEndpointAssociationsPaginator
NewListResourceEndpointAssociationsPaginator returns a new ListResourceEndpointAssociationsPaginator
func (*ListResourceEndpointAssociationsPaginator) HasMorePages ¶ added in v1.13.0
func (p *ListResourceEndpointAssociationsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListResourceEndpointAssociationsPaginator) NextPage ¶ added in v1.13.0
func (p *ListResourceEndpointAssociationsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListResourceEndpointAssociationsOutput, error)
NextPage retrieves the next ListResourceEndpointAssociations page.
type ListResourceEndpointAssociationsPaginatorOptions ¶ added in v1.13.0
type ListResourceEndpointAssociationsPaginatorOptions struct { // The maximum page size. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListResourceEndpointAssociationsPaginatorOptions is the paginator options for ListResourceEndpointAssociations
type ListResourceGatewaysAPIClient ¶ added in v1.13.0
type ListResourceGatewaysAPIClient interface {
ListResourceGateways(context.Context, *ListResourceGatewaysInput, ...func(*Options)) (*ListResourceGatewaysOutput, error)
}
ListResourceGatewaysAPIClient is a client that implements the ListResourceGateways operation.
type ListResourceGatewaysInput ¶ added in v1.13.0
type ListResourceGatewaysOutput ¶ added in v1.13.0
type ListResourceGatewaysOutput struct { // Information about the resource gateways. Items []types.ResourceGatewaySummary // If there are additional results, a pagination token for the next page of // results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListResourceGatewaysPaginator ¶ added in v1.13.0
type ListResourceGatewaysPaginator struct {
// contains filtered or unexported fields
}
ListResourceGatewaysPaginator is a paginator for ListResourceGateways
func NewListResourceGatewaysPaginator ¶ added in v1.13.0
func NewListResourceGatewaysPaginator(client ListResourceGatewaysAPIClient, params *ListResourceGatewaysInput, optFns ...func(*ListResourceGatewaysPaginatorOptions)) *ListResourceGatewaysPaginator
NewListResourceGatewaysPaginator returns a new ListResourceGatewaysPaginator
func (*ListResourceGatewaysPaginator) HasMorePages ¶ added in v1.13.0
func (p *ListResourceGatewaysPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListResourceGatewaysPaginator) NextPage ¶ added in v1.13.0
func (p *ListResourceGatewaysPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListResourceGatewaysOutput, error)
NextPage retrieves the next ListResourceGateways page.
type ListResourceGatewaysPaginatorOptions ¶ added in v1.13.0
type ListResourceGatewaysPaginatorOptions struct { // The maximum page size. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListResourceGatewaysPaginatorOptions is the paginator options for ListResourceGateways
type ListRulesAPIClient ¶
type ListRulesAPIClient interface {
ListRules(context.Context, *ListRulesInput, ...func(*Options)) (*ListRulesOutput, error)
}
ListRulesAPIClient is a client that implements the ListRules operation.
type ListRulesInput ¶
type ListRulesInput struct { // The ID or ARN of the listener. // // This member is required. ListenerIdentifier *string // The ID or ARN of the service. // // This member is required. ServiceIdentifier *string // The maximum number of results to return. MaxResults *int32 // A pagination token for the next page of results. NextToken *string // contains filtered or unexported fields }
type ListRulesOutput ¶
type ListRulesOutput struct { // Information about the rules. // // This member is required. Items []types.RuleSummary // If there are additional results, a pagination token for the next page of // results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListRulesPaginator ¶
type ListRulesPaginator struct {
// contains filtered or unexported fields
}
ListRulesPaginator is a paginator for ListRules
func NewListRulesPaginator ¶
func NewListRulesPaginator(client ListRulesAPIClient, params *ListRulesInput, optFns ...func(*ListRulesPaginatorOptions)) *ListRulesPaginator
NewListRulesPaginator returns a new ListRulesPaginator
func (*ListRulesPaginator) HasMorePages ¶
func (p *ListRulesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListRulesPaginator) NextPage ¶
func (p *ListRulesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListRulesOutput, error)
NextPage retrieves the next ListRules page.
type ListRulesPaginatorOptions ¶
type ListRulesPaginatorOptions struct { // The maximum number of results to return. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListRulesPaginatorOptions is the paginator options for ListRules
type ListServiceNetworkResourceAssociationsAPIClient ¶ added in v1.13.0
type ListServiceNetworkResourceAssociationsAPIClient interface {
ListServiceNetworkResourceAssociations(context.Context, *ListServiceNetworkResourceAssociationsInput, ...func(*Options)) (*ListServiceNetworkResourceAssociationsOutput, error)
}
ListServiceNetworkResourceAssociationsAPIClient is a client that implements the ListServiceNetworkResourceAssociations operation.
type ListServiceNetworkResourceAssociationsInput ¶ added in v1.13.0
type ListServiceNetworkResourceAssociationsInput struct { // The maximum page size. MaxResults *int32 // If there are additional results, a pagination token for the next page of // results. NextToken *string // The ID of the resource configurationk. ResourceConfigurationIdentifier *string // The ID of the service network. ServiceNetworkIdentifier *string // contains filtered or unexported fields }
type ListServiceNetworkResourceAssociationsOutput ¶ added in v1.13.0
type ListServiceNetworkResourceAssociationsOutput struct { // Information about the associations. // // This member is required. Items []types.ServiceNetworkResourceAssociationSummary // If there are additional results, a pagination token for the next page of // results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListServiceNetworkResourceAssociationsPaginator ¶ added in v1.13.0
type ListServiceNetworkResourceAssociationsPaginator struct {
// contains filtered or unexported fields
}
ListServiceNetworkResourceAssociationsPaginator is a paginator for ListServiceNetworkResourceAssociations
func NewListServiceNetworkResourceAssociationsPaginator ¶ added in v1.13.0
func NewListServiceNetworkResourceAssociationsPaginator(client ListServiceNetworkResourceAssociationsAPIClient, params *ListServiceNetworkResourceAssociationsInput, optFns ...func(*ListServiceNetworkResourceAssociationsPaginatorOptions)) *ListServiceNetworkResourceAssociationsPaginator
NewListServiceNetworkResourceAssociationsPaginator returns a new ListServiceNetworkResourceAssociationsPaginator
func (*ListServiceNetworkResourceAssociationsPaginator) HasMorePages ¶ added in v1.13.0
func (p *ListServiceNetworkResourceAssociationsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListServiceNetworkResourceAssociationsPaginator) NextPage ¶ added in v1.13.0
func (p *ListServiceNetworkResourceAssociationsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListServiceNetworkResourceAssociationsOutput, error)
NextPage retrieves the next ListServiceNetworkResourceAssociations page.
type ListServiceNetworkResourceAssociationsPaginatorOptions ¶ added in v1.13.0
type ListServiceNetworkResourceAssociationsPaginatorOptions struct { // The maximum page size. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListServiceNetworkResourceAssociationsPaginatorOptions is the paginator options for ListServiceNetworkResourceAssociations
type ListServiceNetworkServiceAssociationsAPIClient ¶
type ListServiceNetworkServiceAssociationsAPIClient interface {
ListServiceNetworkServiceAssociations(context.Context, *ListServiceNetworkServiceAssociationsInput, ...func(*Options)) (*ListServiceNetworkServiceAssociationsOutput, error)
}
ListServiceNetworkServiceAssociationsAPIClient is a client that implements the ListServiceNetworkServiceAssociations operation.
type ListServiceNetworkServiceAssociationsInput ¶
type ListServiceNetworkServiceAssociationsInput struct { // The maximum number of results to return. MaxResults *int32 // A pagination token for the next page of results. NextToken *string // The ID or ARN of the service. ServiceIdentifier *string // The ID or ARN of the service network. ServiceNetworkIdentifier *string // contains filtered or unexported fields }
type ListServiceNetworkServiceAssociationsOutput ¶
type ListServiceNetworkServiceAssociationsOutput struct { // Information about the associations. // // This member is required. Items []types.ServiceNetworkServiceAssociationSummary // If there are additional results, a pagination token for the next page of // results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListServiceNetworkServiceAssociationsPaginator ¶
type ListServiceNetworkServiceAssociationsPaginator struct {
// contains filtered or unexported fields
}
ListServiceNetworkServiceAssociationsPaginator is a paginator for ListServiceNetworkServiceAssociations
func NewListServiceNetworkServiceAssociationsPaginator ¶
func NewListServiceNetworkServiceAssociationsPaginator(client ListServiceNetworkServiceAssociationsAPIClient, params *ListServiceNetworkServiceAssociationsInput, optFns ...func(*ListServiceNetworkServiceAssociationsPaginatorOptions)) *ListServiceNetworkServiceAssociationsPaginator
NewListServiceNetworkServiceAssociationsPaginator returns a new ListServiceNetworkServiceAssociationsPaginator
func (*ListServiceNetworkServiceAssociationsPaginator) HasMorePages ¶
func (p *ListServiceNetworkServiceAssociationsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListServiceNetworkServiceAssociationsPaginator) NextPage ¶
func (p *ListServiceNetworkServiceAssociationsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListServiceNetworkServiceAssociationsOutput, error)
NextPage retrieves the next ListServiceNetworkServiceAssociations page.
type ListServiceNetworkServiceAssociationsPaginatorOptions ¶
type ListServiceNetworkServiceAssociationsPaginatorOptions struct { // The maximum number of results to return. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListServiceNetworkServiceAssociationsPaginatorOptions is the paginator options for ListServiceNetworkServiceAssociations
type ListServiceNetworkVpcAssociationsAPIClient ¶
type ListServiceNetworkVpcAssociationsAPIClient interface {
ListServiceNetworkVpcAssociations(context.Context, *ListServiceNetworkVpcAssociationsInput, ...func(*Options)) (*ListServiceNetworkVpcAssociationsOutput, error)
}
ListServiceNetworkVpcAssociationsAPIClient is a client that implements the ListServiceNetworkVpcAssociations operation.
type ListServiceNetworkVpcAssociationsInput ¶
type ListServiceNetworkVpcAssociationsInput struct { // The maximum number of results to return. MaxResults *int32 // A pagination token for the next page of results. NextToken *string // The ID or ARN of the service network. ServiceNetworkIdentifier *string // The ID or ARN of the VPC. VpcIdentifier *string // contains filtered or unexported fields }
type ListServiceNetworkVpcAssociationsOutput ¶
type ListServiceNetworkVpcAssociationsOutput struct { // Information about the associations. // // This member is required. Items []types.ServiceNetworkVpcAssociationSummary // If there are additional results, a pagination token for the next page of // results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListServiceNetworkVpcAssociationsPaginator ¶
type ListServiceNetworkVpcAssociationsPaginator struct {
// contains filtered or unexported fields
}
ListServiceNetworkVpcAssociationsPaginator is a paginator for ListServiceNetworkVpcAssociations
func NewListServiceNetworkVpcAssociationsPaginator ¶
func NewListServiceNetworkVpcAssociationsPaginator(client ListServiceNetworkVpcAssociationsAPIClient, params *ListServiceNetworkVpcAssociationsInput, optFns ...func(*ListServiceNetworkVpcAssociationsPaginatorOptions)) *ListServiceNetworkVpcAssociationsPaginator
NewListServiceNetworkVpcAssociationsPaginator returns a new ListServiceNetworkVpcAssociationsPaginator
func (*ListServiceNetworkVpcAssociationsPaginator) HasMorePages ¶
func (p *ListServiceNetworkVpcAssociationsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListServiceNetworkVpcAssociationsPaginator) NextPage ¶
func (p *ListServiceNetworkVpcAssociationsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListServiceNetworkVpcAssociationsOutput, error)
NextPage retrieves the next ListServiceNetworkVpcAssociations page.
type ListServiceNetworkVpcAssociationsPaginatorOptions ¶
type ListServiceNetworkVpcAssociationsPaginatorOptions struct { // The maximum number of results to return. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListServiceNetworkVpcAssociationsPaginatorOptions is the paginator options for ListServiceNetworkVpcAssociations
type ListServiceNetworkVpcEndpointAssociationsAPIClient ¶ added in v1.13.0
type ListServiceNetworkVpcEndpointAssociationsAPIClient interface {
ListServiceNetworkVpcEndpointAssociations(context.Context, *ListServiceNetworkVpcEndpointAssociationsInput, ...func(*Options)) (*ListServiceNetworkVpcEndpointAssociationsOutput, error)
}
ListServiceNetworkVpcEndpointAssociationsAPIClient is a client that implements the ListServiceNetworkVpcEndpointAssociations operation.
type ListServiceNetworkVpcEndpointAssociationsInput ¶ added in v1.13.0
type ListServiceNetworkVpcEndpointAssociationsInput struct { // The ID of the service network associated with the VPC endpoint. // // This member is required. ServiceNetworkIdentifier *string // The maximum page size. MaxResults *int32 // If there are additional results, a pagination token for the next page of // results. NextToken *string // contains filtered or unexported fields }
type ListServiceNetworkVpcEndpointAssociationsOutput ¶ added in v1.13.0
type ListServiceNetworkVpcEndpointAssociationsOutput struct { // Information about the association between the VPC endpoint and service network. // // This member is required. Items []types.ServiceNetworkEndpointAssociation // If there are additional results, a pagination token for the next page of // results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListServiceNetworkVpcEndpointAssociationsPaginator ¶ added in v1.13.0
type ListServiceNetworkVpcEndpointAssociationsPaginator struct {
// contains filtered or unexported fields
}
ListServiceNetworkVpcEndpointAssociationsPaginator is a paginator for ListServiceNetworkVpcEndpointAssociations
func NewListServiceNetworkVpcEndpointAssociationsPaginator ¶ added in v1.13.0
func NewListServiceNetworkVpcEndpointAssociationsPaginator(client ListServiceNetworkVpcEndpointAssociationsAPIClient, params *ListServiceNetworkVpcEndpointAssociationsInput, optFns ...func(*ListServiceNetworkVpcEndpointAssociationsPaginatorOptions)) *ListServiceNetworkVpcEndpointAssociationsPaginator
NewListServiceNetworkVpcEndpointAssociationsPaginator returns a new ListServiceNetworkVpcEndpointAssociationsPaginator
func (*ListServiceNetworkVpcEndpointAssociationsPaginator) HasMorePages ¶ added in v1.13.0
func (p *ListServiceNetworkVpcEndpointAssociationsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListServiceNetworkVpcEndpointAssociationsPaginator) NextPage ¶ added in v1.13.0
func (p *ListServiceNetworkVpcEndpointAssociationsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListServiceNetworkVpcEndpointAssociationsOutput, error)
NextPage retrieves the next ListServiceNetworkVpcEndpointAssociations page.
type ListServiceNetworkVpcEndpointAssociationsPaginatorOptions ¶ added in v1.13.0
type ListServiceNetworkVpcEndpointAssociationsPaginatorOptions struct { // The maximum page size. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListServiceNetworkVpcEndpointAssociationsPaginatorOptions is the paginator options for ListServiceNetworkVpcEndpointAssociations
type ListServiceNetworksAPIClient ¶
type ListServiceNetworksAPIClient interface {
ListServiceNetworks(context.Context, *ListServiceNetworksInput, ...func(*Options)) (*ListServiceNetworksOutput, error)
}
ListServiceNetworksAPIClient is a client that implements the ListServiceNetworks operation.
type ListServiceNetworksOutput ¶
type ListServiceNetworksOutput struct { // Information about the service networks. // // This member is required. Items []types.ServiceNetworkSummary // If there are additional results, a pagination token for the next page of // results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListServiceNetworksPaginator ¶
type ListServiceNetworksPaginator struct {
// contains filtered or unexported fields
}
ListServiceNetworksPaginator is a paginator for ListServiceNetworks
func NewListServiceNetworksPaginator ¶
func NewListServiceNetworksPaginator(client ListServiceNetworksAPIClient, params *ListServiceNetworksInput, optFns ...func(*ListServiceNetworksPaginatorOptions)) *ListServiceNetworksPaginator
NewListServiceNetworksPaginator returns a new ListServiceNetworksPaginator
func (*ListServiceNetworksPaginator) HasMorePages ¶
func (p *ListServiceNetworksPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListServiceNetworksPaginator) NextPage ¶
func (p *ListServiceNetworksPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListServiceNetworksOutput, error)
NextPage retrieves the next ListServiceNetworks page.
type ListServiceNetworksPaginatorOptions ¶
type ListServiceNetworksPaginatorOptions struct { // The maximum number of results to return. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListServiceNetworksPaginatorOptions is the paginator options for ListServiceNetworks
type ListServicesAPIClient ¶
type ListServicesAPIClient interface {
ListServices(context.Context, *ListServicesInput, ...func(*Options)) (*ListServicesOutput, error)
}
ListServicesAPIClient is a client that implements the ListServices operation.
type ListServicesInput ¶
type ListServicesOutput ¶
type ListServicesOutput struct { // Information about the services. Items []types.ServiceSummary // If there are additional results, a pagination token for the next page of // results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListServicesPaginator ¶
type ListServicesPaginator struct {
// contains filtered or unexported fields
}
ListServicesPaginator is a paginator for ListServices
func NewListServicesPaginator ¶
func NewListServicesPaginator(client ListServicesAPIClient, params *ListServicesInput, optFns ...func(*ListServicesPaginatorOptions)) *ListServicesPaginator
NewListServicesPaginator returns a new ListServicesPaginator
func (*ListServicesPaginator) HasMorePages ¶
func (p *ListServicesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListServicesPaginator) NextPage ¶
func (p *ListServicesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListServicesOutput, error)
NextPage retrieves the next ListServices page.
type ListServicesPaginatorOptions ¶
type ListServicesPaginatorOptions struct { // The maximum number of results to return. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListServicesPaginatorOptions is the paginator options for ListServices
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The Amazon Resource Name (ARN) of the resource. // // This member is required. ResourceArn *string // contains filtered or unexported fields }
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // Information about the tags. Tags map[string]string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListTargetGroupsAPIClient ¶
type ListTargetGroupsAPIClient interface {
ListTargetGroups(context.Context, *ListTargetGroupsInput, ...func(*Options)) (*ListTargetGroupsOutput, error)
}
ListTargetGroupsAPIClient is a client that implements the ListTargetGroups operation.
type ListTargetGroupsInput ¶
type ListTargetGroupsInput struct { // The maximum number of results to return. MaxResults *int32 // A pagination token for the next page of results. NextToken *string // The target group type. TargetGroupType types.TargetGroupType // The ID or ARN of the VPC. VpcIdentifier *string // contains filtered or unexported fields }
type ListTargetGroupsOutput ¶
type ListTargetGroupsOutput struct { // Information about the target groups. Items []types.TargetGroupSummary // If there are additional results, a pagination token for the next page of // results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListTargetGroupsPaginator ¶
type ListTargetGroupsPaginator struct {
// contains filtered or unexported fields
}
ListTargetGroupsPaginator is a paginator for ListTargetGroups
func NewListTargetGroupsPaginator ¶
func NewListTargetGroupsPaginator(client ListTargetGroupsAPIClient, params *ListTargetGroupsInput, optFns ...func(*ListTargetGroupsPaginatorOptions)) *ListTargetGroupsPaginator
NewListTargetGroupsPaginator returns a new ListTargetGroupsPaginator
func (*ListTargetGroupsPaginator) HasMorePages ¶
func (p *ListTargetGroupsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListTargetGroupsPaginator) NextPage ¶
func (p *ListTargetGroupsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListTargetGroupsOutput, error)
NextPage retrieves the next ListTargetGroups page.
type ListTargetGroupsPaginatorOptions ¶
type ListTargetGroupsPaginatorOptions struct { // The maximum number of results to return. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListTargetGroupsPaginatorOptions is the paginator options for ListTargetGroups
type ListTargetsAPIClient ¶
type ListTargetsAPIClient interface {
ListTargets(context.Context, *ListTargetsInput, ...func(*Options)) (*ListTargetsOutput, error)
}
ListTargetsAPIClient is a client that implements the ListTargets operation.
type ListTargetsInput ¶
type ListTargetsInput struct { // The ID or ARN of the target group. // // This member is required. TargetGroupIdentifier *string // The maximum number of results to return. MaxResults *int32 // A pagination token for the next page of results. NextToken *string // The targets. Targets []types.Target // contains filtered or unexported fields }
type ListTargetsOutput ¶
type ListTargetsOutput struct { // Information about the targets. // // This member is required. Items []types.TargetSummary // If there are additional results, a pagination token for the next page of // results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListTargetsPaginator ¶
type ListTargetsPaginator struct {
// contains filtered or unexported fields
}
ListTargetsPaginator is a paginator for ListTargets
func NewListTargetsPaginator ¶
func NewListTargetsPaginator(client ListTargetsAPIClient, params *ListTargetsInput, optFns ...func(*ListTargetsPaginatorOptions)) *ListTargetsPaginator
NewListTargetsPaginator returns a new ListTargetsPaginator
func (*ListTargetsPaginator) HasMorePages ¶
func (p *ListTargetsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListTargetsPaginator) NextPage ¶
func (p *ListTargetsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListTargetsOutput, error)
NextPage retrieves the next ListTargets page.
type ListTargetsPaginatorOptions ¶
type ListTargetsPaginatorOptions struct { // The maximum number of results to return. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListTargetsPaginatorOptions is the paginator options for ListTargets
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // The optional application specific identifier appended to the User-Agent header. AppID string // This endpoint will be given as input to an EndpointResolverV2. It is used for // providing a custom base endpoint that is subject to modifications by the // processing EndpointResolverV2. BaseEndpoint *string // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The configuration DefaultsMode that the SDK should use when constructing the // clients initial default settings. DefaultsMode aws.DefaultsMode // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. // // Deprecated: Deprecated: EndpointResolver and WithEndpointResolver. Providing a // value for this field will likely prevent you from using any endpoint-related // service features released after the introduction of EndpointResolverV2 and // BaseEndpoint. // // To migrate an EndpointResolver implementation that uses a custom endpoint, set // the client option BaseEndpoint instead. EndpointResolver EndpointResolver // Resolves the endpoint used for a particular service operation. This should be // used over the deprecated EndpointResolver. EndpointResolverV2 EndpointResolverV2 // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // Provides idempotency tokens values that will be automatically populated into // idempotent API operations. IdempotencyTokenProvider IdempotencyTokenProvider // The logger writer interface to write logging messages to. Logger logging.Logger // The client meter provider. MeterProvider metrics.MeterProvider // The region to send requests to. (Required) Region string // RetryMaxAttempts specifies the maximum number attempts an API client will call // an operation that fails with a retryable error. A value of 0 is ignored, and // will not be used to configure the API client created default retryer, or modify // per operation call's retry max attempts. // // If specified in an operation call's functional options with a value that is // different than the constructed client's Options, the Client's Retryer will be // wrapped to use the operation's specific RetryMaxAttempts value. RetryMaxAttempts int // RetryMode specifies the retry mode the API client will be created with, if // Retryer option is not also specified. // // When creating a new API Clients this member will only be used if the Retryer // Options member is nil. This value will be ignored if Retryer is not nil. // // Currently does not support per operation call overrides, may in the future. RetryMode aws.RetryMode // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. The kind of // default retry created by the API client can be changed with the RetryMode // option. Retryer aws.Retryer // The RuntimeEnvironment configuration, only populated if the DefaultsMode is set // to DefaultsModeAuto and is initialized using config.LoadDefaultConfig . You // should not populate this structure programmatically, or rely on the values here // within your applications. RuntimeEnvironment aws.RuntimeEnvironment // The client tracer provider. TracerProvider tracing.TracerProvider // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient // The auth scheme resolver which determines how to authenticate for each // operation. AuthSchemeResolver AuthSchemeResolver // The list of auth schemes supported by the client. AuthSchemes []smithyhttp.AuthScheme // contains filtered or unexported fields }
func (Options) GetIdentityResolver ¶ added in v1.4.2
func (o Options) GetIdentityResolver(schemeID string) smithyauth.IdentityResolver
type PutAuthPolicyInput ¶
type PutAuthPolicyInput struct { // The auth policy. The policy string in JSON must not contain newlines or blank // lines. // // This member is required. Policy *string // The ID or ARN of the service network or service for which the policy is created. // // This member is required. ResourceIdentifier *string // contains filtered or unexported fields }
type PutAuthPolicyOutput ¶
type PutAuthPolicyOutput struct { // The auth policy. The policy string in JSON must not contain newlines or blank // lines. Policy *string // The state of the auth policy. The auth policy is only active when the auth type // is set to AWS_IAM . If you provide a policy, then authentication and // authorization decisions are made based on this policy and the client's IAM // policy. If the Auth type is NONE , then, any auth policy that you provide // remains inactive. For more information, see [Create a service network]in the Amazon VPC Lattice User // Guide. // // [Create a service network]: https://docs.aws.amazon.com/vpc-lattice/latest/ug/service-networks.html#create-service-network State types.AuthPolicyState // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type PutResourcePolicyInput ¶
type PutResourcePolicyInput struct { // An IAM policy. The policy string in JSON must not contain newlines or blank // lines. // // This member is required. Policy *string // The ID or ARN of the service network or service for which the policy is created. // // This member is required. ResourceArn *string // contains filtered or unexported fields }
type PutResourcePolicyOutput ¶
type PutResourcePolicyOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type RegisterTargetsInput ¶
type RegisterTargetsOutput ¶
type RegisterTargetsOutput struct { // The targets that were successfully registered. Successful []types.Target // The targets that were not registered. Unsuccessful []types.TargetFailure // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options EndpointResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type TagResourceInput ¶
type TagResourceOutput ¶
type TagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UntagResourceInput ¶
type UntagResourceOutput ¶
type UntagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateAccessLogSubscriptionInput ¶
type UpdateAccessLogSubscriptionInput struct { // The ID or ARN of the access log subscription. // // This member is required. AccessLogSubscriptionIdentifier *string // The Amazon Resource Name (ARN) of the access log destination. // // This member is required. DestinationArn *string // contains filtered or unexported fields }
type UpdateAccessLogSubscriptionOutput ¶
type UpdateAccessLogSubscriptionOutput struct { // The Amazon Resource Name (ARN) of the access log subscription. // // This member is required. Arn *string // The Amazon Resource Name (ARN) of the access log destination. // // This member is required. DestinationArn *string // The ID of the access log subscription. // // This member is required. Id *string // The Amazon Resource Name (ARN) of the access log subscription. // // This member is required. ResourceArn *string // The ID of the resource. // // This member is required. ResourceId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateListenerInput ¶
type UpdateListenerInput struct { // The action for the default rule. // // This member is required. DefaultAction types.RuleAction // The ID or ARN of the listener. // // This member is required. ListenerIdentifier *string // The ID or ARN of the service. // // This member is required. ServiceIdentifier *string // contains filtered or unexported fields }
type UpdateListenerOutput ¶
type UpdateListenerOutput struct { // The Amazon Resource Name (ARN) of the listener. Arn *string // The action for the default rule. DefaultAction types.RuleAction // The ID of the listener. Id *string // The name of the listener. Name *string // The listener port. Port *int32 // The protocol of the listener. Protocol types.ListenerProtocol // The Amazon Resource Name (ARN) of the service. ServiceArn *string // The ID of the service. ServiceId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateResourceConfigurationInput ¶ added in v1.13.0
type UpdateResourceConfigurationInput struct { // The ID of the resource configuration. // // This member is required. ResourceConfigurationIdentifier *string // are shared with other accounts. AllowAssociationToShareableServiceNetwork *bool // The TCP port ranges that a consumer can use to access a resource configuration. // You can separate port ranges with a comma. Example: 1-65535 or 1,2,22-30 PortRanges []string // The resource configuration. ResourceConfigurationDefinition types.ResourceConfigurationDefinition // contains filtered or unexported fields }
type UpdateResourceConfigurationOutput ¶ added in v1.13.0
type UpdateResourceConfigurationOutput struct { // are shared with other accounts. AllowAssociationToShareableServiceNetwork *bool // The Amazon Resource Name (ARN) of the resource configuration. Arn *string // The ID of the resource configuration. Id *string // The name of the resource configuration. Name *string // The TCP port ranges that a consumer can use to access a resource configuration. // You can separate port ranges with a comma. Example: 1-65535 or 1,2,22-30 PortRanges []string // The TCP protocol accepted by the specified resource configuration. Protocol types.ProtocolType // The resource configuration. ResourceConfigurationDefinition types.ResourceConfigurationDefinition // The ID of the group resource configuration. ResourceConfigurationGroupId *string // The ID of the resource gateway associated with the resource configuration. ResourceGatewayId *string // The status of the resource configuration. Status types.ResourceConfigurationStatus // The type of resource configuration. // // - SINGLE - A single resource. // // - GROUP - A group of resources. // // - CHILD - A single resource that is part of a group resource configuration. // // - ARN - An Amazon Web Services resource. Type types.ResourceConfigurationType // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateResourceGatewayInput ¶ added in v1.13.0
type UpdateResourceGatewayOutput ¶ added in v1.13.0
type UpdateResourceGatewayOutput struct { // The Amazon Resource Name (ARN) of the resource gateway. Arn *string // The ID of the resource gateway. Id *string // The type of IP address used by the resource gateway. IpAddressType types.IpAddressType // The name of the resource gateway. Name *string // The IDs of the security groups associated with the resource gateway. SecurityGroupIds []string // The status of the resource gateway. Status types.ResourceGatewayStatus // The IDs of the VPC subnets for the resource gateway. SubnetIds []string // The ID of the VPC for the resource gateway. VpcId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateRuleInput ¶
type UpdateRuleInput struct { // The ID or ARN of the listener. // // This member is required. ListenerIdentifier *string // The ID or ARN of the rule. // // This member is required. RuleIdentifier *string // The ID or ARN of the service. // // This member is required. ServiceIdentifier *string // Information about the action for the specified listener rule. Action types.RuleAction // The rule match. Match types.RuleMatch // The rule priority. A listener can't have multiple rules with the same priority. Priority *int32 // contains filtered or unexported fields }
type UpdateRuleOutput ¶
type UpdateRuleOutput struct { // Information about the action for the specified listener rule. Action types.RuleAction // The Amazon Resource Name (ARN) of the listener. Arn *string // The ID of the listener. Id *string // Indicates whether this is the default rule. IsDefault *bool // The rule match. Match types.RuleMatch // The name of the listener. Name *string // The rule priority. Priority *int32 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateServiceInput ¶
type UpdateServiceInput struct { // The ID or ARN of the service. // // This member is required. ServiceIdentifier *string // The type of IAM policy. // // - NONE : The resource does not use an IAM policy. This is the default. // // - AWS_IAM : The resource uses an IAM policy. When this type is used, auth is // enabled and an auth policy is required. AuthType types.AuthType // The Amazon Resource Name (ARN) of the certificate. CertificateArn *string // contains filtered or unexported fields }
type UpdateServiceNetworkInput ¶
type UpdateServiceNetworkInput struct { // 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. // // This member is required. AuthType types.AuthType // The ID or ARN of the service network. // // This member is required. ServiceNetworkIdentifier *string // contains filtered or unexported fields }
type UpdateServiceNetworkOutput ¶
type UpdateServiceNetworkOutput struct { // The Amazon Resource Name (ARN) of the service network. Arn *string // The type of IAM policy. AuthType types.AuthType // The ID of the service network. Id *string // The name of the service network. Name *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateServiceNetworkVpcAssociationInput ¶
type UpdateServiceNetworkVpcAssociationInput struct { // The IDs of the security groups. // // This member is required. SecurityGroupIds []string // The ID or ARN of the association. // // This member is required. ServiceNetworkVpcAssociationIdentifier *string // contains filtered or unexported fields }
type UpdateServiceNetworkVpcAssociationOutput ¶
type UpdateServiceNetworkVpcAssociationOutput struct { // The Amazon Resource Name (ARN) of the association. Arn *string // The account that created the association. CreatedBy *string // The ID of the association. Id *string // The IDs of the security groups. SecurityGroupIds []string // 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. Status types.ServiceNetworkVpcAssociationStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateServiceOutput ¶
type UpdateServiceOutput struct { // The Amazon Resource Name (ARN) of the service. Arn *string // The type of IAM policy. AuthType types.AuthType // The Amazon Resource Name (ARN) of the certificate. CertificateArn *string // The custom domain name of the service. CustomDomainName *string // The ID of the service. Id *string // The name of the service. Name *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateTargetGroupInput ¶
type UpdateTargetGroupInput struct { // The health check configuration. // // This member is required. HealthCheck *types.HealthCheckConfig // The ID or ARN of the target group. // // This member is required. TargetGroupIdentifier *string // contains filtered or unexported fields }
type UpdateTargetGroupOutput ¶
type UpdateTargetGroupOutput struct { // The Amazon Resource Name (ARN) of the target group. Arn *string // The target group configuration. Config *types.TargetGroupConfig // The ID of the target group. Id *string // The name of the target group. Name *string // The status. Status types.TargetGroupStatus // The target group type. Type types.TargetGroupType // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Source Files ¶
- api_client.go
- api_op_BatchUpdateRule.go
- api_op_CreateAccessLogSubscription.go
- api_op_CreateListener.go
- api_op_CreateResourceConfiguration.go
- api_op_CreateResourceGateway.go
- api_op_CreateRule.go
- api_op_CreateService.go
- api_op_CreateServiceNetwork.go
- api_op_CreateServiceNetworkResourceAssociation.go
- api_op_CreateServiceNetworkServiceAssociation.go
- api_op_CreateServiceNetworkVpcAssociation.go
- api_op_CreateTargetGroup.go
- api_op_DeleteAccessLogSubscription.go
- api_op_DeleteAuthPolicy.go
- api_op_DeleteListener.go
- api_op_DeleteResourceConfiguration.go
- api_op_DeleteResourceEndpointAssociation.go
- api_op_DeleteResourceGateway.go
- api_op_DeleteResourcePolicy.go
- api_op_DeleteRule.go
- api_op_DeleteService.go
- api_op_DeleteServiceNetwork.go
- api_op_DeleteServiceNetworkResourceAssociation.go
- api_op_DeleteServiceNetworkServiceAssociation.go
- api_op_DeleteServiceNetworkVpcAssociation.go
- api_op_DeleteTargetGroup.go
- api_op_DeregisterTargets.go
- api_op_GetAccessLogSubscription.go
- api_op_GetAuthPolicy.go
- api_op_GetListener.go
- api_op_GetResourceConfiguration.go
- api_op_GetResourceGateway.go
- api_op_GetResourcePolicy.go
- api_op_GetRule.go
- api_op_GetService.go
- api_op_GetServiceNetwork.go
- api_op_GetServiceNetworkResourceAssociation.go
- api_op_GetServiceNetworkServiceAssociation.go
- api_op_GetServiceNetworkVpcAssociation.go
- api_op_GetTargetGroup.go
- api_op_ListAccessLogSubscriptions.go
- api_op_ListListeners.go
- api_op_ListResourceConfigurations.go
- api_op_ListResourceEndpointAssociations.go
- api_op_ListResourceGateways.go
- api_op_ListRules.go
- api_op_ListServiceNetworkResourceAssociations.go
- api_op_ListServiceNetworkServiceAssociations.go
- api_op_ListServiceNetworkVpcAssociations.go
- api_op_ListServiceNetworkVpcEndpointAssociations.go
- api_op_ListServiceNetworks.go
- api_op_ListServices.go
- api_op_ListTagsForResource.go
- api_op_ListTargetGroups.go
- api_op_ListTargets.go
- api_op_PutAuthPolicy.go
- api_op_PutResourcePolicy.go
- api_op_RegisterTargets.go
- api_op_TagResource.go
- api_op_UntagResource.go
- api_op_UpdateAccessLogSubscription.go
- api_op_UpdateListener.go
- api_op_UpdateResourceConfiguration.go
- api_op_UpdateResourceGateway.go
- api_op_UpdateRule.go
- api_op_UpdateService.go
- api_op_UpdateServiceNetwork.go
- api_op_UpdateServiceNetworkVpcAssociation.go
- api_op_UpdateTargetGroup.go
- auth.go
- deserializers.go
- doc.go
- endpoints.go
- go_module_metadata.go
- options.go
- serializers.go
- validators.go