Documentation ¶
Overview ¶
Package servicediscovery provides the client and types for making API requests to Amazon Route 53 Auto Naming.
Amazon Route 53 autonaming lets you configure public or private namespaces that your microservice applications run in. When instances of the service become available, you can call the autonaming API to register the instance, and Amazon Route 53 automatically creates up to five DNS records and an optional health check. Clients that submit DNS queries for the service receive an answer that contains up to eight healthy records.
See https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14 for more information on this service.
See servicediscovery package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/servicediscovery/
Using the Client ¶
To Amazon Route 53 Auto Naming with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the Amazon Route 53 Auto Naming client ServiceDiscovery for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/servicediscovery/#New
Index ¶
- Constants
- type CreatePrivateDnsNamespaceInput
- func (s CreatePrivateDnsNamespaceInput) GoString() string
- func (s *CreatePrivateDnsNamespaceInput) SetCreatorRequestId(v string) *CreatePrivateDnsNamespaceInput
- func (s *CreatePrivateDnsNamespaceInput) SetDescription(v string) *CreatePrivateDnsNamespaceInput
- func (s *CreatePrivateDnsNamespaceInput) SetName(v string) *CreatePrivateDnsNamespaceInput
- func (s *CreatePrivateDnsNamespaceInput) SetVpc(v string) *CreatePrivateDnsNamespaceInput
- func (s CreatePrivateDnsNamespaceInput) String() string
- func (s *CreatePrivateDnsNamespaceInput) Validate() error
- type CreatePrivateDnsNamespaceOutput
- type CreatePrivateDnsNamespaceRequest
- type CreatePublicDnsNamespaceInput
- func (s CreatePublicDnsNamespaceInput) GoString() string
- func (s *CreatePublicDnsNamespaceInput) SetCreatorRequestId(v string) *CreatePublicDnsNamespaceInput
- func (s *CreatePublicDnsNamespaceInput) SetDescription(v string) *CreatePublicDnsNamespaceInput
- func (s *CreatePublicDnsNamespaceInput) SetName(v string) *CreatePublicDnsNamespaceInput
- func (s CreatePublicDnsNamespaceInput) String() string
- func (s *CreatePublicDnsNamespaceInput) Validate() error
- type CreatePublicDnsNamespaceOutput
- type CreatePublicDnsNamespaceRequest
- type CreateServiceInput
- func (s CreateServiceInput) GoString() string
- func (s *CreateServiceInput) SetCreatorRequestId(v string) *CreateServiceInput
- func (s *CreateServiceInput) SetDescription(v string) *CreateServiceInput
- func (s *CreateServiceInput) SetDnsConfig(v *DnsConfig) *CreateServiceInput
- func (s *CreateServiceInput) SetHealthCheckConfig(v *HealthCheckConfig) *CreateServiceInput
- func (s *CreateServiceInput) SetName(v string) *CreateServiceInput
- func (s CreateServiceInput) String() string
- func (s *CreateServiceInput) Validate() error
- type CreateServiceOutput
- type CreateServiceRequest
- type DeleteNamespaceInput
- type DeleteNamespaceOutput
- type DeleteNamespaceRequest
- type DeleteServiceInput
- type DeleteServiceOutput
- type DeleteServiceRequest
- type DeregisterInstanceInput
- func (s DeregisterInstanceInput) GoString() string
- func (s *DeregisterInstanceInput) SetInstanceId(v string) *DeregisterInstanceInput
- func (s *DeregisterInstanceInput) SetServiceId(v string) *DeregisterInstanceInput
- func (s DeregisterInstanceInput) String() string
- func (s *DeregisterInstanceInput) Validate() error
- type DeregisterInstanceOutput
- type DeregisterInstanceRequest
- type DnsConfig
- type DnsConfigChange
- type DnsProperties
- type DnsRecord
- type FilterCondition
- type GetInstanceInput
- type GetInstanceOutput
- type GetInstanceRequest
- type GetInstancesHealthStatusInput
- func (s GetInstancesHealthStatusInput) GoString() string
- func (s *GetInstancesHealthStatusInput) SetInstances(v []string) *GetInstancesHealthStatusInput
- func (s *GetInstancesHealthStatusInput) SetMaxResults(v int64) *GetInstancesHealthStatusInput
- func (s *GetInstancesHealthStatusInput) SetNextToken(v string) *GetInstancesHealthStatusInput
- func (s *GetInstancesHealthStatusInput) SetServiceId(v string) *GetInstancesHealthStatusInput
- func (s GetInstancesHealthStatusInput) String() string
- func (s *GetInstancesHealthStatusInput) Validate() error
- type GetInstancesHealthStatusOutput
- func (s GetInstancesHealthStatusOutput) GoString() string
- func (s GetInstancesHealthStatusOutput) SDKResponseMetadata() aws.Response
- func (s *GetInstancesHealthStatusOutput) SetNextToken(v string) *GetInstancesHealthStatusOutput
- func (s *GetInstancesHealthStatusOutput) SetStatus(v map[string]HealthStatus) *GetInstancesHealthStatusOutput
- func (s GetInstancesHealthStatusOutput) String() string
- type GetInstancesHealthStatusRequest
- type GetNamespaceInput
- type GetNamespaceOutput
- type GetNamespaceRequest
- type GetOperationInput
- type GetOperationOutput
- type GetOperationRequest
- type GetServiceInput
- type GetServiceOutput
- type GetServiceRequest
- type HealthCheckConfig
- func (s HealthCheckConfig) GoString() string
- func (s *HealthCheckConfig) SetFailureThreshold(v int64) *HealthCheckConfig
- func (s *HealthCheckConfig) SetResourcePath(v string) *HealthCheckConfig
- func (s *HealthCheckConfig) SetType(v HealthCheckType) *HealthCheckConfig
- func (s HealthCheckConfig) String() string
- func (s *HealthCheckConfig) Validate() error
- type HealthCheckType
- type HealthStatus
- type Instance
- type InstanceSummary
- type ListInstancesInput
- func (s ListInstancesInput) GoString() string
- func (s *ListInstancesInput) SetMaxResults(v int64) *ListInstancesInput
- func (s *ListInstancesInput) SetNextToken(v string) *ListInstancesInput
- func (s *ListInstancesInput) SetServiceId(v string) *ListInstancesInput
- func (s ListInstancesInput) String() string
- func (s *ListInstancesInput) Validate() error
- type ListInstancesOutput
- func (s ListInstancesOutput) GoString() string
- func (s ListInstancesOutput) SDKResponseMetadata() aws.Response
- func (s *ListInstancesOutput) SetInstances(v []InstanceSummary) *ListInstancesOutput
- func (s *ListInstancesOutput) SetNextToken(v string) *ListInstancesOutput
- func (s ListInstancesOutput) String() string
- type ListInstancesRequest
- type ListNamespacesInput
- func (s ListNamespacesInput) GoString() string
- func (s *ListNamespacesInput) SetFilters(v []NamespaceFilter) *ListNamespacesInput
- func (s *ListNamespacesInput) SetMaxResults(v int64) *ListNamespacesInput
- func (s *ListNamespacesInput) SetNextToken(v string) *ListNamespacesInput
- func (s ListNamespacesInput) String() string
- func (s *ListNamespacesInput) Validate() error
- type ListNamespacesOutput
- func (s ListNamespacesOutput) GoString() string
- func (s ListNamespacesOutput) SDKResponseMetadata() aws.Response
- func (s *ListNamespacesOutput) SetNamespaces(v []NamespaceSummary) *ListNamespacesOutput
- func (s *ListNamespacesOutput) SetNextToken(v string) *ListNamespacesOutput
- func (s ListNamespacesOutput) String() string
- type ListNamespacesRequest
- type ListOperationsInput
- func (s ListOperationsInput) GoString() string
- func (s *ListOperationsInput) SetFilters(v []OperationFilter) *ListOperationsInput
- func (s *ListOperationsInput) SetMaxResults(v int64) *ListOperationsInput
- func (s *ListOperationsInput) SetNextToken(v string) *ListOperationsInput
- func (s ListOperationsInput) String() string
- func (s *ListOperationsInput) Validate() error
- type ListOperationsOutput
- func (s ListOperationsOutput) GoString() string
- func (s ListOperationsOutput) SDKResponseMetadata() aws.Response
- func (s *ListOperationsOutput) SetNextToken(v string) *ListOperationsOutput
- func (s *ListOperationsOutput) SetOperations(v []OperationSummary) *ListOperationsOutput
- func (s ListOperationsOutput) String() string
- type ListOperationsRequest
- type ListServicesInput
- func (s ListServicesInput) GoString() string
- func (s *ListServicesInput) SetFilters(v []ServiceFilter) *ListServicesInput
- func (s *ListServicesInput) SetMaxResults(v int64) *ListServicesInput
- func (s *ListServicesInput) SetNextToken(v string) *ListServicesInput
- func (s ListServicesInput) String() string
- func (s *ListServicesInput) Validate() error
- type ListServicesOutput
- func (s ListServicesOutput) GoString() string
- func (s ListServicesOutput) SDKResponseMetadata() aws.Response
- func (s *ListServicesOutput) SetNextToken(v string) *ListServicesOutput
- func (s *ListServicesOutput) SetServices(v []ServiceSummary) *ListServicesOutput
- func (s ListServicesOutput) String() string
- type ListServicesRequest
- type Namespace
- func (s Namespace) GoString() string
- func (s *Namespace) SetArn(v string) *Namespace
- func (s *Namespace) SetCreateDate(v time.Time) *Namespace
- func (s *Namespace) SetCreatorRequestId(v string) *Namespace
- func (s *Namespace) SetDescription(v string) *Namespace
- func (s *Namespace) SetId(v string) *Namespace
- func (s *Namespace) SetName(v string) *Namespace
- func (s *Namespace) SetProperties(v *NamespaceProperties) *Namespace
- func (s *Namespace) SetServiceCount(v int64) *Namespace
- func (s *Namespace) SetType(v NamespaceType) *Namespace
- func (s Namespace) String() string
- type NamespaceFilter
- func (s NamespaceFilter) GoString() string
- func (s *NamespaceFilter) SetCondition(v FilterCondition) *NamespaceFilter
- func (s *NamespaceFilter) SetName(v NamespaceFilterName) *NamespaceFilter
- func (s *NamespaceFilter) SetValues(v []string) *NamespaceFilter
- func (s NamespaceFilter) String() string
- func (s *NamespaceFilter) Validate() error
- type NamespaceFilterName
- type NamespaceProperties
- type NamespaceSummary
- func (s NamespaceSummary) GoString() string
- func (s *NamespaceSummary) SetArn(v string) *NamespaceSummary
- func (s *NamespaceSummary) SetId(v string) *NamespaceSummary
- func (s *NamespaceSummary) SetName(v string) *NamespaceSummary
- func (s *NamespaceSummary) SetType(v NamespaceType) *NamespaceSummary
- func (s NamespaceSummary) String() string
- type NamespaceType
- type Operation
- func (s Operation) GoString() string
- func (s *Operation) SetCreateDate(v time.Time) *Operation
- func (s *Operation) SetErrorCode(v string) *Operation
- func (s *Operation) SetErrorMessage(v string) *Operation
- func (s *Operation) SetId(v string) *Operation
- func (s *Operation) SetStatus(v OperationStatus) *Operation
- func (s *Operation) SetTargets(v map[string]string) *Operation
- func (s *Operation) SetType(v OperationType) *Operation
- func (s *Operation) SetUpdateDate(v time.Time) *Operation
- func (s Operation) String() string
- type OperationFilter
- func (s OperationFilter) GoString() string
- func (s *OperationFilter) SetCondition(v FilterCondition) *OperationFilter
- func (s *OperationFilter) SetName(v OperationFilterName) *OperationFilter
- func (s *OperationFilter) SetValues(v []string) *OperationFilter
- func (s OperationFilter) String() string
- func (s *OperationFilter) Validate() error
- type OperationFilterName
- type OperationStatus
- type OperationSummary
- type OperationTargetType
- type OperationType
- type RecordType
- type RegisterInstanceInput
- func (s RegisterInstanceInput) GoString() string
- func (s *RegisterInstanceInput) SetAttributes(v map[string]string) *RegisterInstanceInput
- func (s *RegisterInstanceInput) SetCreatorRequestId(v string) *RegisterInstanceInput
- func (s *RegisterInstanceInput) SetInstanceId(v string) *RegisterInstanceInput
- func (s *RegisterInstanceInput) SetServiceId(v string) *RegisterInstanceInput
- func (s RegisterInstanceInput) String() string
- func (s *RegisterInstanceInput) Validate() error
- type RegisterInstanceOutput
- type RegisterInstanceRequest
- type Service
- func (s Service) GoString() string
- func (s *Service) SetArn(v string) *Service
- func (s *Service) SetCreateDate(v time.Time) *Service
- func (s *Service) SetCreatorRequestId(v string) *Service
- func (s *Service) SetDescription(v string) *Service
- func (s *Service) SetDnsConfig(v *DnsConfig) *Service
- func (s *Service) SetHealthCheckConfig(v *HealthCheckConfig) *Service
- func (s *Service) SetId(v string) *Service
- func (s *Service) SetInstanceCount(v int64) *Service
- func (s *Service) SetName(v string) *Service
- func (s Service) String() string
- type ServiceChange
- func (s ServiceChange) GoString() string
- func (s *ServiceChange) SetDescription(v string) *ServiceChange
- func (s *ServiceChange) SetDnsConfig(v *DnsConfigChange) *ServiceChange
- func (s *ServiceChange) SetHealthCheckConfig(v *HealthCheckConfig) *ServiceChange
- func (s ServiceChange) String() string
- func (s *ServiceChange) Validate() error
- type ServiceDiscovery
- func (c *ServiceDiscovery) CreatePrivateDnsNamespaceRequest(input *CreatePrivateDnsNamespaceInput) CreatePrivateDnsNamespaceRequest
- func (c *ServiceDiscovery) CreatePublicDnsNamespaceRequest(input *CreatePublicDnsNamespaceInput) CreatePublicDnsNamespaceRequest
- func (c *ServiceDiscovery) CreateServiceRequest(input *CreateServiceInput) CreateServiceRequest
- func (c *ServiceDiscovery) DeleteNamespaceRequest(input *DeleteNamespaceInput) DeleteNamespaceRequest
- func (c *ServiceDiscovery) DeleteServiceRequest(input *DeleteServiceInput) DeleteServiceRequest
- func (c *ServiceDiscovery) DeregisterInstanceRequest(input *DeregisterInstanceInput) DeregisterInstanceRequest
- func (c *ServiceDiscovery) GetInstanceRequest(input *GetInstanceInput) GetInstanceRequest
- func (c *ServiceDiscovery) GetInstancesHealthStatusPages(input *GetInstancesHealthStatusInput, ...) error
- func (c *ServiceDiscovery) GetInstancesHealthStatusPagesWithContext(ctx aws.Context, input *GetInstancesHealthStatusInput, ...) error
- func (c *ServiceDiscovery) GetInstancesHealthStatusRequest(input *GetInstancesHealthStatusInput) GetInstancesHealthStatusRequest
- func (c *ServiceDiscovery) GetNamespaceRequest(input *GetNamespaceInput) GetNamespaceRequest
- func (c *ServiceDiscovery) GetOperationRequest(input *GetOperationInput) GetOperationRequest
- func (c *ServiceDiscovery) GetServiceRequest(input *GetServiceInput) GetServiceRequest
- func (c *ServiceDiscovery) ListInstancesPages(input *ListInstancesInput, fn func(*ListInstancesOutput, bool) bool) error
- func (c *ServiceDiscovery) ListInstancesPagesWithContext(ctx aws.Context, input *ListInstancesInput, ...) error
- func (c *ServiceDiscovery) ListInstancesRequest(input *ListInstancesInput) ListInstancesRequest
- func (c *ServiceDiscovery) ListNamespacesPages(input *ListNamespacesInput, fn func(*ListNamespacesOutput, bool) bool) error
- func (c *ServiceDiscovery) ListNamespacesPagesWithContext(ctx aws.Context, input *ListNamespacesInput, ...) error
- func (c *ServiceDiscovery) ListNamespacesRequest(input *ListNamespacesInput) ListNamespacesRequest
- func (c *ServiceDiscovery) ListOperationsPages(input *ListOperationsInput, fn func(*ListOperationsOutput, bool) bool) error
- func (c *ServiceDiscovery) ListOperationsPagesWithContext(ctx aws.Context, input *ListOperationsInput, ...) error
- func (c *ServiceDiscovery) ListOperationsRequest(input *ListOperationsInput) ListOperationsRequest
- func (c *ServiceDiscovery) ListServicesPages(input *ListServicesInput, fn func(*ListServicesOutput, bool) bool) error
- func (c *ServiceDiscovery) ListServicesPagesWithContext(ctx aws.Context, input *ListServicesInput, ...) error
- func (c *ServiceDiscovery) ListServicesRequest(input *ListServicesInput) ListServicesRequest
- func (c *ServiceDiscovery) RegisterInstanceRequest(input *RegisterInstanceInput) RegisterInstanceRequest
- func (c *ServiceDiscovery) UpdateServiceRequest(input *UpdateServiceInput) UpdateServiceRequest
- type ServiceFilter
- func (s ServiceFilter) GoString() string
- func (s *ServiceFilter) SetCondition(v FilterCondition) *ServiceFilter
- func (s *ServiceFilter) SetName(v ServiceFilterName) *ServiceFilter
- func (s *ServiceFilter) SetValues(v []string) *ServiceFilter
- func (s ServiceFilter) String() string
- func (s *ServiceFilter) Validate() error
- type ServiceFilterName
- type ServiceSummary
- func (s ServiceSummary) GoString() string
- func (s *ServiceSummary) SetArn(v string) *ServiceSummary
- func (s *ServiceSummary) SetDescription(v string) *ServiceSummary
- func (s *ServiceSummary) SetId(v string) *ServiceSummary
- func (s *ServiceSummary) SetInstanceCount(v int64) *ServiceSummary
- func (s *ServiceSummary) SetName(v string) *ServiceSummary
- func (s ServiceSummary) String() string
- type UpdateServiceInput
- type UpdateServiceOutput
- type UpdateServiceRequest
Constants ¶
const ( // ErrCodeDuplicateRequest for service response error code // "DuplicateRequest". // // This request tried to create an object that already exists. ErrCodeDuplicateRequest = "DuplicateRequest" // ErrCodeInstanceNotFound for service response error code // "InstanceNotFound". // // No instance exists with the specified ID. ErrCodeInstanceNotFound = "InstanceNotFound" // ErrCodeInvalidInput for service response error code // "InvalidInput". // // One or more specified values aren't valid. For example, when you're creating // a namespace, the value of Name might not be a valid DNS name. ErrCodeInvalidInput = "InvalidInput" // ErrCodeNamespaceAlreadyExists for service response error code // "NamespaceAlreadyExists". // // The namespace that you're trying to create already exists. ErrCodeNamespaceAlreadyExists = "NamespaceAlreadyExists" // ErrCodeNamespaceNotFound for service response error code // "NamespaceNotFound". // // No namespace exists with the specified ID. ErrCodeNamespaceNotFound = "NamespaceNotFound" // ErrCodeOperationNotFound for service response error code // "OperationNotFound". // // No operation exists with the specified ID. ErrCodeOperationNotFound = "OperationNotFound" // ErrCodeResourceInUse for service response error code // "ResourceInUse". // // The specified resource can't be deleted because it contains other resources. // For example, you can't delete a service that contains any instances. ErrCodeResourceInUse = "ResourceInUse" // ErrCodeResourceLimitExceeded for service response error code // "ResourceLimitExceeded". // // The resource can't be created because you've reached the limit on the number // of resources. ErrCodeResourceLimitExceeded = "ResourceLimitExceeded" // ErrCodeServiceAlreadyExists for service response error code // "ServiceAlreadyExists". // // The service can't be created because a service with the same name already // exists. ErrCodeServiceAlreadyExists = "ServiceAlreadyExists" // ErrCodeServiceNotFound for service response error code // "ServiceNotFound". // // No service exists with the specified ID. ErrCodeServiceNotFound = "ServiceNotFound" )
const ( ServiceName = "servicediscovery" // Service endpoint prefix API calls made to. EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreatePrivateDnsNamespaceInput ¶
type CreatePrivateDnsNamespaceInput struct { // An optional parameter that you can use to resolve concurrent creation requests. // CreatorRequestId helps to determine if a specific client owns the namespace. CreatorRequestId *string `type:"string" idempotencyToken:"true"` // A description for the namespace. Description *string `type:"string"` // The name that you want to assign to this namespace. When you create a namespace, // Amazon Route 53 automatically creates a hosted zone that has the same name // as the namespace. // // Name is a required field Name *string `type:"string" required:"true"` // The ID of the Amazon VPC that you want to associate the namespace with. // // Vpc is a required field Vpc *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreatePrivateDnsNamespaceRequest
func (CreatePrivateDnsNamespaceInput) GoString ¶
func (s CreatePrivateDnsNamespaceInput) GoString() string
GoString returns the string representation
func (*CreatePrivateDnsNamespaceInput) SetCreatorRequestId ¶
func (s *CreatePrivateDnsNamespaceInput) SetCreatorRequestId(v string) *CreatePrivateDnsNamespaceInput
SetCreatorRequestId sets the CreatorRequestId field's value.
func (*CreatePrivateDnsNamespaceInput) SetDescription ¶
func (s *CreatePrivateDnsNamespaceInput) SetDescription(v string) *CreatePrivateDnsNamespaceInput
SetDescription sets the Description field's value.
func (*CreatePrivateDnsNamespaceInput) SetName ¶
func (s *CreatePrivateDnsNamespaceInput) SetName(v string) *CreatePrivateDnsNamespaceInput
SetName sets the Name field's value.
func (*CreatePrivateDnsNamespaceInput) SetVpc ¶
func (s *CreatePrivateDnsNamespaceInput) SetVpc(v string) *CreatePrivateDnsNamespaceInput
SetVpc sets the Vpc field's value.
func (CreatePrivateDnsNamespaceInput) String ¶
func (s CreatePrivateDnsNamespaceInput) String() string
String returns the string representation
func (*CreatePrivateDnsNamespaceInput) Validate ¶
func (s *CreatePrivateDnsNamespaceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreatePrivateDnsNamespaceOutput ¶
type CreatePrivateDnsNamespaceOutput struct { // A value that you can use to determine whether the request completed successfully. // To get the status of the operation, see GetOperation. OperationId *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreatePrivateDnsNamespaceResponse
func (CreatePrivateDnsNamespaceOutput) GoString ¶
func (s CreatePrivateDnsNamespaceOutput) GoString() string
GoString returns the string representation
func (CreatePrivateDnsNamespaceOutput) SDKResponseMetadata ¶
func (s CreatePrivateDnsNamespaceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CreatePrivateDnsNamespaceOutput) SetOperationId ¶
func (s *CreatePrivateDnsNamespaceOutput) SetOperationId(v string) *CreatePrivateDnsNamespaceOutput
SetOperationId sets the OperationId field's value.
func (CreatePrivateDnsNamespaceOutput) String ¶
func (s CreatePrivateDnsNamespaceOutput) String() string
String returns the string representation
type CreatePrivateDnsNamespaceRequest ¶
type CreatePrivateDnsNamespaceRequest struct { *aws.Request Input *CreatePrivateDnsNamespaceInput }
CreatePrivateDnsNamespaceRequest is a API request type for the CreatePrivateDnsNamespace API operation.
func (CreatePrivateDnsNamespaceRequest) Send ¶
func (r CreatePrivateDnsNamespaceRequest) Send() (*CreatePrivateDnsNamespaceOutput, error)
Send marshals and sends the CreatePrivateDnsNamespace API request.
type CreatePublicDnsNamespaceInput ¶
type CreatePublicDnsNamespaceInput struct { // An optional parameter that you can use to resolve concurrent creation requests. // CreatorRequestId helps to determine if a specific client owns the namespace. CreatorRequestId *string `type:"string" idempotencyToken:"true"` // A description for the namespace. Description *string `type:"string"` // The name that you want to assign to this namespace. // // Name is a required field Name *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreatePublicDnsNamespaceRequest
func (CreatePublicDnsNamespaceInput) GoString ¶
func (s CreatePublicDnsNamespaceInput) GoString() string
GoString returns the string representation
func (*CreatePublicDnsNamespaceInput) SetCreatorRequestId ¶
func (s *CreatePublicDnsNamespaceInput) SetCreatorRequestId(v string) *CreatePublicDnsNamespaceInput
SetCreatorRequestId sets the CreatorRequestId field's value.
func (*CreatePublicDnsNamespaceInput) SetDescription ¶
func (s *CreatePublicDnsNamespaceInput) SetDescription(v string) *CreatePublicDnsNamespaceInput
SetDescription sets the Description field's value.
func (*CreatePublicDnsNamespaceInput) SetName ¶
func (s *CreatePublicDnsNamespaceInput) SetName(v string) *CreatePublicDnsNamespaceInput
SetName sets the Name field's value.
func (CreatePublicDnsNamespaceInput) String ¶
func (s CreatePublicDnsNamespaceInput) String() string
String returns the string representation
func (*CreatePublicDnsNamespaceInput) Validate ¶
func (s *CreatePublicDnsNamespaceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreatePublicDnsNamespaceOutput ¶
type CreatePublicDnsNamespaceOutput struct { // A value that you can use to determine whether the request completed successfully. // To get the status of the operation, see GetOperation. OperationId *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreatePublicDnsNamespaceResponse
func (CreatePublicDnsNamespaceOutput) GoString ¶
func (s CreatePublicDnsNamespaceOutput) GoString() string
GoString returns the string representation
func (CreatePublicDnsNamespaceOutput) SDKResponseMetadata ¶
func (s CreatePublicDnsNamespaceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CreatePublicDnsNamespaceOutput) SetOperationId ¶
func (s *CreatePublicDnsNamespaceOutput) SetOperationId(v string) *CreatePublicDnsNamespaceOutput
SetOperationId sets the OperationId field's value.
func (CreatePublicDnsNamespaceOutput) String ¶
func (s CreatePublicDnsNamespaceOutput) String() string
String returns the string representation
type CreatePublicDnsNamespaceRequest ¶
type CreatePublicDnsNamespaceRequest struct { *aws.Request Input *CreatePublicDnsNamespaceInput }
CreatePublicDnsNamespaceRequest is a API request type for the CreatePublicDnsNamespace API operation.
func (CreatePublicDnsNamespaceRequest) Send ¶
func (r CreatePublicDnsNamespaceRequest) Send() (*CreatePublicDnsNamespaceOutput, error)
Send marshals and sends the CreatePublicDnsNamespace API request.
type CreateServiceInput ¶
type CreateServiceInput struct { // An optional parameter that you can use to resolve concurrent creation requests. // CreatorRequestId helps to determine if a specific client owns the namespace. CreatorRequestId *string `type:"string" idempotencyToken:"true"` // A description for the service. Description *string `type:"string"` // A complex type that contains information about the resource record sets that // you want Amazon Route 53 to create when you register an instance. // // DnsConfig is a required field DnsConfig *DnsConfig `type:"structure" required:"true"` // Public DNS namespaces only. A complex type that contains settings for an // optional health check. If you specify settings for a health check, Amazon // Route 53 associates the health check with all the resource record sets that // you specify in DnsConfig. // // The health check uses 30 seconds as the request interval. This is the number // of seconds between the time that each Amazon Route 53 health checker gets // a response from your endpoint and the time that it sends the next health // check request. A health checker in each data center around the world sends // your endpoint a health check request every 30 seconds. On average, your endpoint // receives a health check request about every two seconds. Health checkers // in different data centers don't coordinate with one another, so you'll sometimes // see several requests per second followed by a few seconds with no health // checks at all. // // For information about the charges for health checks, see Amazon Route 53 // Pricing (http://aws.amazon.com/route53/pricing). HealthCheckConfig *HealthCheckConfig `type:"structure"` // The name that you want to assign to the service. // // Name is a required field Name *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreateServiceRequest
func (CreateServiceInput) GoString ¶
func (s CreateServiceInput) GoString() string
GoString returns the string representation
func (*CreateServiceInput) SetCreatorRequestId ¶
func (s *CreateServiceInput) SetCreatorRequestId(v string) *CreateServiceInput
SetCreatorRequestId sets the CreatorRequestId field's value.
func (*CreateServiceInput) SetDescription ¶
func (s *CreateServiceInput) SetDescription(v string) *CreateServiceInput
SetDescription sets the Description field's value.
func (*CreateServiceInput) SetDnsConfig ¶
func (s *CreateServiceInput) SetDnsConfig(v *DnsConfig) *CreateServiceInput
SetDnsConfig sets the DnsConfig field's value.
func (*CreateServiceInput) SetHealthCheckConfig ¶
func (s *CreateServiceInput) SetHealthCheckConfig(v *HealthCheckConfig) *CreateServiceInput
SetHealthCheckConfig sets the HealthCheckConfig field's value.
func (*CreateServiceInput) SetName ¶
func (s *CreateServiceInput) SetName(v string) *CreateServiceInput
SetName sets the Name field's value.
func (CreateServiceInput) String ¶
func (s CreateServiceInput) String() string
String returns the string representation
func (*CreateServiceInput) Validate ¶
func (s *CreateServiceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateServiceOutput ¶
type CreateServiceOutput struct { // A complex type that contains information about the new service. Service *Service `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreateServiceResponse
func (CreateServiceOutput) GoString ¶
func (s CreateServiceOutput) GoString() string
GoString returns the string representation
func (CreateServiceOutput) SDKResponseMetadata ¶
func (s CreateServiceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CreateServiceOutput) SetService ¶
func (s *CreateServiceOutput) SetService(v *Service) *CreateServiceOutput
SetService sets the Service field's value.
func (CreateServiceOutput) String ¶
func (s CreateServiceOutput) String() string
String returns the string representation
type CreateServiceRequest ¶
type CreateServiceRequest struct { *aws.Request Input *CreateServiceInput }
CreateServiceRequest is a API request type for the CreateService API operation.
func (CreateServiceRequest) Send ¶
func (r CreateServiceRequest) Send() (*CreateServiceOutput, error)
Send marshals and sends the CreateService API request.
type DeleteNamespaceInput ¶
type DeleteNamespaceInput struct { // The ID of the namespace that you want to delete. // // Id is a required field Id *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeleteNamespaceRequest
func (DeleteNamespaceInput) GoString ¶
func (s DeleteNamespaceInput) GoString() string
GoString returns the string representation
func (*DeleteNamespaceInput) SetId ¶
func (s *DeleteNamespaceInput) SetId(v string) *DeleteNamespaceInput
SetId sets the Id field's value.
func (DeleteNamespaceInput) String ¶
func (s DeleteNamespaceInput) String() string
String returns the string representation
func (*DeleteNamespaceInput) Validate ¶
func (s *DeleteNamespaceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteNamespaceOutput ¶
type DeleteNamespaceOutput struct { // A value that you can use to determine whether the request completed successfully. // To get the status of the operation, see GetOperation. OperationId *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeleteNamespaceResponse
func (DeleteNamespaceOutput) GoString ¶
func (s DeleteNamespaceOutput) GoString() string
GoString returns the string representation
func (DeleteNamespaceOutput) SDKResponseMetadata ¶
func (s DeleteNamespaceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DeleteNamespaceOutput) SetOperationId ¶
func (s *DeleteNamespaceOutput) SetOperationId(v string) *DeleteNamespaceOutput
SetOperationId sets the OperationId field's value.
func (DeleteNamespaceOutput) String ¶
func (s DeleteNamespaceOutput) String() string
String returns the string representation
type DeleteNamespaceRequest ¶
type DeleteNamespaceRequest struct { *aws.Request Input *DeleteNamespaceInput }
DeleteNamespaceRequest is a API request type for the DeleteNamespace API operation.
func (DeleteNamespaceRequest) Send ¶
func (r DeleteNamespaceRequest) Send() (*DeleteNamespaceOutput, error)
Send marshals and sends the DeleteNamespace API request.
type DeleteServiceInput ¶
type DeleteServiceInput struct { // The ID of the service that you want to delete. // // Id is a required field Id *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeleteServiceRequest
func (DeleteServiceInput) GoString ¶
func (s DeleteServiceInput) GoString() string
GoString returns the string representation
func (*DeleteServiceInput) SetId ¶
func (s *DeleteServiceInput) SetId(v string) *DeleteServiceInput
SetId sets the Id field's value.
func (DeleteServiceInput) String ¶
func (s DeleteServiceInput) String() string
String returns the string representation
func (*DeleteServiceInput) Validate ¶
func (s *DeleteServiceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteServiceOutput ¶
type DeleteServiceOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeleteServiceResponse
func (DeleteServiceOutput) GoString ¶
func (s DeleteServiceOutput) GoString() string
GoString returns the string representation
func (DeleteServiceOutput) SDKResponseMetadata ¶
func (s DeleteServiceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteServiceOutput) String ¶
func (s DeleteServiceOutput) String() string
String returns the string representation
type DeleteServiceRequest ¶
type DeleteServiceRequest struct { *aws.Request Input *DeleteServiceInput }
DeleteServiceRequest is a API request type for the DeleteService API operation.
func (DeleteServiceRequest) Send ¶
func (r DeleteServiceRequest) Send() (*DeleteServiceOutput, error)
Send marshals and sends the DeleteService API request.
type DeregisterInstanceInput ¶
type DeregisterInstanceInput struct { // The value that you specified for Id in the RegisterInstance request. // // InstanceId is a required field InstanceId *string `type:"string" required:"true"` // The ID of the service that the instance is associated with. // // ServiceId is a required field ServiceId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeregisterInstanceRequest
func (DeregisterInstanceInput) GoString ¶
func (s DeregisterInstanceInput) GoString() string
GoString returns the string representation
func (*DeregisterInstanceInput) SetInstanceId ¶
func (s *DeregisterInstanceInput) SetInstanceId(v string) *DeregisterInstanceInput
SetInstanceId sets the InstanceId field's value.
func (*DeregisterInstanceInput) SetServiceId ¶
func (s *DeregisterInstanceInput) SetServiceId(v string) *DeregisterInstanceInput
SetServiceId sets the ServiceId field's value.
func (DeregisterInstanceInput) String ¶
func (s DeregisterInstanceInput) String() string
String returns the string representation
func (*DeregisterInstanceInput) Validate ¶
func (s *DeregisterInstanceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeregisterInstanceOutput ¶
type DeregisterInstanceOutput struct { // A value that you can use to determine whether the request completed successfully. // For more information, see GetOperation. OperationId *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeregisterInstanceResponse
func (DeregisterInstanceOutput) GoString ¶
func (s DeregisterInstanceOutput) GoString() string
GoString returns the string representation
func (DeregisterInstanceOutput) SDKResponseMetadata ¶
func (s DeregisterInstanceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DeregisterInstanceOutput) SetOperationId ¶
func (s *DeregisterInstanceOutput) SetOperationId(v string) *DeregisterInstanceOutput
SetOperationId sets the OperationId field's value.
func (DeregisterInstanceOutput) String ¶
func (s DeregisterInstanceOutput) String() string
String returns the string representation
type DeregisterInstanceRequest ¶
type DeregisterInstanceRequest struct { *aws.Request Input *DeregisterInstanceInput }
DeregisterInstanceRequest is a API request type for the DeregisterInstance API operation.
func (DeregisterInstanceRequest) Send ¶
func (r DeregisterInstanceRequest) Send() (*DeregisterInstanceOutput, error)
Send marshals and sends the DeregisterInstance API request.
type DnsConfig ¶
type DnsConfig struct { // An array that contains one DnsRecord object for each resource record set // that you want Amazon Route 53 to create when you register an instance. // // DnsRecords is a required field DnsRecords []DnsRecord `type:"list" required:"true"` // The ID of the namespace to use for DNS configuration. // // NamespaceId is a required field NamespaceId *string `type:"string" required:"true"` // contains filtered or unexported fields }
A complex type that contains information about the resource record sets that you want Amazon Route 53 to create when you register an instance. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DnsConfig
func (*DnsConfig) SetDnsRecords ¶
SetDnsRecords sets the DnsRecords field's value.
func (*DnsConfig) SetNamespaceId ¶
SetNamespaceId sets the NamespaceId field's value.
type DnsConfigChange ¶
type DnsConfigChange struct { // An array that contains one DnsRecord object for each resource record set // that you want Amazon Route 53 to create when you register an instance. // // DnsRecords is a required field DnsRecords []DnsRecord `type:"list" required:"true"` // contains filtered or unexported fields }
A complex type that contains information about changes to the resource record sets that Amazon Route 53 creates when you register an instance. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DnsConfigChange
func (DnsConfigChange) GoString ¶
func (s DnsConfigChange) GoString() string
GoString returns the string representation
func (*DnsConfigChange) SetDnsRecords ¶
func (s *DnsConfigChange) SetDnsRecords(v []DnsRecord) *DnsConfigChange
SetDnsRecords sets the DnsRecords field's value.
func (DnsConfigChange) String ¶
func (s DnsConfigChange) String() string
String returns the string representation
func (*DnsConfigChange) Validate ¶
func (s *DnsConfigChange) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DnsProperties ¶
type DnsProperties struct { // The ID for the hosted zone that Amazon Route 53 creates when you create a // namespace. HostedZoneId *string `type:"string"` // contains filtered or unexported fields }
A complex type that contains the ID for the hosted zone that Amazon Route 53 creates when you create a namespace. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DnsProperties
func (DnsProperties) GoString ¶
func (s DnsProperties) GoString() string
GoString returns the string representation
func (*DnsProperties) SetHostedZoneId ¶
func (s *DnsProperties) SetHostedZoneId(v string) *DnsProperties
SetHostedZoneId sets the HostedZoneId field's value.
func (DnsProperties) String ¶
func (s DnsProperties) String() string
String returns the string representation
type DnsRecord ¶
type DnsRecord struct { // The amount of time, in seconds, that you want DNS resolvers to cache the // settings for this resource record set. // // TTL is a required field TTL *int64 `type:"long" required:"true"` // The type of the resource, which indicates the value that Amazon Route 53 // returns in response to DNS queries. The following values are supported: // // * A: Amazon Route 53 returns the IP address of the resource in IPv4 format, // such as 192.0.2.44. // // * AAAA: Amazon Route 53 returns the IP address of the resource in IPv6 // format, such as 2001:0db8:85a3:0000:0000:abcd:0001:2345. // // * SRV: Amazon Route 53 returns the value for an SRV record. The value // for an SRV record uses the following template, which can't be changed: // // priority weight port resource-record-set-name // // The values of priority and weight are both set to 1. The value of port comes // from the value that you specify for Port when you submit a RegisterInstance // request. // // Type is a required field Type RecordType `type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
A complex type that contains information about the resource record sets that you want Amazon Route 53 to create when you register an instance. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DnsRecord
func (*DnsRecord) SetType ¶
func (s *DnsRecord) SetType(v RecordType) *DnsRecord
SetType sets the Type field's value.
type FilterCondition ¶
type FilterCondition string
const ( FilterConditionEq FilterCondition = "EQ" FilterConditionIn FilterCondition = "IN" FilterConditionBetween FilterCondition = "BETWEEN" )
Enum values for FilterCondition
type GetInstanceInput ¶
type GetInstanceInput struct { // The ID of the instance that you want to get information about. // // InstanceId is a required field InstanceId *string `type:"string" required:"true"` // The ID of the service that the instance is associated with. // // ServiceId is a required field ServiceId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetInstanceRequest
func (GetInstanceInput) GoString ¶
func (s GetInstanceInput) GoString() string
GoString returns the string representation
func (*GetInstanceInput) SetInstanceId ¶
func (s *GetInstanceInput) SetInstanceId(v string) *GetInstanceInput
SetInstanceId sets the InstanceId field's value.
func (*GetInstanceInput) SetServiceId ¶
func (s *GetInstanceInput) SetServiceId(v string) *GetInstanceInput
SetServiceId sets the ServiceId field's value.
func (GetInstanceInput) String ¶
func (s GetInstanceInput) String() string
String returns the string representation
func (*GetInstanceInput) Validate ¶
func (s *GetInstanceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetInstanceOutput ¶
type GetInstanceOutput struct { // A complex type that contains information about a specified instance. Instance *Instance `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetInstanceResponse
func (GetInstanceOutput) GoString ¶
func (s GetInstanceOutput) GoString() string
GoString returns the string representation
func (GetInstanceOutput) SDKResponseMetadata ¶
func (s GetInstanceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetInstanceOutput) SetInstance ¶
func (s *GetInstanceOutput) SetInstance(v *Instance) *GetInstanceOutput
SetInstance sets the Instance field's value.
func (GetInstanceOutput) String ¶
func (s GetInstanceOutput) String() string
String returns the string representation
type GetInstanceRequest ¶
type GetInstanceRequest struct { *aws.Request Input *GetInstanceInput }
GetInstanceRequest is a API request type for the GetInstance API operation.
func (GetInstanceRequest) Send ¶
func (r GetInstanceRequest) Send() (*GetInstanceOutput, error)
Send marshals and sends the GetInstance API request.
type GetInstancesHealthStatusInput ¶
type GetInstancesHealthStatusInput struct { // An array that contains the IDs of all the instances that you want to get // the health status for. To get the IDs for the instances that you've created // by using a specified service, submit a ListInstances request. // // If you omit Instances, Amazon Route 53 returns the health status for all // the instances that are associated with the specified service. Instances []string `min:"1" type:"list"` // The maximum number of instances that you want Amazon Route 53 to return in // the response to a GetInstancesHealthStatus request. If you don't specify // a value for MaxResults, Amazon Route 53 returns up to 100 instances. MaxResults *int64 `min:"1" type:"integer"` // For the first GetInstancesHealthStatus request, omit this value. // // If more than MaxResults instances match the specified criteria, you can submit // another GetInstancesHealthStatus request to get the next group of results. // Specify the value of NextToken from the previous response in the next request. NextToken *string `type:"string"` // The ID of the service that the instance is associated with. // // ServiceId is a required field ServiceId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetInstancesHealthStatusRequest
func (GetInstancesHealthStatusInput) GoString ¶
func (s GetInstancesHealthStatusInput) GoString() string
GoString returns the string representation
func (*GetInstancesHealthStatusInput) SetInstances ¶
func (s *GetInstancesHealthStatusInput) SetInstances(v []string) *GetInstancesHealthStatusInput
SetInstances sets the Instances field's value.
func (*GetInstancesHealthStatusInput) SetMaxResults ¶
func (s *GetInstancesHealthStatusInput) SetMaxResults(v int64) *GetInstancesHealthStatusInput
SetMaxResults sets the MaxResults field's value.
func (*GetInstancesHealthStatusInput) SetNextToken ¶
func (s *GetInstancesHealthStatusInput) SetNextToken(v string) *GetInstancesHealthStatusInput
SetNextToken sets the NextToken field's value.
func (*GetInstancesHealthStatusInput) SetServiceId ¶
func (s *GetInstancesHealthStatusInput) SetServiceId(v string) *GetInstancesHealthStatusInput
SetServiceId sets the ServiceId field's value.
func (GetInstancesHealthStatusInput) String ¶
func (s GetInstancesHealthStatusInput) String() string
String returns the string representation
func (*GetInstancesHealthStatusInput) Validate ¶
func (s *GetInstancesHealthStatusInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetInstancesHealthStatusOutput ¶
type GetInstancesHealthStatusOutput struct { // If more than MaxResults instances match the specified criteria, you can submit // another GetInstancesHealthStatus request to get the next group of results. // Specify the value of NextToken from the previous response in the next request. NextToken *string `type:"string"` // A complex type that contains the IDs and the health status of the instances // that you specified in the GetInstancesHealthStatus request. Status map[string]HealthStatus `type:"map"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetInstancesHealthStatusResponse
func (GetInstancesHealthStatusOutput) GoString ¶
func (s GetInstancesHealthStatusOutput) GoString() string
GoString returns the string representation
func (GetInstancesHealthStatusOutput) SDKResponseMetadata ¶
func (s GetInstancesHealthStatusOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetInstancesHealthStatusOutput) SetNextToken ¶
func (s *GetInstancesHealthStatusOutput) SetNextToken(v string) *GetInstancesHealthStatusOutput
SetNextToken sets the NextToken field's value.
func (*GetInstancesHealthStatusOutput) SetStatus ¶
func (s *GetInstancesHealthStatusOutput) SetStatus(v map[string]HealthStatus) *GetInstancesHealthStatusOutput
SetStatus sets the Status field's value.
func (GetInstancesHealthStatusOutput) String ¶
func (s GetInstancesHealthStatusOutput) String() string
String returns the string representation
type GetInstancesHealthStatusRequest ¶
type GetInstancesHealthStatusRequest struct { *aws.Request Input *GetInstancesHealthStatusInput }
GetInstancesHealthStatusRequest is a API request type for the GetInstancesHealthStatus API operation.
func (GetInstancesHealthStatusRequest) Send ¶
func (r GetInstancesHealthStatusRequest) Send() (*GetInstancesHealthStatusOutput, error)
Send marshals and sends the GetInstancesHealthStatus API request.
type GetNamespaceInput ¶
type GetNamespaceInput struct { // The ID of the namespace that you want to get information about. // // Id is a required field Id *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetNamespaceRequest
func (GetNamespaceInput) GoString ¶
func (s GetNamespaceInput) GoString() string
GoString returns the string representation
func (*GetNamespaceInput) SetId ¶
func (s *GetNamespaceInput) SetId(v string) *GetNamespaceInput
SetId sets the Id field's value.
func (GetNamespaceInput) String ¶
func (s GetNamespaceInput) String() string
String returns the string representation
func (*GetNamespaceInput) Validate ¶
func (s *GetNamespaceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetNamespaceOutput ¶
type GetNamespaceOutput struct { // A complex type that contains information about the specified namespace. Namespace *Namespace `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetNamespaceResponse
func (GetNamespaceOutput) GoString ¶
func (s GetNamespaceOutput) GoString() string
GoString returns the string representation
func (GetNamespaceOutput) SDKResponseMetadata ¶
func (s GetNamespaceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetNamespaceOutput) SetNamespace ¶
func (s *GetNamespaceOutput) SetNamespace(v *Namespace) *GetNamespaceOutput
SetNamespace sets the Namespace field's value.
func (GetNamespaceOutput) String ¶
func (s GetNamespaceOutput) String() string
String returns the string representation
type GetNamespaceRequest ¶
type GetNamespaceRequest struct { *aws.Request Input *GetNamespaceInput }
GetNamespaceRequest is a API request type for the GetNamespace API operation.
func (GetNamespaceRequest) Send ¶
func (r GetNamespaceRequest) Send() (*GetNamespaceOutput, error)
Send marshals and sends the GetNamespace API request.
type GetOperationInput ¶
type GetOperationInput struct { // The ID of the operation that you want to get more information about. // // OperationId is a required field OperationId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetOperationRequest
func (GetOperationInput) GoString ¶
func (s GetOperationInput) GoString() string
GoString returns the string representation
func (*GetOperationInput) SetOperationId ¶
func (s *GetOperationInput) SetOperationId(v string) *GetOperationInput
SetOperationId sets the OperationId field's value.
func (GetOperationInput) String ¶
func (s GetOperationInput) String() string
String returns the string representation
func (*GetOperationInput) Validate ¶
func (s *GetOperationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetOperationOutput ¶
type GetOperationOutput struct { // A complex type that contains information about the operation. Operation *Operation `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetOperationResponse
func (GetOperationOutput) GoString ¶
func (s GetOperationOutput) GoString() string
GoString returns the string representation
func (GetOperationOutput) SDKResponseMetadata ¶
func (s GetOperationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetOperationOutput) SetOperation ¶
func (s *GetOperationOutput) SetOperation(v *Operation) *GetOperationOutput
SetOperation sets the Operation field's value.
func (GetOperationOutput) String ¶
func (s GetOperationOutput) String() string
String returns the string representation
type GetOperationRequest ¶
type GetOperationRequest struct { *aws.Request Input *GetOperationInput }
GetOperationRequest is a API request type for the GetOperation API operation.
func (GetOperationRequest) Send ¶
func (r GetOperationRequest) Send() (*GetOperationOutput, error)
Send marshals and sends the GetOperation API request.
type GetServiceInput ¶
type GetServiceInput struct { // The ID of the service that you want to get settings for. // // Id is a required field Id *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetServiceRequest
func (GetServiceInput) GoString ¶
func (s GetServiceInput) GoString() string
GoString returns the string representation
func (*GetServiceInput) SetId ¶
func (s *GetServiceInput) SetId(v string) *GetServiceInput
SetId sets the Id field's value.
func (GetServiceInput) String ¶
func (s GetServiceInput) String() string
String returns the string representation
func (*GetServiceInput) Validate ¶
func (s *GetServiceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetServiceOutput ¶
type GetServiceOutput struct { // A complex type that contains information about the service. Service *Service `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetServiceResponse
func (GetServiceOutput) GoString ¶
func (s GetServiceOutput) GoString() string
GoString returns the string representation
func (GetServiceOutput) SDKResponseMetadata ¶
func (s GetServiceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetServiceOutput) SetService ¶
func (s *GetServiceOutput) SetService(v *Service) *GetServiceOutput
SetService sets the Service field's value.
func (GetServiceOutput) String ¶
func (s GetServiceOutput) String() string
String returns the string representation
type GetServiceRequest ¶
type GetServiceRequest struct { *aws.Request Input *GetServiceInput }
GetServiceRequest is a API request type for the GetService API operation.
func (GetServiceRequest) Send ¶
func (r GetServiceRequest) Send() (*GetServiceOutput, error)
Send marshals and sends the GetService API request.
type HealthCheckConfig ¶
type HealthCheckConfig struct { // The number of consecutive health checks that an endpoint must pass or fail // for Amazon Route 53 to change the current status of the endpoint from unhealthy // to healthy or vice versa. For more information, see How Amazon Route 53 Determines // Whether an Endpoint Is Healthy (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-determining-health-of-endpoints.html) // in the Amazon Route 53 Developer Guide. FailureThreshold *int64 `min:"1" type:"integer"` // The path that you want Amazon Route 53 to request when performing health // checks. The path can be any value for which your endpoint will return an // HTTP status code of 2xx or 3xx when the endpoint is healthy, such as the // file /docs/route53-health-check.html. Amazon Route 53 automatically adds // the DNS name for the service and a leading forward slash (/) character. ResourcePath *string `type:"string"` // The type of health check that you want to create, which indicates how Amazon // Route 53 determines whether an endpoint is healthy. // // You can't change the value of Type after you create a health check. // // You can create the following types of health checks: // // * HTTP: Amazon Route 53 tries to establish a TCP connection. If successful, // Amazon Route 53 submits an HTTP request and waits for an HTTP status code // of 200 or greater and less than 400. // // * HTTPS: Amazon Route 53 tries to establish a TCP connection. If successful, // Amazon Route 53 submits an HTTPS request and waits for an HTTP status // code of 200 or greater and less than 400. // // If you specify HTTPS for the value of Type, the endpoint must support TLS // v1.0 or later. // // * TCP: Amazon Route 53 tries to establish a TCP connection. // // For more information, see How Amazon Route 53 Determines Whether an Endpoint // Is Healthy (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-determining-health-of-endpoints.html) // in the Amazon Route 53 Developer Guide. Type HealthCheckType `type:"string" enum:"true"` // contains filtered or unexported fields }
Public DNS namespaces only. A complex type that contains settings for an optional health check. If you specify settings for a health check, Amazon Route 53 associates the health check with all the resource record sets that you specify in DnsConfig.
The health check uses 30 seconds as the request interval. This is the number of seconds between the time that each Amazon Route 53 health checker gets a response from your endpoint and the time that it sends the next health check request. A health checker in each data center around the world sends your endpoint a health check request every 30 seconds. On average, your endpoint receives a health check request about every two seconds. Health checkers in different data centers don't coordinate with one another, so you'll sometimes see several requests per second followed by a few seconds with no health checks at all.
For information about the charges for health checks, see Amazon Route 53 Pricing (http://aws.amazon.com/route53/pricing). Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/HealthCheckConfig
func (HealthCheckConfig) GoString ¶
func (s HealthCheckConfig) GoString() string
GoString returns the string representation
func (*HealthCheckConfig) SetFailureThreshold ¶
func (s *HealthCheckConfig) SetFailureThreshold(v int64) *HealthCheckConfig
SetFailureThreshold sets the FailureThreshold field's value.
func (*HealthCheckConfig) SetResourcePath ¶
func (s *HealthCheckConfig) SetResourcePath(v string) *HealthCheckConfig
SetResourcePath sets the ResourcePath field's value.
func (*HealthCheckConfig) SetType ¶
func (s *HealthCheckConfig) SetType(v HealthCheckType) *HealthCheckConfig
SetType sets the Type field's value.
func (HealthCheckConfig) String ¶
func (s HealthCheckConfig) String() string
String returns the string representation
func (*HealthCheckConfig) Validate ¶
func (s *HealthCheckConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type HealthCheckType ¶
type HealthCheckType string
const ( HealthCheckTypeHttp HealthCheckType = "HTTP" HealthCheckTypeHttps HealthCheckType = "HTTPS" HealthCheckTypeTcp HealthCheckType = "TCP" )
Enum values for HealthCheckType
type HealthStatus ¶
type HealthStatus string
const ( HealthStatusHealthy HealthStatus = "HEALTHY" HealthStatusUnhealthy HealthStatus = "UNHEALTHY" HealthStatusUnknown HealthStatus = "UNKNOWN" )
Enum values for HealthStatus
type Instance ¶
type Instance struct { // A string map that contains attribute keys and values. Supported attribute // keys include the following: // // * AWS_INSTANCE_PORT: The port on the endpoint that you want Amazon Route // 53 to perform health checks on. This value is also used for the port value // in an SRV record if the service that you specify includes an SRV record. // For more information, see CreateService. // // * AWS_INSTANCE_IP: If the service that you specify contains a resource // record set template for an A or AAAA record, the IP address that you want // Amazon Route 53 to use for the value of the A record. // // * AWS_INSTANCE_WEIGHT: The weight value in an SRV record if the service // that you specify includes an SRV record. You can also specify a default // weight that is applied to all instances in the Service configuration. // For more information, see CreateService. // // * AWS_INSTANCE_PRIORITY: The priority value in an SRV record if the service // that you specify includes an SRV record. Attributes map[string]string `type:"map"` // An optional parameter that you can use to resolve concurrent creation requests. // CreatorRequestId helps to determine if a specific client owns the namespace. CreatorRequestId *string `type:"string"` // An identifier that you want to associate with the instance. Note the following: // // * You can use this value to update an existing instance. // // * To associate a new instance, you must specify a value that is unique // among instances that you associate by using the same service. // // Id is a required field Id *string `type:"string" required:"true"` // contains filtered or unexported fields }
A complex type that contains information about an instance that Amazon Route 53 creates when you submit a RegisterInstance request. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/Instance
func (*Instance) SetAttributes ¶
SetAttributes sets the Attributes field's value.
func (*Instance) SetCreatorRequestId ¶
SetCreatorRequestId sets the CreatorRequestId field's value.
type InstanceSummary ¶
type InstanceSummary struct { // A string map that contain attribute keys and values for an instance. Supported // attribute keys include the following: // // * AWS_INSTANCE_PORT: The port on the endpoint that you want Amazon Route // 53 to perform health checks on. This value is also used for the port value // in an SRV record if the service that you specify includes an SRV record. // For more information, see CreateService. // // * AWS_INSTANCE_IP: If the service that you specify contains a resource // record set template for an A or AAAA record, the IP address that you want // Amazon Route 53 to use for the value of the A record. Attributes map[string]string `type:"map"` // The ID for an instance that you created by using a specified service. Id *string `type:"string"` // contains filtered or unexported fields }
A complex type that contains information about the instances that you created by using a specified service. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/InstanceSummary
func (InstanceSummary) GoString ¶
func (s InstanceSummary) GoString() string
GoString returns the string representation
func (*InstanceSummary) SetAttributes ¶
func (s *InstanceSummary) SetAttributes(v map[string]string) *InstanceSummary
SetAttributes sets the Attributes field's value.
func (*InstanceSummary) SetId ¶
func (s *InstanceSummary) SetId(v string) *InstanceSummary
SetId sets the Id field's value.
func (InstanceSummary) String ¶
func (s InstanceSummary) String() string
String returns the string representation
type ListInstancesInput ¶
type ListInstancesInput struct { // The maximum number of instances that you want Amazon Route 53 to return in // the response to a ListInstances request. If you don't specify a value for // MaxResults, Amazon Route 53 returns up to 100 instances. MaxResults *int64 `min:"1" type:"integer"` // For the first ListInstances request, omit this value. // // If more than MaxResults instances match the specified criteria, you can submit // another ListInstances request to get the next group of results. Specify the // value of NextToken from the previous response in the next request. NextToken *string `type:"string"` // The ID of the service that you want to list instances for. // // ServiceId is a required field ServiceId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListInstancesRequest
func (ListInstancesInput) GoString ¶
func (s ListInstancesInput) GoString() string
GoString returns the string representation
func (*ListInstancesInput) SetMaxResults ¶
func (s *ListInstancesInput) SetMaxResults(v int64) *ListInstancesInput
SetMaxResults sets the MaxResults field's value.
func (*ListInstancesInput) SetNextToken ¶
func (s *ListInstancesInput) SetNextToken(v string) *ListInstancesInput
SetNextToken sets the NextToken field's value.
func (*ListInstancesInput) SetServiceId ¶
func (s *ListInstancesInput) SetServiceId(v string) *ListInstancesInput
SetServiceId sets the ServiceId field's value.
func (ListInstancesInput) String ¶
func (s ListInstancesInput) String() string
String returns the string representation
func (*ListInstancesInput) Validate ¶
func (s *ListInstancesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListInstancesOutput ¶
type ListInstancesOutput struct { // Summary information about the instances that are associated with the specified // service. Instances []InstanceSummary `type:"list"` // If more than MaxResults instances match the specified criteria, you can submit // another ListInstances request to get the next group of results. Specify the // value of NextToken from the previous response in the next request. NextToken *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListInstancesResponse
func (ListInstancesOutput) GoString ¶
func (s ListInstancesOutput) GoString() string
GoString returns the string representation
func (ListInstancesOutput) SDKResponseMetadata ¶
func (s ListInstancesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*ListInstancesOutput) SetInstances ¶
func (s *ListInstancesOutput) SetInstances(v []InstanceSummary) *ListInstancesOutput
SetInstances sets the Instances field's value.
func (*ListInstancesOutput) SetNextToken ¶
func (s *ListInstancesOutput) SetNextToken(v string) *ListInstancesOutput
SetNextToken sets the NextToken field's value.
func (ListInstancesOutput) String ¶
func (s ListInstancesOutput) String() string
String returns the string representation
type ListInstancesRequest ¶
type ListInstancesRequest struct { *aws.Request Input *ListInstancesInput }
ListInstancesRequest is a API request type for the ListInstances API operation.
func (ListInstancesRequest) Send ¶
func (r ListInstancesRequest) Send() (*ListInstancesOutput, error)
Send marshals and sends the ListInstances API request.
type ListNamespacesInput ¶
type ListNamespacesInput struct { // A complex type that contains specifications for the namespaces that you want // to list. // // If you specify more than one filter, an operation must match all filters // to be returned by ListNamespaces. Filters []NamespaceFilter `type:"list"` // The maximum number of namespaces that you want Amazon Route 53 to return // in the response to a ListNamespaces request. If you don't specify a value // for MaxResults, Amazon Route 53 returns up to 100 namespaces. MaxResults *int64 `min:"1" type:"integer"` // For the first ListNamespaces request, omit this value. // // If more than MaxResults namespaces match the specified criteria, you can // submit another ListNamespaces request to get the next group of results. Specify // the value of NextToken from the previous response in the next request. NextToken *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListNamespacesRequest
func (ListNamespacesInput) GoString ¶
func (s ListNamespacesInput) GoString() string
GoString returns the string representation
func (*ListNamespacesInput) SetFilters ¶
func (s *ListNamespacesInput) SetFilters(v []NamespaceFilter) *ListNamespacesInput
SetFilters sets the Filters field's value.
func (*ListNamespacesInput) SetMaxResults ¶
func (s *ListNamespacesInput) SetMaxResults(v int64) *ListNamespacesInput
SetMaxResults sets the MaxResults field's value.
func (*ListNamespacesInput) SetNextToken ¶
func (s *ListNamespacesInput) SetNextToken(v string) *ListNamespacesInput
SetNextToken sets the NextToken field's value.
func (ListNamespacesInput) String ¶
func (s ListNamespacesInput) String() string
String returns the string representation
func (*ListNamespacesInput) Validate ¶
func (s *ListNamespacesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListNamespacesOutput ¶
type ListNamespacesOutput struct { // An array that contains one NamespaceSummary object for each namespace that // matches the specified filter criteria. Namespaces []NamespaceSummary `type:"list"` // If more than MaxResults namespaces match the specified criteria, you can // submit another ListNamespaces request to get the next group of results. Specify // the value of NextToken from the previous response in the next request. NextToken *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListNamespacesResponse
func (ListNamespacesOutput) GoString ¶
func (s ListNamespacesOutput) GoString() string
GoString returns the string representation
func (ListNamespacesOutput) SDKResponseMetadata ¶
func (s ListNamespacesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*ListNamespacesOutput) SetNamespaces ¶
func (s *ListNamespacesOutput) SetNamespaces(v []NamespaceSummary) *ListNamespacesOutput
SetNamespaces sets the Namespaces field's value.
func (*ListNamespacesOutput) SetNextToken ¶
func (s *ListNamespacesOutput) SetNextToken(v string) *ListNamespacesOutput
SetNextToken sets the NextToken field's value.
func (ListNamespacesOutput) String ¶
func (s ListNamespacesOutput) String() string
String returns the string representation
type ListNamespacesRequest ¶
type ListNamespacesRequest struct { *aws.Request Input *ListNamespacesInput }
ListNamespacesRequest is a API request type for the ListNamespaces API operation.
func (ListNamespacesRequest) Send ¶
func (r ListNamespacesRequest) Send() (*ListNamespacesOutput, error)
Send marshals and sends the ListNamespaces API request.
type ListOperationsInput ¶
type ListOperationsInput struct { // A complex type that contains specifications for the operations that you want // to list, for example, operations that you started between a specified start // date and end date. // // If you specify more than one filter, an operation must match all filters // to be returned by ListOperations. Filters []OperationFilter `type:"list"` // The maximum number of items that you want Amazon Route 53 to return in the // response to a ListOperations request. If you don't specify a value for MaxResults, // Amazon Route 53 returns up to 100 operations. MaxResults *int64 `min:"1" type:"integer"` // For the first ListOperations request, omit this value. // // If more than MaxResults operations match the specified criteria, you can // submit another ListOperations request to get the next group of results. Specify // the value of NextToken from the previous response in the next request. NextToken *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListOperationsRequest
func (ListOperationsInput) GoString ¶
func (s ListOperationsInput) GoString() string
GoString returns the string representation
func (*ListOperationsInput) SetFilters ¶
func (s *ListOperationsInput) SetFilters(v []OperationFilter) *ListOperationsInput
SetFilters sets the Filters field's value.
func (*ListOperationsInput) SetMaxResults ¶
func (s *ListOperationsInput) SetMaxResults(v int64) *ListOperationsInput
SetMaxResults sets the MaxResults field's value.
func (*ListOperationsInput) SetNextToken ¶
func (s *ListOperationsInput) SetNextToken(v string) *ListOperationsInput
SetNextToken sets the NextToken field's value.
func (ListOperationsInput) String ¶
func (s ListOperationsInput) String() string
String returns the string representation
func (*ListOperationsInput) Validate ¶
func (s *ListOperationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListOperationsOutput ¶
type ListOperationsOutput struct { // If more than MaxResults operations match the specified criteria, you can // submit another ListOperations request to get the next group of results. Specify // the value of NextToken from the previous response in the next request. NextToken *string `type:"string"` // Summary information about the operations that match the specified criteria. Operations []OperationSummary `type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListOperationsResponse
func (ListOperationsOutput) GoString ¶
func (s ListOperationsOutput) GoString() string
GoString returns the string representation
func (ListOperationsOutput) SDKResponseMetadata ¶
func (s ListOperationsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*ListOperationsOutput) SetNextToken ¶
func (s *ListOperationsOutput) SetNextToken(v string) *ListOperationsOutput
SetNextToken sets the NextToken field's value.
func (*ListOperationsOutput) SetOperations ¶
func (s *ListOperationsOutput) SetOperations(v []OperationSummary) *ListOperationsOutput
SetOperations sets the Operations field's value.
func (ListOperationsOutput) String ¶
func (s ListOperationsOutput) String() string
String returns the string representation
type ListOperationsRequest ¶
type ListOperationsRequest struct { *aws.Request Input *ListOperationsInput }
ListOperationsRequest is a API request type for the ListOperations API operation.
func (ListOperationsRequest) Send ¶
func (r ListOperationsRequest) Send() (*ListOperationsOutput, error)
Send marshals and sends the ListOperations API request.
type ListServicesInput ¶
type ListServicesInput struct { // A complex type that contains specifications for the namespaces that you want // to list services for. // // If you specify more than one filter, an operation must match all filters // to be returned by ListServices. Filters []ServiceFilter `type:"list"` // The maximum number of services that you want Amazon Route 53 to return in // the response to a ListServices request. If you don't specify a value for // MaxResults, Amazon Route 53 returns up to 100 services. MaxResults *int64 `min:"1" type:"integer"` // For the first ListServices request, omit this value. // // If more than MaxResults services match the specified criteria, you can submit // another ListServices request to get the next group of results. Specify the // value of NextToken from the previous response in the next request. NextToken *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListServicesRequest
func (ListServicesInput) GoString ¶
func (s ListServicesInput) GoString() string
GoString returns the string representation
func (*ListServicesInput) SetFilters ¶
func (s *ListServicesInput) SetFilters(v []ServiceFilter) *ListServicesInput
SetFilters sets the Filters field's value.
func (*ListServicesInput) SetMaxResults ¶
func (s *ListServicesInput) SetMaxResults(v int64) *ListServicesInput
SetMaxResults sets the MaxResults field's value.
func (*ListServicesInput) SetNextToken ¶
func (s *ListServicesInput) SetNextToken(v string) *ListServicesInput
SetNextToken sets the NextToken field's value.
func (ListServicesInput) String ¶
func (s ListServicesInput) String() string
String returns the string representation
func (*ListServicesInput) Validate ¶
func (s *ListServicesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListServicesOutput ¶
type ListServicesOutput struct { // If more than MaxResults operations match the specified criteria, the value // of NextToken is the first service in the next group of services that were // created by the current AWS account. To get the next group, specify the value // of NextToken from the previous response in the next request. NextToken *string `type:"string"` // An array that contains one ServiceSummary object for each service that matches // the specified filter criteria. Services []ServiceSummary `type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListServicesResponse
func (ListServicesOutput) GoString ¶
func (s ListServicesOutput) GoString() string
GoString returns the string representation
func (ListServicesOutput) SDKResponseMetadata ¶
func (s ListServicesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*ListServicesOutput) SetNextToken ¶
func (s *ListServicesOutput) SetNextToken(v string) *ListServicesOutput
SetNextToken sets the NextToken field's value.
func (*ListServicesOutput) SetServices ¶
func (s *ListServicesOutput) SetServices(v []ServiceSummary) *ListServicesOutput
SetServices sets the Services field's value.
func (ListServicesOutput) String ¶
func (s ListServicesOutput) String() string
String returns the string representation
type ListServicesRequest ¶
type ListServicesRequest struct { *aws.Request Input *ListServicesInput }
ListServicesRequest is a API request type for the ListServices API operation.
func (ListServicesRequest) Send ¶
func (r ListServicesRequest) Send() (*ListServicesOutput, error)
Send marshals and sends the ListServices API request.
type Namespace ¶
type Namespace struct { // The Amazon Resource Name (ARN) that Amazon Route 53 assigns to the namespace // when you create it. Arn *string `type:"string"` // The date that the namespace was created, in Unix date/time format and Coordinated // Universal Time (UTC). CreateDate *time.Time `type:"timestamp" timestampFormat:"unix"` // An optional parameter that you can use to resolve concurrent creation requests. // CreatorRequestId helps to determine if a specific client owns the namespace. CreatorRequestId *string `type:"string"` // The description that you specify for the namespace when you create it. Description *string `type:"string"` // The ID of a namespace. Id *string `type:"string"` // The name of the namespace, such as example.com. Name *string `type:"string"` // A complex type that contains information that's specific to the type of the // namespace. Properties *NamespaceProperties `type:"structure"` // The number of services that are associated with the namespace. ServiceCount *int64 `type:"integer"` // The type of the namespace. Valid values are DNS_PUBLIC and DNS_PRIVATE. Type NamespaceType `type:"string" enum:"true"` // contains filtered or unexported fields }
A complex type that contains information about a specified namespace. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/Namespace
func (*Namespace) SetCreateDate ¶
SetCreateDate sets the CreateDate field's value.
func (*Namespace) SetCreatorRequestId ¶
SetCreatorRequestId sets the CreatorRequestId field's value.
func (*Namespace) SetDescription ¶
SetDescription sets the Description field's value.
func (*Namespace) SetProperties ¶
func (s *Namespace) SetProperties(v *NamespaceProperties) *Namespace
SetProperties sets the Properties field's value.
func (*Namespace) SetServiceCount ¶
SetServiceCount sets the ServiceCount field's value.
func (*Namespace) SetType ¶
func (s *Namespace) SetType(v NamespaceType) *Namespace
SetType sets the Type field's value.
type NamespaceFilter ¶
type NamespaceFilter struct { // The operator that you want to use to determine whether ListNamespaces returns // a namespace. Valid values for condition include: // // * EQ: When you specify EQ for the condition, you can choose to list only // public namespaces or private namespaces, but not both. EQ is the default // condition and can be omitted. // // * IN: When you specify IN for the condition, you can choose to list public // namespaces, private namespaces, or both. Condition FilterCondition `type:"string" enum:"true"` // Specify TYPE. // // Name is a required field Name NamespaceFilterName `type:"string" required:"true" enum:"true"` // If you specify EQ for Condition, specify either DNS_PUBLIC or DNS_PRIVATE. // // If you specify IN for Condition, you can specify DNS_PUBLIC, DNS_PRIVATE, // or both. // // Values is a required field Values []string `type:"list" required:"true"` // contains filtered or unexported fields }
A complex type that identifies the namespaces that you want to list. You can choose to list public or private namespaces. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/NamespaceFilter
func (NamespaceFilter) GoString ¶
func (s NamespaceFilter) GoString() string
GoString returns the string representation
func (*NamespaceFilter) SetCondition ¶
func (s *NamespaceFilter) SetCondition(v FilterCondition) *NamespaceFilter
SetCondition sets the Condition field's value.
func (*NamespaceFilter) SetName ¶
func (s *NamespaceFilter) SetName(v NamespaceFilterName) *NamespaceFilter
SetName sets the Name field's value.
func (*NamespaceFilter) SetValues ¶
func (s *NamespaceFilter) SetValues(v []string) *NamespaceFilter
SetValues sets the Values field's value.
func (NamespaceFilter) String ¶
func (s NamespaceFilter) String() string
String returns the string representation
func (*NamespaceFilter) Validate ¶
func (s *NamespaceFilter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type NamespaceFilterName ¶
type NamespaceFilterName string
const (
NamespaceFilterNameType NamespaceFilterName = "TYPE"
)
Enum values for NamespaceFilterName
type NamespaceProperties ¶
type NamespaceProperties struct { // A complex type that contains the ID for the hosted zone that Amazon Route // 53 creates when you create a namespace. DnsProperties *DnsProperties `type:"structure"` // contains filtered or unexported fields }
A complex type that contains information that is specific to the namespace type. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/NamespaceProperties
func (NamespaceProperties) GoString ¶
func (s NamespaceProperties) GoString() string
GoString returns the string representation
func (*NamespaceProperties) SetDnsProperties ¶
func (s *NamespaceProperties) SetDnsProperties(v *DnsProperties) *NamespaceProperties
SetDnsProperties sets the DnsProperties field's value.
func (NamespaceProperties) String ¶
func (s NamespaceProperties) String() string
String returns the string representation
type NamespaceSummary ¶
type NamespaceSummary struct { // The Amazon Resource Name (ARN) that Amazon Route 53 assigns to the namespace // when you create it. Arn *string `type:"string"` // The ID of the namespace. Id *string `type:"string"` // The name of the namespace. When you create a namespace, Amazon Route 53 automatically // creates a hosted zone that has the same name as the namespace. Name *string `type:"string"` // The type of the namespace, either public or private. Type NamespaceType `type:"string" enum:"true"` // contains filtered or unexported fields }
A complex type that contains information about a namespace. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/NamespaceSummary
func (NamespaceSummary) GoString ¶
func (s NamespaceSummary) GoString() string
GoString returns the string representation
func (*NamespaceSummary) SetArn ¶
func (s *NamespaceSummary) SetArn(v string) *NamespaceSummary
SetArn sets the Arn field's value.
func (*NamespaceSummary) SetId ¶
func (s *NamespaceSummary) SetId(v string) *NamespaceSummary
SetId sets the Id field's value.
func (*NamespaceSummary) SetName ¶
func (s *NamespaceSummary) SetName(v string) *NamespaceSummary
SetName sets the Name field's value.
func (*NamespaceSummary) SetType ¶
func (s *NamespaceSummary) SetType(v NamespaceType) *NamespaceSummary
SetType sets the Type field's value.
func (NamespaceSummary) String ¶
func (s NamespaceSummary) String() string
String returns the string representation
type NamespaceType ¶
type NamespaceType string
const ( NamespaceTypeDnsPublic NamespaceType = "DNS_PUBLIC" NamespaceTypeDnsPrivate NamespaceType = "DNS_PRIVATE" )
Enum values for NamespaceType
type Operation ¶
type Operation struct { // The date and time that the request was submitted, in Unix date/time format // and Coordinated Universal Time (UTC). CreateDate *time.Time `type:"timestamp" timestampFormat:"unix"` // The code associated with ErrorMessage. ErrorCode *string `type:"string"` // If the value of Status is FAIL, the reason that the operation failed. ErrorMessage *string `type:"string"` // The ID of the operation that you want to get information about. Id *string `type:"string"` // The status of the operation. Values include the following: // // * SUBMITTED: This is the initial state immediately after you submit a // request. // // * PENDING: Amazon Route 53 is performing the operation. // // * SUCCESS: The operation succeeded. // // * FAIL: The operation failed. For the failure reason, see ErrorMessage. Status OperationStatus `type:"string" enum:"true"` // The name of the target entity that is associated with the operation: // // * NAMESPACE: The namespace ID is returned in the ResourceId property. // // * SERVICE: The service ID is returned in the ResourceId property. // // * INSTANCE: The instance ID is returned in the ResourceId property. Targets map[string]string `type:"map"` // The name of the operation that is associated with the specified ID. Type OperationType `type:"string" enum:"true"` // The date and time that the value of Status changed to the current value, // in Unix date/time format and Coordinated Universal Time (UTC). UpdateDate *time.Time `type:"timestamp" timestampFormat:"unix"` // contains filtered or unexported fields }
A complex type that contains information about a specified operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/Operation
func (*Operation) SetCreateDate ¶
SetCreateDate sets the CreateDate field's value.
func (*Operation) SetErrorCode ¶
SetErrorCode sets the ErrorCode field's value.
func (*Operation) SetErrorMessage ¶
SetErrorMessage sets the ErrorMessage field's value.
func (*Operation) SetStatus ¶
func (s *Operation) SetStatus(v OperationStatus) *Operation
SetStatus sets the Status field's value.
func (*Operation) SetTargets ¶
SetTargets sets the Targets field's value.
func (*Operation) SetType ¶
func (s *Operation) SetType(v OperationType) *Operation
SetType sets the Type field's value.
func (*Operation) SetUpdateDate ¶
SetUpdateDate sets the UpdateDate field's value.
type OperationFilter ¶
type OperationFilter struct { // The operator that you want to use to determine whether an operation matches // the specified value. Valid values for condition include: // // * EQ: When you specify EQ for the condition, you can specify only one // value. EQ is supported for NAMESPACE_ID, SERVICE_ID, STATUS, and TYPE. // EQ is the default condition and can be omitted. // // * IN: When you specify IN for the condition, you can specify a list of // one or more values. IN is supported for STATUS and TYPE. An operation // must match one of the specified values to be returned in the response. // // * BETWEEN: Specify two values, a start date and an end date. The start // date must be the first value. BETWEEN is supported for U. Condition FilterCondition `type:"string" enum:"true"` // Specify the operations that you want to get: // // * NAMESPACE_ID: Gets operations related to specified namespaces. // // * SERVICE_ID: Gets operations related to specified services. // // * STATUS: Gets operations based on the status of the operations: SUBMITTED, // PENDING, SUCCEED, or FAIL. // // * TYPE: Gets specified types of operation. // // * UPDATE_DATE: Gets operations that changed status during a specified // date/time range. // // Name is a required field Name OperationFilterName `type:"string" required:"true" enum:"true"` // Specify values that are applicable to the value that you specify for Name: // // * NAMESPACE_ID: Specify one namespace ID. // // * SERVICE_ID: Specify one service ID. // // * STATUS: Specify one or more statuses: SUBMITTED, PENDING, SUCCEED, or // FAIL. // // * TYPE: Specify one or more of the following types: CREATE_NAMESPACE, // DELETE_NAMESPACE, UPDATE_SERVICE, REGISTER_INSTANCE, or DEREGISTER_INSTANCE. // // * UPDATE_DATE: Specify a start date and an end date in Unix date/time // format and Coordinated Universal Time (UTC). The start date must be the // first value. // // Values is a required field Values []string `type:"list" required:"true"` // contains filtered or unexported fields }
A complex type that lets you select the operations that you want to list. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/OperationFilter
func (OperationFilter) GoString ¶
func (s OperationFilter) GoString() string
GoString returns the string representation
func (*OperationFilter) SetCondition ¶
func (s *OperationFilter) SetCondition(v FilterCondition) *OperationFilter
SetCondition sets the Condition field's value.
func (*OperationFilter) SetName ¶
func (s *OperationFilter) SetName(v OperationFilterName) *OperationFilter
SetName sets the Name field's value.
func (*OperationFilter) SetValues ¶
func (s *OperationFilter) SetValues(v []string) *OperationFilter
SetValues sets the Values field's value.
func (OperationFilter) String ¶
func (s OperationFilter) String() string
String returns the string representation
func (*OperationFilter) Validate ¶
func (s *OperationFilter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type OperationFilterName ¶
type OperationFilterName string
const ( OperationFilterNameNamespaceId OperationFilterName = "NAMESPACE_ID" OperationFilterNameServiceId OperationFilterName = "SERVICE_ID" OperationFilterNameStatus OperationFilterName = "STATUS" OperationFilterNameType OperationFilterName = "TYPE" OperationFilterNameUpdateDate OperationFilterName = "UPDATE_DATE" )
Enum values for OperationFilterName
type OperationStatus ¶
type OperationStatus string
const ( OperationStatusSubmitted OperationStatus = "SUBMITTED" OperationStatusPending OperationStatus = "PENDING" OperationStatusSuccess OperationStatus = "SUCCESS" OperationStatusFail OperationStatus = "FAIL" )
Enum values for OperationStatus
type OperationSummary ¶
type OperationSummary struct { // The ID for an operation. Id *string `type:"string"` // The status of the operation. Values include the following: // // * SUBMITTED: This is the initial state immediately after you submit a // request. // // * PENDING: Amazon Route 53 is performing the operation. // // * SUCCESS: The operation succeeded. // // * FAIL: The operation failed. For the failure reason, see ErrorMessage. Status OperationStatus `type:"string" enum:"true"` // contains filtered or unexported fields }
A complex type that contains information about an operation that matches the criteria that you specified in a ListOperations request. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/OperationSummary
func (OperationSummary) GoString ¶
func (s OperationSummary) GoString() string
GoString returns the string representation
func (*OperationSummary) SetId ¶
func (s *OperationSummary) SetId(v string) *OperationSummary
SetId sets the Id field's value.
func (*OperationSummary) SetStatus ¶
func (s *OperationSummary) SetStatus(v OperationStatus) *OperationSummary
SetStatus sets the Status field's value.
func (OperationSummary) String ¶
func (s OperationSummary) String() string
String returns the string representation
type OperationTargetType ¶
type OperationTargetType string
const ( OperationTargetTypeNamespace OperationTargetType = "NAMESPACE" OperationTargetTypeService OperationTargetType = "SERVICE" OperationTargetTypeInstance OperationTargetType = "INSTANCE" )
Enum values for OperationTargetType
type OperationType ¶
type OperationType string
const ( OperationTypeCreateNamespace OperationType = "CREATE_NAMESPACE" OperationTypeDeleteNamespace OperationType = "DELETE_NAMESPACE" OperationTypeUpdateService OperationType = "UPDATE_SERVICE" OperationTypeRegisterInstance OperationType = "REGISTER_INSTANCE" OperationTypeDeregisterInstance OperationType = "DEREGISTER_INSTANCE" )
Enum values for OperationType
type RecordType ¶
type RecordType string
const ( RecordTypeSrv RecordType = "SRV" RecordTypeA RecordType = "A" RecordTypeAaaa RecordType = "AAAA" )
Enum values for RecordType
type RegisterInstanceInput ¶
type RegisterInstanceInput struct { // A string map that contain attribute keys and values. Supported attribute // keys include the following: // // * AWS_INSTANCE_PORT: The port on the endpoint that you want Amazon Route // 53 to perform health checks on. This value is also used for the port value // in an SRV record if the service that you specify includes an SRV record. // For more information, see CreateService. // // * AWS_INSTANCE_IPV4: If the service that you specify contains a resource // record set template for an A record, the IPv4 address that you want Amazon // Route 53 to use for the value of the A record. // // * AWS_INSTANCE_IPV6: If the service that you specify contains a resource // record set template for an AAAA record, the IPv6 address that you want // Amazon Route 53 to use for the value of the AAAA record. // // Attributes is a required field Attributes map[string]string `type:"map" required:"true"` // An optional parameter that you can use to resolve concurrent creation requests. // CreatorRequestId helps to determine if a specific client owns the namespace. CreatorRequestId *string `type:"string" idempotencyToken:"true"` // An identifier that you want to associate with the instance. Note the following: // // * You can use this value to update an existing instance. // // * To register a new instance, you must specify a value that is unique // among instances that you register by using the same service. // // InstanceId is a required field InstanceId *string `type:"string" required:"true"` // The ID of the service that you want to use for settings for the resource // record sets and health check that Amazon Route 53 will create. // // ServiceId is a required field ServiceId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/RegisterInstanceRequest
func (RegisterInstanceInput) GoString ¶
func (s RegisterInstanceInput) GoString() string
GoString returns the string representation
func (*RegisterInstanceInput) SetAttributes ¶
func (s *RegisterInstanceInput) SetAttributes(v map[string]string) *RegisterInstanceInput
SetAttributes sets the Attributes field's value.
func (*RegisterInstanceInput) SetCreatorRequestId ¶
func (s *RegisterInstanceInput) SetCreatorRequestId(v string) *RegisterInstanceInput
SetCreatorRequestId sets the CreatorRequestId field's value.
func (*RegisterInstanceInput) SetInstanceId ¶
func (s *RegisterInstanceInput) SetInstanceId(v string) *RegisterInstanceInput
SetInstanceId sets the InstanceId field's value.
func (*RegisterInstanceInput) SetServiceId ¶
func (s *RegisterInstanceInput) SetServiceId(v string) *RegisterInstanceInput
SetServiceId sets the ServiceId field's value.
func (RegisterInstanceInput) String ¶
func (s RegisterInstanceInput) String() string
String returns the string representation
func (*RegisterInstanceInput) Validate ¶
func (s *RegisterInstanceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RegisterInstanceOutput ¶
type RegisterInstanceOutput struct { // A value that you can use to determine whether the request completed successfully. // To get the status of the operation, see GetOperation. OperationId *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/RegisterInstanceResponse
func (RegisterInstanceOutput) GoString ¶
func (s RegisterInstanceOutput) GoString() string
GoString returns the string representation
func (RegisterInstanceOutput) SDKResponseMetadata ¶
func (s RegisterInstanceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*RegisterInstanceOutput) SetOperationId ¶
func (s *RegisterInstanceOutput) SetOperationId(v string) *RegisterInstanceOutput
SetOperationId sets the OperationId field's value.
func (RegisterInstanceOutput) String ¶
func (s RegisterInstanceOutput) String() string
String returns the string representation
type RegisterInstanceRequest ¶
type RegisterInstanceRequest struct { *aws.Request Input *RegisterInstanceInput }
RegisterInstanceRequest is a API request type for the RegisterInstance API operation.
func (RegisterInstanceRequest) Send ¶
func (r RegisterInstanceRequest) Send() (*RegisterInstanceOutput, error)
Send marshals and sends the RegisterInstance API request.
type Service ¶
type Service struct { // The Amazon Resource Name (ARN) that Amazon Route 53 assigns to the service // when you create it. Arn *string `type:"string"` // The date and time that the service was created, in Unix format and Coordinated // Universal Time (UTC). CreateDate *time.Time `type:"timestamp" timestampFormat:"unix"` // An optional parameter that you can use to resolve concurrent creation requests. // CreatorRequestId helps to determine if a specific client owns the namespace. CreatorRequestId *string `type:"string"` // The description of the service. Description *string `type:"string"` // A complex type that contains information about the resource record sets that // you want Amazon Route 53 to create when you register an instance. DnsConfig *DnsConfig `type:"structure"` // Public DNS namespaces only. A complex type that contains settings for an // optional health check. If you specify settings for a health check, Amazon // Route 53 associates the health check with all the resource record sets that // you specify in DnsConfig. // // The health check uses 30 seconds as the request interval. This is the number // of seconds between the time that each Amazon Route 53 health checker gets // a response from your endpoint and the time that it sends the next health // check request. A health checker in each data center around the world sends // your endpoint a health check request every 30 seconds. On average, your endpoint // receives a health check request about every two seconds. Health checkers // in different data centers don't coordinate with one another, so you'll sometimes // see several requests per second followed by a few seconds with no health // checks at all. // // For information about the charges for health checks, see Amazon Route 53 // Pricing (http://aws.amazon.com/route53/pricing). HealthCheckConfig *HealthCheckConfig `type:"structure"` // The ID that Amazon Route 53 assigned to the service when you created it. Id *string `type:"string"` // The number of instances that are currently associated with the service. Instances // that were previously associated with the service but that have been deleted // are not included in the count. InstanceCount *int64 `type:"integer"` // The name of the service. Name *string `type:"string"` // contains filtered or unexported fields }
A complex type that contains information about the specified service. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/Service
func (*Service) SetCreateDate ¶
SetCreateDate sets the CreateDate field's value.
func (*Service) SetCreatorRequestId ¶
SetCreatorRequestId sets the CreatorRequestId field's value.
func (*Service) SetDescription ¶
SetDescription sets the Description field's value.
func (*Service) SetDnsConfig ¶
SetDnsConfig sets the DnsConfig field's value.
func (*Service) SetHealthCheckConfig ¶
func (s *Service) SetHealthCheckConfig(v *HealthCheckConfig) *Service
SetHealthCheckConfig sets the HealthCheckConfig field's value.
func (*Service) SetInstanceCount ¶
SetInstanceCount sets the InstanceCount field's value.
type ServiceChange ¶
type ServiceChange struct { // A description for the service. Description *string `type:"string"` // A complex type that contains information about the resource record sets that // you want Amazon Route 53 to create when you register an instance. // // DnsConfig is a required field DnsConfig *DnsConfigChange `type:"structure" required:"true"` // Public DNS namespaces only. A complex type that contains settings for an // optional health check. If you specify settings for a health check, Amazon // Route 53 associates the health check with all the resource record sets that // you specify in DnsConfig. // // The health check uses 30 seconds as the request interval. This is the number // of seconds between the time that each Amazon Route 53 health checker gets // a response from your endpoint and the time that it sends the next health // check request. A health checker in each data center around the world sends // your endpoint a health check request every 30 seconds. On average, your endpoint // receives a health check request about every two seconds. Health checkers // in different data centers don't coordinate with one another, so you'll sometimes // see several requests per second followed by a few seconds with no health // checks at all. // // For information about the charges for health checks, see Amazon Route 53 // Pricing (http://aws.amazon.com/route53/pricing). HealthCheckConfig *HealthCheckConfig `type:"structure"` // contains filtered or unexported fields }
A complex type that contains changes to an existing service. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ServiceChange
func (ServiceChange) GoString ¶
func (s ServiceChange) GoString() string
GoString returns the string representation
func (*ServiceChange) SetDescription ¶
func (s *ServiceChange) SetDescription(v string) *ServiceChange
SetDescription sets the Description field's value.
func (*ServiceChange) SetDnsConfig ¶
func (s *ServiceChange) SetDnsConfig(v *DnsConfigChange) *ServiceChange
SetDnsConfig sets the DnsConfig field's value.
func (*ServiceChange) SetHealthCheckConfig ¶
func (s *ServiceChange) SetHealthCheckConfig(v *HealthCheckConfig) *ServiceChange
SetHealthCheckConfig sets the HealthCheckConfig field's value.
func (ServiceChange) String ¶
func (s ServiceChange) String() string
String returns the string representation
func (*ServiceChange) Validate ¶
func (s *ServiceChange) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ServiceDiscovery ¶
ServiceDiscovery provides the API operation methods for making requests to Amazon Route 53 Auto Naming. See this package's package overview docs for details on the service.
ServiceDiscovery methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
func New(config aws.Config) *ServiceDiscovery
New creates a new instance of the ServiceDiscovery client with a config. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
// Create a ServiceDiscovery client from just a config. svc := servicediscovery.New(myConfig) // Create a ServiceDiscovery client with additional configuration svc := servicediscovery.New(myConfig, aws.NewConfig().WithRegion("us-west-2"))
func (*ServiceDiscovery) CreatePrivateDnsNamespaceRequest ¶
func (c *ServiceDiscovery) CreatePrivateDnsNamespaceRequest(input *CreatePrivateDnsNamespaceInput) CreatePrivateDnsNamespaceRequest
CreatePrivateDnsNamespaceRequest returns a request value for making API operation for Amazon Route 53 Auto Naming.
Creates a private namespace based on DNS, which will be visible only inside a specified Amazon VPC. The namespace defines your service naming scheme. For example, if you name your namespace example.com and name your service backend, the resulting DNS name for the service will be backend.example.com. You can associate more than one service with the same namespace.
// Example sending a request using the CreatePrivateDnsNamespaceRequest method. req := client.CreatePrivateDnsNamespaceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreatePrivateDnsNamespace
func (*ServiceDiscovery) CreatePublicDnsNamespaceRequest ¶
func (c *ServiceDiscovery) CreatePublicDnsNamespaceRequest(input *CreatePublicDnsNamespaceInput) CreatePublicDnsNamespaceRequest
CreatePublicDnsNamespaceRequest returns a request value for making API operation for Amazon Route 53 Auto Naming.
Creates a public namespace based on DNS, which will be visible on the internet. The namespace defines your service naming scheme. For example, if you name your namespace example.com and name your service backend, the resulting DNS name for the service will be backend.example.com. You can associate more than one service with the same namespace.
// Example sending a request using the CreatePublicDnsNamespaceRequest method. req := client.CreatePublicDnsNamespaceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreatePublicDnsNamespace
func (*ServiceDiscovery) CreateServiceRequest ¶
func (c *ServiceDiscovery) CreateServiceRequest(input *CreateServiceInput) CreateServiceRequest
CreateServiceRequest returns a request value for making API operation for Amazon Route 53 Auto Naming.
Creates a service, which defines a template for the following entities:
One to five resource record sets
Optionally, a health check
After you create the service, you can submit a RegisterInstance request, and Amazon Route 53 uses the values in the template to create the specified entities.
// Example sending a request using the CreateServiceRequest method. req := client.CreateServiceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreateService
func (*ServiceDiscovery) DeleteNamespaceRequest ¶
func (c *ServiceDiscovery) DeleteNamespaceRequest(input *DeleteNamespaceInput) DeleteNamespaceRequest
DeleteNamespaceRequest returns a request value for making API operation for Amazon Route 53 Auto Naming.
Deletes a namespace from the current account. If the namespace still contains one or more services, the request fails.
// Example sending a request using the DeleteNamespaceRequest method. req := client.DeleteNamespaceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeleteNamespace
func (*ServiceDiscovery) DeleteServiceRequest ¶
func (c *ServiceDiscovery) DeleteServiceRequest(input *DeleteServiceInput) DeleteServiceRequest
DeleteServiceRequest returns a request value for making API operation for Amazon Route 53 Auto Naming.
Deletes a specified service. If the service still contains one or more registered instances, the request fails.
// Example sending a request using the DeleteServiceRequest method. req := client.DeleteServiceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeleteService
func (*ServiceDiscovery) DeregisterInstanceRequest ¶
func (c *ServiceDiscovery) DeregisterInstanceRequest(input *DeregisterInstanceInput) DeregisterInstanceRequest
DeregisterInstanceRequest returns a request value for making API operation for Amazon Route 53 Auto Naming.
Deletes the resource record sets and the health check, if any, that Amazon Route 53 created for the specified instance.
// Example sending a request using the DeregisterInstanceRequest method. req := client.DeregisterInstanceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeregisterInstance
func (*ServiceDiscovery) GetInstanceRequest ¶
func (c *ServiceDiscovery) GetInstanceRequest(input *GetInstanceInput) GetInstanceRequest
GetInstanceRequest returns a request value for making API operation for Amazon Route 53 Auto Naming.
Gets information about a specified instance.
// Example sending a request using the GetInstanceRequest method. req := client.GetInstanceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetInstance
func (*ServiceDiscovery) GetInstancesHealthStatusPages ¶
func (c *ServiceDiscovery) GetInstancesHealthStatusPages(input *GetInstancesHealthStatusInput, fn func(*GetInstancesHealthStatusOutput, bool) bool) error
GetInstancesHealthStatusPages iterates over the pages of a GetInstancesHealthStatus operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See GetInstancesHealthStatus method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a GetInstancesHealthStatus operation. pageNum := 0 err := client.GetInstancesHealthStatusPages(params, func(page *GetInstancesHealthStatusOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*ServiceDiscovery) GetInstancesHealthStatusPagesWithContext ¶
func (c *ServiceDiscovery) GetInstancesHealthStatusPagesWithContext(ctx aws.Context, input *GetInstancesHealthStatusInput, fn func(*GetInstancesHealthStatusOutput, bool) bool, opts ...aws.Option) error
GetInstancesHealthStatusPagesWithContext same as GetInstancesHealthStatusPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ServiceDiscovery) GetInstancesHealthStatusRequest ¶
func (c *ServiceDiscovery) GetInstancesHealthStatusRequest(input *GetInstancesHealthStatusInput) GetInstancesHealthStatusRequest
GetInstancesHealthStatusRequest returns a request value for making API operation for Amazon Route 53 Auto Naming.
Gets the current health status (Healthy, Unhealthy, or Unknown) of one or more instances that are associated with a specified service.
// Example sending a request using the GetInstancesHealthStatusRequest method. req := client.GetInstancesHealthStatusRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetInstancesHealthStatus
func (*ServiceDiscovery) GetNamespaceRequest ¶
func (c *ServiceDiscovery) GetNamespaceRequest(input *GetNamespaceInput) GetNamespaceRequest
GetNamespaceRequest returns a request value for making API operation for Amazon Route 53 Auto Naming.
Gets information about a namespace.
// Example sending a request using the GetNamespaceRequest method. req := client.GetNamespaceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetNamespace
func (*ServiceDiscovery) GetOperationRequest ¶
func (c *ServiceDiscovery) GetOperationRequest(input *GetOperationInput) GetOperationRequest
GetOperationRequest returns a request value for making API operation for Amazon Route 53 Auto Naming.
Gets information about any operation that returns an operation ID in the response, such as a CreateService request. To get a list of operations that match specified criteria, see ListOperations.
// Example sending a request using the GetOperationRequest method. req := client.GetOperationRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetOperation
func (*ServiceDiscovery) GetServiceRequest ¶
func (c *ServiceDiscovery) GetServiceRequest(input *GetServiceInput) GetServiceRequest
GetServiceRequest returns a request value for making API operation for Amazon Route 53 Auto Naming.
Gets the settings for a specified service.
// Example sending a request using the GetServiceRequest method. req := client.GetServiceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetService
func (*ServiceDiscovery) ListInstancesPages ¶
func (c *ServiceDiscovery) ListInstancesPages(input *ListInstancesInput, fn func(*ListInstancesOutput, bool) bool) error
ListInstancesPages iterates over the pages of a ListInstances operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListInstances method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListInstances operation. pageNum := 0 err := client.ListInstancesPages(params, func(page *ListInstancesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*ServiceDiscovery) ListInstancesPagesWithContext ¶
func (c *ServiceDiscovery) ListInstancesPagesWithContext(ctx aws.Context, input *ListInstancesInput, fn func(*ListInstancesOutput, bool) bool, opts ...aws.Option) error
ListInstancesPagesWithContext same as ListInstancesPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ServiceDiscovery) ListInstancesRequest ¶
func (c *ServiceDiscovery) ListInstancesRequest(input *ListInstancesInput) ListInstancesRequest
ListInstancesRequest returns a request value for making API operation for Amazon Route 53 Auto Naming.
Gets summary information about the instances that you created by using a specified service.
// Example sending a request using the ListInstancesRequest method. req := client.ListInstancesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListInstances
func (*ServiceDiscovery) ListNamespacesPages ¶
func (c *ServiceDiscovery) ListNamespacesPages(input *ListNamespacesInput, fn func(*ListNamespacesOutput, bool) bool) error
ListNamespacesPages iterates over the pages of a ListNamespaces operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListNamespaces method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListNamespaces operation. pageNum := 0 err := client.ListNamespacesPages(params, func(page *ListNamespacesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*ServiceDiscovery) ListNamespacesPagesWithContext ¶
func (c *ServiceDiscovery) ListNamespacesPagesWithContext(ctx aws.Context, input *ListNamespacesInput, fn func(*ListNamespacesOutput, bool) bool, opts ...aws.Option) error
ListNamespacesPagesWithContext same as ListNamespacesPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ServiceDiscovery) ListNamespacesRequest ¶
func (c *ServiceDiscovery) ListNamespacesRequest(input *ListNamespacesInput) ListNamespacesRequest
ListNamespacesRequest returns a request value for making API operation for Amazon Route 53 Auto Naming.
Gets information about the namespaces that were created by the current AWS account.
// Example sending a request using the ListNamespacesRequest method. req := client.ListNamespacesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListNamespaces
func (*ServiceDiscovery) ListOperationsPages ¶
func (c *ServiceDiscovery) ListOperationsPages(input *ListOperationsInput, fn func(*ListOperationsOutput, bool) bool) error
ListOperationsPages iterates over the pages of a ListOperations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListOperations method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListOperations operation. pageNum := 0 err := client.ListOperationsPages(params, func(page *ListOperationsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*ServiceDiscovery) ListOperationsPagesWithContext ¶
func (c *ServiceDiscovery) ListOperationsPagesWithContext(ctx aws.Context, input *ListOperationsInput, fn func(*ListOperationsOutput, bool) bool, opts ...aws.Option) error
ListOperationsPagesWithContext same as ListOperationsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ServiceDiscovery) ListOperationsRequest ¶
func (c *ServiceDiscovery) ListOperationsRequest(input *ListOperationsInput) ListOperationsRequest
ListOperationsRequest returns a request value for making API operation for Amazon Route 53 Auto Naming.
Lists operations that match the criteria that you specify.
// Example sending a request using the ListOperationsRequest method. req := client.ListOperationsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListOperations
func (*ServiceDiscovery) ListServicesPages ¶
func (c *ServiceDiscovery) ListServicesPages(input *ListServicesInput, fn func(*ListServicesOutput, bool) bool) error
ListServicesPages iterates over the pages of a ListServices operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListServices method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListServices operation. pageNum := 0 err := client.ListServicesPages(params, func(page *ListServicesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*ServiceDiscovery) ListServicesPagesWithContext ¶
func (c *ServiceDiscovery) ListServicesPagesWithContext(ctx aws.Context, input *ListServicesInput, fn func(*ListServicesOutput, bool) bool, opts ...aws.Option) error
ListServicesPagesWithContext same as ListServicesPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ServiceDiscovery) ListServicesRequest ¶
func (c *ServiceDiscovery) ListServicesRequest(input *ListServicesInput) ListServicesRequest
ListServicesRequest returns a request value for making API operation for Amazon Route 53 Auto Naming.
Gets settings for all the services that are associated with one or more specified namespaces.
// Example sending a request using the ListServicesRequest method. req := client.ListServicesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListServices
func (*ServiceDiscovery) RegisterInstanceRequest ¶
func (c *ServiceDiscovery) RegisterInstanceRequest(input *RegisterInstanceInput) RegisterInstanceRequest
RegisterInstanceRequest returns a request value for making API operation for Amazon Route 53 Auto Naming.
Creates one or more resource record sets and optionally a health check based on the settings in a specified service. When you submit a RegisterInstance request, Amazon Route 53 does the following:
Creates a resource record set for each resource record set template in the service
Creates a health check based on the settings in the health check template in the service, if any
Associates the health check, if any, with each of the resource record sets
One RegisterInstance request must complete before you can submit another request and specify the same service and instance ID.
For more information, see CreateService.
When Amazon Route 53 receives a DNS query for the specified DNS name, it returns the applicable value:
If the health check is healthy: returns all the resource record sets
If the health check is unhealthy: returns the IP address of the last healthy instance
If you didn't specify a health check template: returns all the resource record sets
// Example sending a request using the RegisterInstanceRequest method. req := client.RegisterInstanceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/RegisterInstance
func (*ServiceDiscovery) UpdateServiceRequest ¶
func (c *ServiceDiscovery) UpdateServiceRequest(input *UpdateServiceInput) UpdateServiceRequest
UpdateServiceRequest returns a request value for making API operation for Amazon Route 53 Auto Naming.
Updates the TTL setting for a specified service. You must specify all the resource record set templates (and, optionally, a health check template) that you want to appear in the updated service. Any current resource record set templates (or health check template) that don't appear in an UpdateService request are deleted.
When you update the TTL setting for a service, Amazon Route 53 also updates the corresponding settings in all the resource record sets and health checks that were created by using the specified service.
// Example sending a request using the UpdateServiceRequest method. req := client.UpdateServiceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UpdateService
type ServiceFilter ¶
type ServiceFilter struct { // The operator that you want to use to determine whether a service is returned // by ListServices. Valid values for Condition include the following: // // * EQ: When you specify EQ, specify one namespace ID for Values. EQ is // the default condition and can be omitted. // // * IN: When you specify IN, specify a list of the IDs for the namespaces // that you want ListServices to return a list of services for. Condition FilterCondition `type:"string" enum:"true"` // Specify NAMESPACE_ID. // // Name is a required field Name ServiceFilterName `type:"string" required:"true" enum:"true"` // The values that are applicable to the value that you specify for Condition // to filter the list of services. // // Values is a required field Values []string `type:"list" required:"true"` // contains filtered or unexported fields }
A complex type that lets you specify the namespaces that you want to list services for. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ServiceFilter
func (ServiceFilter) GoString ¶
func (s ServiceFilter) GoString() string
GoString returns the string representation
func (*ServiceFilter) SetCondition ¶
func (s *ServiceFilter) SetCondition(v FilterCondition) *ServiceFilter
SetCondition sets the Condition field's value.
func (*ServiceFilter) SetName ¶
func (s *ServiceFilter) SetName(v ServiceFilterName) *ServiceFilter
SetName sets the Name field's value.
func (*ServiceFilter) SetValues ¶
func (s *ServiceFilter) SetValues(v []string) *ServiceFilter
SetValues sets the Values field's value.
func (ServiceFilter) String ¶
func (s ServiceFilter) String() string
String returns the string representation
func (*ServiceFilter) Validate ¶
func (s *ServiceFilter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ServiceFilterName ¶
type ServiceFilterName string
const (
ServiceFilterNameNamespaceId ServiceFilterName = "NAMESPACE_ID"
)
Enum values for ServiceFilterName
type ServiceSummary ¶
type ServiceSummary struct { // The Amazon Resource Name (ARN) that Amazon Route 53 assigns to the service // when you create it. Arn *string `type:"string"` // The description that you specify when you create the service. Description *string `type:"string"` // The ID that Amazon Route 53 assigned to the service when you created it. Id *string `type:"string"` // The number of instances that are currently associated with the service. Instances // that were previously associated with the service but that have been deleted // are not included in the count. InstanceCount *int64 `type:"integer"` // The name of the service. Name *string `type:"string"` // contains filtered or unexported fields }
A complex type that contains information about a specified service. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ServiceSummary
func (ServiceSummary) GoString ¶
func (s ServiceSummary) GoString() string
GoString returns the string representation
func (*ServiceSummary) SetArn ¶
func (s *ServiceSummary) SetArn(v string) *ServiceSummary
SetArn sets the Arn field's value.
func (*ServiceSummary) SetDescription ¶
func (s *ServiceSummary) SetDescription(v string) *ServiceSummary
SetDescription sets the Description field's value.
func (*ServiceSummary) SetId ¶
func (s *ServiceSummary) SetId(v string) *ServiceSummary
SetId sets the Id field's value.
func (*ServiceSummary) SetInstanceCount ¶
func (s *ServiceSummary) SetInstanceCount(v int64) *ServiceSummary
SetInstanceCount sets the InstanceCount field's value.
func (*ServiceSummary) SetName ¶
func (s *ServiceSummary) SetName(v string) *ServiceSummary
SetName sets the Name field's value.
func (ServiceSummary) String ¶
func (s ServiceSummary) String() string
String returns the string representation
type UpdateServiceInput ¶
type UpdateServiceInput struct { // The ID of the service that you want to update. // // Id is a required field Id *string `type:"string" required:"true"` // A complex type that contains the new settings for the service. // // Service is a required field Service *ServiceChange `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UpdateServiceRequest
func (UpdateServiceInput) GoString ¶
func (s UpdateServiceInput) GoString() string
GoString returns the string representation
func (*UpdateServiceInput) SetId ¶
func (s *UpdateServiceInput) SetId(v string) *UpdateServiceInput
SetId sets the Id field's value.
func (*UpdateServiceInput) SetService ¶
func (s *UpdateServiceInput) SetService(v *ServiceChange) *UpdateServiceInput
SetService sets the Service field's value.
func (UpdateServiceInput) String ¶
func (s UpdateServiceInput) String() string
String returns the string representation
func (*UpdateServiceInput) Validate ¶
func (s *UpdateServiceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateServiceOutput ¶
type UpdateServiceOutput struct { // A value that you can use to determine whether the request completed successfully. // To get the status of the operation, see GetOperation. OperationId *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UpdateServiceResponse
func (UpdateServiceOutput) GoString ¶
func (s UpdateServiceOutput) GoString() string
GoString returns the string representation
func (UpdateServiceOutput) SDKResponseMetadata ¶
func (s UpdateServiceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*UpdateServiceOutput) SetOperationId ¶
func (s *UpdateServiceOutput) SetOperationId(v string) *UpdateServiceOutput
SetOperationId sets the OperationId field's value.
func (UpdateServiceOutput) String ¶
func (s UpdateServiceOutput) String() string
String returns the string representation
type UpdateServiceRequest ¶
type UpdateServiceRequest struct { *aws.Request Input *UpdateServiceInput }
UpdateServiceRequest is a API request type for the UpdateService API operation.
func (UpdateServiceRequest) Send ¶
func (r UpdateServiceRequest) Send() (*UpdateServiceOutput, error)
Send marshals and sends the UpdateService API request.
Directories ¶
Path | Synopsis |
---|---|
Package servicediscoveryiface provides an interface to enable mocking the Amazon Route 53 Auto Naming service client for testing your code.
|
Package servicediscoveryiface provides an interface to enable mocking the Amazon Route 53 Auto Naming service client for testing your code. |