dns

package
v1.13.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2021 License: Apache-2.0 Imports: 9 Imported by: 4

Documentation

Overview

Package dns provides the client and types for making API requests to dns.

See https://pfs.nifcloud.com/api/dns/ for more information on this service.

See dns package documentation for more information. https://godoc.org/github.com/nifcloud/nifcloud-sdk-go/service/dns/

Using the Client

To use dns 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://godoc.org/github.com/nifcloud/nifcloud-sdk-go/

See aws.Config documentation for more information on configuring SDK clients. https://godoc.org/github.com/nifcloud/nifcloud-sdk-go/nifcloud/#Config

See the dns client for more information on creating client for this service. https://godoc.org/github.com/nifcloud/nifcloud-sdk-go/service/dns/#New

Index

Constants

View Source
const (
	ServiceName = "dns" // Service's name
	ServiceID   = "Dns" // Service's identifier
	EndpointsID = "dns" // Service's Endpoint identifier
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionOfChangeResourceRecordSetsRequestForChangeResourceRecordSets added in v1.13.0

type ActionOfChangeResourceRecordSetsRequestForChangeResourceRecordSets string
const (
	ActionOfChangeResourceRecordSetsRequestForChangeResourceRecordSetsCreate ActionOfChangeResourceRecordSetsRequestForChangeResourceRecordSets = "CREATE"
	ActionOfChangeResourceRecordSetsRequestForChangeResourceRecordSetsDelete ActionOfChangeResourceRecordSetsRequestForChangeResourceRecordSets = "DELETE"
)

Enum values for ActionOfChangeResourceRecordSetsRequestForChangeResourceRecordSets

func (ActionOfChangeResourceRecordSetsRequestForChangeResourceRecordSets) MarshalValue added in v1.13.0

func (ActionOfChangeResourceRecordSetsRequestForChangeResourceRecordSets) MarshalValueBuf added in v1.13.0

type ChangeInfo

type ChangeInfo struct {
	Id *string `locationName:"Id" type:"string"`

	Status *string `locationName:"Status" type:"string"`

	SubmittedAt *string `locationName:"SubmittedAt" type:"string"`
	// contains filtered or unexported fields
}

func (ChangeInfo) MarshalFields

func (s ChangeInfo) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ChangeInfo) String

func (s ChangeInfo) String() string

String returns the string representation

type ChangeResourceRecordSetsInput

type ChangeResourceRecordSetsInput struct {
	Comment *string `locationName:"Comment" type:"string"`

	// RequestChangeBatch is a required field
	RequestChangeBatch *RequestChangeBatch `locationName:"ChangeBatch" type:"structure" required:"true"`

	// ZoneID is a required field
	ZoneID *string `location:"uri" locationName:"ZoneID" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ChangeResourceRecordSetsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ChangeResourceRecordSetsInput) String

String returns the string representation

func (*ChangeResourceRecordSetsInput) Validate

func (s *ChangeResourceRecordSetsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ChangeResourceRecordSetsOutput

type ChangeResourceRecordSetsOutput struct {
	ChangeInfo *ChangeInfo `locationName:"ChangeInfo" type:"structure"`
	// contains filtered or unexported fields
}

func (ChangeResourceRecordSetsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ChangeResourceRecordSetsOutput) String

String returns the string representation

type ChangeResourceRecordSetsRequest

type ChangeResourceRecordSetsRequest struct {
	*aws.Request
	Input *ChangeResourceRecordSetsInput
	Copy  func(*ChangeResourceRecordSetsInput) ChangeResourceRecordSetsRequest
}

ChangeResourceRecordSetsRequest is the request type for the ChangeResourceRecordSets API operation.

func (ChangeResourceRecordSetsRequest) Send

Send marshals and sends the ChangeResourceRecordSets API request.

type ChangeResourceRecordSetsResponse

type ChangeResourceRecordSetsResponse struct {
	*ChangeResourceRecordSetsOutput
	// contains filtered or unexported fields
}

ChangeResourceRecordSetsResponse is the response type for the ChangeResourceRecordSets API operation.

func (*ChangeResourceRecordSetsResponse) SDKResponseMetdata

func (r *ChangeResourceRecordSetsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ChangeResourceRecordSets request.

type Client

type Client struct {
	*aws.Client
}

Client provides the API operation methods for making requests to dns. See this package's package overview docs for details on the service.

The client's 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 nifcloud.Config) *Client

New creates a new instance of the client from the provided Config.

Example:

// Create a client from just a config.
svc := dns.New(myConfig)

func (*Client) ChangeResourceRecordSetsRequest

func (c *Client) ChangeResourceRecordSetsRequest(input *ChangeResourceRecordSetsInput) ChangeResourceRecordSetsRequest

ChangeResourceRecordSetsRequest returns a request value for making API operation for NIFCLOUD DNS.

// Example sending a request using ChangeResourceRecordSetsRequest.
req := client.ChangeResourceRecordSetsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://pfs.nifcloud.com/api/dns/ChangeResourceRecordSets.htm

func (*Client) CreateHostedZoneRequest

func (c *Client) CreateHostedZoneRequest(input *CreateHostedZoneInput) CreateHostedZoneRequest

CreateHostedZoneRequest returns a request value for making API operation for NIFCLOUD DNS.

// Example sending a request using CreateHostedZoneRequest.
req := client.CreateHostedZoneRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://pfs.nifcloud.com/api/dns/CreateHostedZone.htm

func (*Client) DeleteHostedZoneRequest

func (c *Client) DeleteHostedZoneRequest(input *DeleteHostedZoneInput) DeleteHostedZoneRequest

DeleteHostedZoneRequest returns a request value for making API operation for NIFCLOUD DNS.

// Example sending a request using DeleteHostedZoneRequest.
req := client.DeleteHostedZoneRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://pfs.nifcloud.com/api/dns/DeleteHostedZone.htm

func (*Client) GetChangeRequest

func (c *Client) GetChangeRequest(input *GetChangeInput) GetChangeRequest

GetChangeRequest returns a request value for making API operation for NIFCLOUD DNS.

// Example sending a request using GetChangeRequest.
req := client.GetChangeRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://pfs.nifcloud.com/api/dns/GetChange.htm

func (*Client) GetHostedZoneRequest

func (c *Client) GetHostedZoneRequest(input *GetHostedZoneInput) GetHostedZoneRequest

GetHostedZoneRequest returns a request value for making API operation for NIFCLOUD DNS.

// Example sending a request using GetHostedZoneRequest.
req := client.GetHostedZoneRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://pfs.nifcloud.com/api/dns/GetHostedZone.htm

func (*Client) ListHostedZonesRequest

func (c *Client) ListHostedZonesRequest(input *ListHostedZonesInput) ListHostedZonesRequest

ListHostedZonesRequest returns a request value for making API operation for NIFCLOUD DNS.

// Example sending a request using ListHostedZonesRequest.
req := client.ListHostedZonesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://pfs.nifcloud.com/api/dns/ListHostedZones.htm

func (*Client) ListResourceRecordSetsRequest

func (c *Client) ListResourceRecordSetsRequest(input *ListResourceRecordSetsInput) ListResourceRecordSetsRequest

ListResourceRecordSetsRequest returns a request value for making API operation for NIFCLOUD DNS.

// Example sending a request using ListResourceRecordSetsRequest.
req := client.ListResourceRecordSetsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://pfs.nifcloud.com/api/dns/ListResourceRecordSets.htm

type Config

type Config struct {
	Comment *string `locationName:"Comment" type:"string"`
	// contains filtered or unexported fields
}

func (Config) MarshalFields

func (s Config) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Config) String

func (s Config) String() string

String returns the string representation

type CreateHostedZoneInput

type CreateHostedZoneInput struct {
	CallerReference *string `locationName:"CallerReference" type:"string"`

	// Name is a required field
	Name *string `locationName:"Name" type:"string" required:"true"`

	RequestHostedZoneConfig *RequestHostedZoneConfig `locationName:"HostedZoneConfig" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateHostedZoneInput) MarshalFields

func (s CreateHostedZoneInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateHostedZoneInput) String

func (s CreateHostedZoneInput) String() string

String returns the string representation

func (*CreateHostedZoneInput) Validate

func (s *CreateHostedZoneInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateHostedZoneOutput

type CreateHostedZoneOutput struct {
	ChangeInfo *ChangeInfo `locationName:"ChangeInfo" type:"structure"`

	DelegationSet *DelegationSet `locationName:"DelegationSet" type:"structure"`

	HostedZone *HostedZone `locationName:"HostedZone" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateHostedZoneOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateHostedZoneOutput) String

func (s CreateHostedZoneOutput) String() string

String returns the string representation

type CreateHostedZoneRequest

type CreateHostedZoneRequest struct {
	*aws.Request
	Input *CreateHostedZoneInput
	Copy  func(*CreateHostedZoneInput) CreateHostedZoneRequest
}

CreateHostedZoneRequest is the request type for the CreateHostedZone API operation.

func (CreateHostedZoneRequest) Send

Send marshals and sends the CreateHostedZone API request.

type CreateHostedZoneResponse

type CreateHostedZoneResponse struct {
	*CreateHostedZoneOutput
	// contains filtered or unexported fields
}

CreateHostedZoneResponse is the response type for the CreateHostedZone API operation.

func (*CreateHostedZoneResponse) SDKResponseMetdata

func (r *CreateHostedZoneResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateHostedZone request.

type DelegationSet

type DelegationSet struct {
	NameServers []string `locationName:"NameServers" locationNameList:"NameServer" type:"list"`
	// contains filtered or unexported fields
}

func (DelegationSet) MarshalFields

func (s DelegationSet) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DelegationSet) String

func (s DelegationSet) String() string

String returns the string representation

type DeleteHostedZoneInput

type DeleteHostedZoneInput struct {

	// ZoneID is a required field
	ZoneID *string `location:"uri" locationName:"ZoneID" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteHostedZoneInput) MarshalFields

func (s DeleteHostedZoneInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteHostedZoneInput) String

func (s DeleteHostedZoneInput) String() string

String returns the string representation

func (*DeleteHostedZoneInput) Validate

func (s *DeleteHostedZoneInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteHostedZoneOutput

type DeleteHostedZoneOutput struct {
	ChangeInfo *ChangeInfo `locationName:"ChangeInfo" type:"structure"`
	// contains filtered or unexported fields
}

func (DeleteHostedZoneOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteHostedZoneOutput) String

func (s DeleteHostedZoneOutput) String() string

String returns the string representation

type DeleteHostedZoneRequest

type DeleteHostedZoneRequest struct {
	*aws.Request
	Input *DeleteHostedZoneInput
	Copy  func(*DeleteHostedZoneInput) DeleteHostedZoneRequest
}

DeleteHostedZoneRequest is the request type for the DeleteHostedZone API operation.

func (DeleteHostedZoneRequest) Send

Send marshals and sends the DeleteHostedZone API request.

type DeleteHostedZoneResponse

type DeleteHostedZoneResponse struct {
	*DeleteHostedZoneOutput
	// contains filtered or unexported fields
}

DeleteHostedZoneResponse is the response type for the DeleteHostedZone API operation.

func (*DeleteHostedZoneResponse) SDKResponseMetdata

func (r *DeleteHostedZoneResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteHostedZone request.

type FailoverOfChangeResourceRecordSetsRequestForChangeResourceRecordSets added in v1.13.0

type FailoverOfChangeResourceRecordSetsRequestForChangeResourceRecordSets string
const (
	FailoverOfChangeResourceRecordSetsRequestForChangeResourceRecordSetsPrimary   FailoverOfChangeResourceRecordSetsRequestForChangeResourceRecordSets = "PRIMARY"
	FailoverOfChangeResourceRecordSetsRequestForChangeResourceRecordSetsSecondary FailoverOfChangeResourceRecordSetsRequestForChangeResourceRecordSets = "SECONDARY"
)

Enum values for FailoverOfChangeResourceRecordSetsRequestForChangeResourceRecordSets

func (FailoverOfChangeResourceRecordSetsRequestForChangeResourceRecordSets) MarshalValue added in v1.13.0

func (FailoverOfChangeResourceRecordSetsRequestForChangeResourceRecordSets) MarshalValueBuf added in v1.13.0

type GetChangeInput

type GetChangeInput struct {

	// ChangeID is a required field
	ChangeID *string `location:"uri" locationName:"ChangeID" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetChangeInput) MarshalFields

func (s GetChangeInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetChangeInput) String

func (s GetChangeInput) String() string

String returns the string representation

func (*GetChangeInput) Validate

func (s *GetChangeInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetChangeOutput

type GetChangeOutput struct {
	ChangeInfo *ChangeInfo `locationName:"ChangeInfo" type:"structure"`
	// contains filtered or unexported fields
}

func (GetChangeOutput) MarshalFields

func (s GetChangeOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetChangeOutput) String

func (s GetChangeOutput) String() string

String returns the string representation

type GetChangeRequest

type GetChangeRequest struct {
	*aws.Request
	Input *GetChangeInput
	Copy  func(*GetChangeInput) GetChangeRequest
}

GetChangeRequest is the request type for the GetChange API operation.

func (GetChangeRequest) Send

Send marshals and sends the GetChange API request.

type GetChangeResponse

type GetChangeResponse struct {
	*GetChangeOutput
	// contains filtered or unexported fields
}

GetChangeResponse is the response type for the GetChange API operation.

func (*GetChangeResponse) SDKResponseMetdata

func (r *GetChangeResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetChange request.

type GetHostedZoneInput

type GetHostedZoneInput struct {

	// ZoneID is a required field
	ZoneID *string `location:"uri" locationName:"ZoneID" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetHostedZoneInput) MarshalFields

func (s GetHostedZoneInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetHostedZoneInput) String

func (s GetHostedZoneInput) String() string

String returns the string representation

func (*GetHostedZoneInput) Validate

func (s *GetHostedZoneInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetHostedZoneOutput

type GetHostedZoneOutput struct {
	DelegationSet *DelegationSet `locationName:"DelegationSet" type:"structure"`

	HostedZone *HostedZone `locationName:"HostedZone" type:"structure"`
	// contains filtered or unexported fields
}

func (GetHostedZoneOutput) MarshalFields

func (s GetHostedZoneOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetHostedZoneOutput) String

func (s GetHostedZoneOutput) String() string

String returns the string representation

type GetHostedZoneRequest

type GetHostedZoneRequest struct {
	*aws.Request
	Input *GetHostedZoneInput
	Copy  func(*GetHostedZoneInput) GetHostedZoneRequest
}

GetHostedZoneRequest is the request type for the GetHostedZone API operation.

func (GetHostedZoneRequest) Send

Send marshals and sends the GetHostedZone API request.

type GetHostedZoneResponse

type GetHostedZoneResponse struct {
	*GetHostedZoneOutput
	// contains filtered or unexported fields
}

GetHostedZoneResponse is the response type for the GetHostedZone API operation.

func (*GetHostedZoneResponse) SDKResponseMetdata

func (r *GetHostedZoneResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetHostedZone request.

type HostedZone

type HostedZone struct {
	CallerReference *string `locationName:"CallerReference" type:"string"`

	Config *Config `locationName:"Config" type:"structure"`

	Id *string `locationName:"Id" type:"string"`

	Name *string `locationName:"Name" type:"string"`

	ResourceRecordSetCount *int64 `locationName:"ResourceRecordSetCount" type:"integer"`
	// contains filtered or unexported fields
}

func (HostedZone) MarshalFields

func (s HostedZone) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (HostedZone) String

func (s HostedZone) String() string

String returns the string representation

type HostedZones

type HostedZones struct {
	CallerReference *string `locationName:"CallerReference" type:"string"`

	Config *Config `locationName:"Config" type:"structure"`

	Id *string `locationName:"Id" type:"string"`

	Name *string `locationName:"Name" type:"string"`

	ResourceRecordSetCount *int64 `locationName:"ResourceRecordSetCount" type:"integer"`
	// contains filtered or unexported fields
}

func (HostedZones) MarshalFields

func (s HostedZones) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (HostedZones) String

func (s HostedZones) String() string

String returns the string representation

type ListHostedZonesInput

type ListHostedZonesInput struct {
	Marker *string `location:"querystring" locationName:"marker" type:"string"`

	Maxitems *int64 `location:"querystring" locationName:"maxitems" type:"integer"`
	// contains filtered or unexported fields
}

func (ListHostedZonesInput) MarshalFields

func (s ListHostedZonesInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListHostedZonesInput) String

func (s ListHostedZonesInput) String() string

String returns the string representation

type ListHostedZonesOutput

type ListHostedZonesOutput struct {
	HostedZones []HostedZones `locationName:"HostedZones" locationNameList:"HostedZone" type:"list"`

	IsTruncated *bool `locationName:"IsTruncated" type:"boolean"`

	Marker *string `locationName:"Marker" type:"string"`

	MaxItems *int64 `locationName:"MaxItems" type:"integer"`

	NextMarker *string `locationName:"NextMarker" type:"string"`
	// contains filtered or unexported fields
}

func (ListHostedZonesOutput) MarshalFields

func (s ListHostedZonesOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListHostedZonesOutput) String

func (s ListHostedZonesOutput) String() string

String returns the string representation

type ListHostedZonesRequest

type ListHostedZonesRequest struct {
	*aws.Request
	Input *ListHostedZonesInput
	Copy  func(*ListHostedZonesInput) ListHostedZonesRequest
}

ListHostedZonesRequest is the request type for the ListHostedZones API operation.

func (ListHostedZonesRequest) Send

Send marshals and sends the ListHostedZones API request.

type ListHostedZonesResponse

type ListHostedZonesResponse struct {
	*ListHostedZonesOutput
	// contains filtered or unexported fields
}

ListHostedZonesResponse is the response type for the ListHostedZones API operation.

func (*ListHostedZonesResponse) SDKResponseMetdata

func (r *ListHostedZonesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListHostedZones request.

type ListResourceRecordSetsInput

type ListResourceRecordSetsInput struct {
	Identifier *string `location:"querystring" locationName:"identifier" type:"string"`

	Maxitems *int64 `location:"querystring" locationName:"maxitems" type:"integer"`

	Name *string `location:"querystring" locationName:"name" type:"string"`

	Type TypeOfListResourceRecordSetsRequest `location:"querystring" locationName:"type" type:"string" enum:"true"`

	// ZoneID is a required field
	ZoneID *string `location:"uri" locationName:"ZoneID" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListResourceRecordSetsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListResourceRecordSetsInput) String

String returns the string representation

func (*ListResourceRecordSetsInput) Validate

func (s *ListResourceRecordSetsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListResourceRecordSetsOutput

type ListResourceRecordSetsOutput struct {
	IsTruncated *bool `locationName:"IsTruncated" type:"boolean"`

	MaxItems *int64 `locationName:"MaxItems" type:"integer"`

	NextRecordIdentifier *string `locationName:"NextRecordIdentifier" type:"string"`

	NextRecordName *string `locationName:"NextRecordName" type:"string"`

	NextRecordType *string `locationName:"NextRecordType" type:"string"`

	ResourceRecordSets []ResourceRecordSets `locationName:"ResourceRecordSets" locationNameList:"ResourceRecordSet" type:"list"`
	// contains filtered or unexported fields
}

func (ListResourceRecordSetsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListResourceRecordSetsOutput) String

String returns the string representation

type ListResourceRecordSetsRequest

type ListResourceRecordSetsRequest struct {
	*aws.Request
	Input *ListResourceRecordSetsInput
	Copy  func(*ListResourceRecordSetsInput) ListResourceRecordSetsRequest
}

ListResourceRecordSetsRequest is the request type for the ListResourceRecordSets API operation.

func (ListResourceRecordSetsRequest) Send

Send marshals and sends the ListResourceRecordSets API request.

type ListResourceRecordSetsResponse

type ListResourceRecordSetsResponse struct {
	*ListResourceRecordSetsOutput
	// contains filtered or unexported fields
}

ListResourceRecordSetsResponse is the response type for the ListResourceRecordSets API operation.

func (*ListResourceRecordSetsResponse) SDKResponseMetdata

func (r *ListResourceRecordSetsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListResourceRecordSets request.

type ProtocolOfChangeResourceRecordSetsRequestForChangeResourceRecordSets added in v1.13.0

type ProtocolOfChangeResourceRecordSetsRequestForChangeResourceRecordSets string
const (
	ProtocolOfChangeResourceRecordSetsRequestForChangeResourceRecordSetsHttp  ProtocolOfChangeResourceRecordSetsRequestForChangeResourceRecordSets = "HTTP"
	ProtocolOfChangeResourceRecordSetsRequestForChangeResourceRecordSetsHttps ProtocolOfChangeResourceRecordSetsRequestForChangeResourceRecordSets = "HTTPS"
	ProtocolOfChangeResourceRecordSetsRequestForChangeResourceRecordSetsTcp   ProtocolOfChangeResourceRecordSetsRequestForChangeResourceRecordSets = "TCP"
)

Enum values for ProtocolOfChangeResourceRecordSetsRequestForChangeResourceRecordSets

func (ProtocolOfChangeResourceRecordSetsRequestForChangeResourceRecordSets) MarshalValue added in v1.13.0

func (ProtocolOfChangeResourceRecordSetsRequestForChangeResourceRecordSets) MarshalValueBuf added in v1.13.0

type RequestChange

type RequestChange struct {

	// Action is a required field
	Action ActionOfChangeResourceRecordSetsRequestForChangeResourceRecordSets `locationName:"Action" type:"string" required:"true" enum:"true"`

	RequestResourceRecordSet *RequestResourceRecordSet `locationName:"ResourceRecordSet" type:"structure"`
	// contains filtered or unexported fields
}

func (RequestChange) MarshalFields

func (s RequestChange) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RequestChange) String

func (s RequestChange) String() string

String returns the string representation

func (*RequestChange) Validate

func (s *RequestChange) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RequestChangeBatch

type RequestChangeBatch struct {

	// ListOfRequestChanges is a required field
	ListOfRequestChanges []RequestChanges `locationName:"Changes" type:"list" flattened:"true" required:"true"`
	// contains filtered or unexported fields
}

func (RequestChangeBatch) MarshalFields

func (s RequestChangeBatch) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RequestChangeBatch) String

func (s RequestChangeBatch) String() string

String returns the string representation

func (*RequestChangeBatch) Validate

func (s *RequestChangeBatch) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RequestChanges

type RequestChanges struct {

	// RequestChange is a required field
	RequestChange *RequestChange `locationName:"Change" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (RequestChanges) MarshalFields

func (s RequestChanges) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RequestChanges) String

func (s RequestChanges) String() string

String returns the string representation

func (*RequestChanges) Validate

func (s *RequestChanges) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RequestHostedZoneConfig

type RequestHostedZoneConfig struct {
	Comment *string `locationName:"Comment" type:"string"`
	// contains filtered or unexported fields
}

func (RequestHostedZoneConfig) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RequestHostedZoneConfig) String

func (s RequestHostedZoneConfig) String() string

String returns the string representation

type RequestResourceRecord

type RequestResourceRecord struct {
	Value *string `locationName:"Value" type:"string"`
	// contains filtered or unexported fields
}

func (RequestResourceRecord) MarshalFields

func (s RequestResourceRecord) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RequestResourceRecord) String

func (s RequestResourceRecord) String() string

String returns the string representation

type RequestResourceRecordSet

type RequestResourceRecordSet struct {
	Failover FailoverOfChangeResourceRecordSetsRequestForChangeResourceRecordSets `locationName:"Failover" type:"string" enum:"true"`

	ListOfRequestResourceRecords []RequestResourceRecords `locationName:"ResourceRecords" type:"list" flattened:"true"`

	Name *string `locationName:"Name" type:"string"`

	Region *string `locationName:"Region" type:"string"`

	RequestXniftyHealthCheckConfig *RequestXniftyHealthCheckConfig `locationName:"XniftyHealthCheckConfig" type:"structure"`

	SetIdentifier *string `locationName:"SetIdentifier" type:"string"`

	TTL *int64 `locationName:"TTL" type:"integer"`

	Type TypeOfChangeResourceRecordSetsRequestForChangeResourceRecordSets `locationName:"Type" type:"string" enum:"true"`

	Weight *int64 `locationName:"Weight" type:"integer"`

	XniftyComment *string `locationName:"XniftyComment" type:"string"`

	XniftyDefaultHost *string `locationName:"XniftyDefaultHost" type:"string"`
	// contains filtered or unexported fields
}

func (RequestResourceRecordSet) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RequestResourceRecordSet) String

func (s RequestResourceRecordSet) String() string

String returns the string representation

type RequestResourceRecords

type RequestResourceRecords struct {
	RequestResourceRecord *RequestResourceRecord `locationName:"ResourceRecord" type:"structure"`
	// contains filtered or unexported fields
}

func (RequestResourceRecords) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RequestResourceRecords) String

func (s RequestResourceRecords) String() string

String returns the string representation

type RequestXniftyHealthCheckConfig

type RequestXniftyHealthCheckConfig struct {
	FullyQualifiedDomainName *string `locationName:"FullyQualifiedDomainName" type:"string"`

	IPAddress *string `locationName:"IPAddress" type:"string"`

	Port *int64 `locationName:"Port" type:"integer"`

	Protocol ProtocolOfChangeResourceRecordSetsRequestForChangeResourceRecordSets `locationName:"Protocol" type:"string" enum:"true"`

	ResourcePath *string `locationName:"ResourcePath" type:"string"`
	// contains filtered or unexported fields
}

func (RequestXniftyHealthCheckConfig) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RequestXniftyHealthCheckConfig) String

String returns the string representation

type ResourceRecordSets

type ResourceRecordSets struct {
	Failover *string `locationName:"Failover" type:"string"`

	Name *string `locationName:"Name" type:"string"`

	Region *string `locationName:"Region" type:"string"`

	ResourceRecords []ResourceRecords `locationName:"ResourceRecords" locationNameList:"ResourceRecord" type:"list"`

	SetIdentifier *string `locationName:"SetIdentifier" type:"string"`

	TTL *int64 `locationName:"TTL" type:"integer"`

	Type *string `locationName:"Type" type:"string"`

	Weight *int64 `locationName:"Weight" type:"integer"`

	XniftyComment *string `locationName:"XniftyComment" type:"string"`

	XniftyDefaultHost *string `locationName:"XniftyDefaultHost" type:"string"`

	XniftyHealthCheckConfig *XniftyHealthCheckConfig `locationName:"XniftyHealthCheckConfig" type:"structure"`
	// contains filtered or unexported fields
}

func (ResourceRecordSets) MarshalFields

func (s ResourceRecordSets) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ResourceRecordSets) String

func (s ResourceRecordSets) String() string

String returns the string representation

type ResourceRecords

type ResourceRecords struct {
	Value *string `locationName:"Value" type:"string"`
	// contains filtered or unexported fields
}

func (ResourceRecords) MarshalFields

func (s ResourceRecords) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ResourceRecords) String

func (s ResourceRecords) String() string

String returns the string representation

type TypeOfChangeResourceRecordSetsRequestForChangeResourceRecordSets added in v1.13.0

type TypeOfChangeResourceRecordSetsRequestForChangeResourceRecordSets string
const (
	TypeOfChangeResourceRecordSetsRequestForChangeResourceRecordSetsNs    TypeOfChangeResourceRecordSetsRequestForChangeResourceRecordSets = "NS"
	TypeOfChangeResourceRecordSetsRequestForChangeResourceRecordSetsA     TypeOfChangeResourceRecordSetsRequestForChangeResourceRecordSets = "A"
	TypeOfChangeResourceRecordSetsRequestForChangeResourceRecordSetsAaaa  TypeOfChangeResourceRecordSetsRequestForChangeResourceRecordSets = "AAAA"
	TypeOfChangeResourceRecordSetsRequestForChangeResourceRecordSetsCname TypeOfChangeResourceRecordSetsRequestForChangeResourceRecordSets = "CNAME"
	TypeOfChangeResourceRecordSetsRequestForChangeResourceRecordSetsMx    TypeOfChangeResourceRecordSetsRequestForChangeResourceRecordSets = "MX"
	TypeOfChangeResourceRecordSetsRequestForChangeResourceRecordSetsTxt   TypeOfChangeResourceRecordSetsRequestForChangeResourceRecordSets = "TXT"
	TypeOfChangeResourceRecordSetsRequestForChangeResourceRecordSetsPtr   TypeOfChangeResourceRecordSetsRequestForChangeResourceRecordSets = "PTR"
	TypeOfChangeResourceRecordSetsRequestForChangeResourceRecordSetsLbr   TypeOfChangeResourceRecordSetsRequestForChangeResourceRecordSets = "LBR"
)

Enum values for TypeOfChangeResourceRecordSetsRequestForChangeResourceRecordSets

func (TypeOfChangeResourceRecordSetsRequestForChangeResourceRecordSets) MarshalValue added in v1.13.0

func (TypeOfChangeResourceRecordSetsRequestForChangeResourceRecordSets) MarshalValueBuf added in v1.13.0

type TypeOfListResourceRecordSetsRequest added in v1.13.0

type TypeOfListResourceRecordSetsRequest string
const (
	TypeOfListResourceRecordSetsRequestNs    TypeOfListResourceRecordSetsRequest = "NS"
	TypeOfListResourceRecordSetsRequestA     TypeOfListResourceRecordSetsRequest = "A"
	TypeOfListResourceRecordSetsRequestAaaa  TypeOfListResourceRecordSetsRequest = "AAAA"
	TypeOfListResourceRecordSetsRequestCname TypeOfListResourceRecordSetsRequest = "CNAME"
	TypeOfListResourceRecordSetsRequestMx    TypeOfListResourceRecordSetsRequest = "MX"
	TypeOfListResourceRecordSetsRequestTxt   TypeOfListResourceRecordSetsRequest = "TXT"
	TypeOfListResourceRecordSetsRequestPtr   TypeOfListResourceRecordSetsRequest = "PTR"
	TypeOfListResourceRecordSetsRequestLbr   TypeOfListResourceRecordSetsRequest = "LBR"
)

Enum values for TypeOfListResourceRecordSetsRequest

func (TypeOfListResourceRecordSetsRequest) MarshalValue added in v1.13.0

func (enum TypeOfListResourceRecordSetsRequest) MarshalValue() (string, error)

func (TypeOfListResourceRecordSetsRequest) MarshalValueBuf added in v1.13.0

func (enum TypeOfListResourceRecordSetsRequest) MarshalValueBuf(b []byte) ([]byte, error)

type XniftyHealthCheckConfig

type XniftyHealthCheckConfig struct {
	FullyQualifiedDomainName *string `locationName:"FullyQualifiedDomainName" type:"string"`

	IPAddress *string `locationName:"IPAddress" type:"string"`

	Port *int64 `locationName:"Port" type:"integer"`

	Protocol *string `locationName:"Protocol" type:"string"`

	ResourcePath *string `locationName:"ResourcePath" type:"string"`
	// contains filtered or unexported fields
}

func (XniftyHealthCheckConfig) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (XniftyHealthCheckConfig) String

func (s XniftyHealthCheckConfig) String() string

String returns the string representation

Directories

Path Synopsis
Package dnsiface provides an interface to enable mocking the NIFCLOUD DNS service client for testing your code.
Package dnsiface provides an interface to enable mocking the NIFCLOUD DNS service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL