pdns

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServiceName = "pdns"      // Name of service.
	EndpointsID = ServiceName // ID to lookup a service endpoint with.
	ServiceID   = "pdns"      // ServiceID is a unique identifer of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type Pdns

type Pdns struct {
	*client.Client
}

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

Pdns methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func ExtraNew

func ExtraNew(info *utils.UrlInfo, p client.ConfigProvider, cfgs ...*aws.Config) *Pdns

extraNew create int can support ssl or region locate set

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *Pdns

New creates a new instance of the Pdns client with a session. If additional configuration is needed for the client instance use the optional ksc.Config parameter to add your extra config.

Example:

// Create a Pdns client from just a session.
svc := pdns.New(mySession)

// Create a Pdns client with additional configuration
svc := pdns.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func SdkNew

func SdkNew(p client.ConfigProvider, cfgs *ksc.Config, info ...*utils.UrlInfo) *Pdns

SdkNew create int can support ssl or region locate set

func (*Pdns) BindZoneVpc

func (c *Pdns) BindZoneVpc(input *map[string]interface{}) (*map[string]interface{}, error)

BindZoneVpc API operation for pdns.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the KSC API reference guide for pdns's API operation BindZoneVpc for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/pdns-2016-03-04/BindZoneVpc

func (*Pdns) BindZoneVpcRequest

func (c *Pdns) BindZoneVpcRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

BindZoneVpcRequest generates a "ksc/request.Request" representing the client's request for the BindZoneVpc operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BindZoneVpc for more information on using the BindZoneVpc API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BindZoneVpcRequest method.
req, resp := client.BindZoneVpcRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pdns-2016-03-04/BindZoneVpc

func (*Pdns) BindZoneVpcWithContext

func (c *Pdns) BindZoneVpcWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

BindZoneVpcWithContext is the same as BindZoneVpc with the addition of the ability to pass a context and additional request options.

See BindZoneVpc for details on how to use this API operation.

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 (*Pdns) CreatePdnsZone

func (c *Pdns) CreatePdnsZone(input *map[string]interface{}) (*map[string]interface{}, error)

CreatePdnsZone API operation for pdns.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the KSC API reference guide for pdns's API operation CreatePdnsZone for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/pdns-2016-03-04/CreatePdnsZone

func (*Pdns) CreatePdnsZoneRequest

func (c *Pdns) CreatePdnsZoneRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

CreatePdnsZoneRequest generates a "ksc/request.Request" representing the client's request for the CreatePdnsZone operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreatePdnsZone for more information on using the CreatePdnsZone API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreatePdnsZoneRequest method.
req, resp := client.CreatePdnsZoneRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pdns-2016-03-04/CreatePdnsZone

func (*Pdns) CreatePdnsZoneWithContext

func (c *Pdns) CreatePdnsZoneWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

CreatePdnsZoneWithContext is the same as CreatePdnsZone with the addition of the ability to pass a context and additional request options.

See CreatePdnsZone for details on how to use this API operation.

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 (*Pdns) CreateZoneRecord

func (c *Pdns) CreateZoneRecord(input *map[string]interface{}) (*map[string]interface{}, error)

CreateZoneRecord API operation for pdns.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the KSC API reference guide for pdns's API operation CreateZoneRecord for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/pdns-2016-03-04/CreateZoneRecord

func (*Pdns) CreateZoneRecordRequest

func (c *Pdns) CreateZoneRecordRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

CreateZoneRecordRequest generates a "ksc/request.Request" representing the client's request for the CreateZoneRecord operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateZoneRecord for more information on using the CreateZoneRecord API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateZoneRecordRequest method.
req, resp := client.CreateZoneRecordRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pdns-2016-03-04/CreateZoneRecord

func (*Pdns) CreateZoneRecordWithContext

func (c *Pdns) CreateZoneRecordWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

CreateZoneRecordWithContext is the same as CreateZoneRecord with the addition of the ability to pass a context and additional request options.

See CreateZoneRecord for details on how to use this API operation.

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 (*Pdns) DeletePdnsZone

func (c *Pdns) DeletePdnsZone(input *map[string]interface{}) (*map[string]interface{}, error)

DeletePdnsZone API operation for pdns.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the KSC API reference guide for pdns's API operation DeletePdnsZone for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/pdns-2016-03-04/DeletePdnsZone

func (*Pdns) DeletePdnsZoneRequest

func (c *Pdns) DeletePdnsZoneRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DeletePdnsZoneRequest generates a "ksc/request.Request" representing the client's request for the DeletePdnsZone operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeletePdnsZone for more information on using the DeletePdnsZone API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeletePdnsZoneRequest method.
req, resp := client.DeletePdnsZoneRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pdns-2016-03-04/DeletePdnsZone

func (*Pdns) DeletePdnsZoneWithContext

func (c *Pdns) DeletePdnsZoneWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DeletePdnsZoneWithContext is the same as DeletePdnsZone with the addition of the ability to pass a context and additional request options.

See DeletePdnsZone for details on how to use this API operation.

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 (*Pdns) DeleteZoneRecord

func (c *Pdns) DeleteZoneRecord(input *map[string]interface{}) (*map[string]interface{}, error)

DeleteZoneRecord API operation for pdns.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the KSC API reference guide for pdns's API operation DeleteZoneRecord for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/pdns-2016-03-04/DeleteZoneRecord

func (*Pdns) DeleteZoneRecordRequest

func (c *Pdns) DeleteZoneRecordRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DeleteZoneRecordRequest generates a "ksc/request.Request" representing the client's request for the DeleteZoneRecord operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteZoneRecord for more information on using the DeleteZoneRecord API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteZoneRecordRequest method.
req, resp := client.DeleteZoneRecordRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pdns-2016-03-04/DeleteZoneRecord

func (*Pdns) DeleteZoneRecordWithContext

func (c *Pdns) DeleteZoneRecordWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DeleteZoneRecordWithContext is the same as DeleteZoneRecord with the addition of the ability to pass a context and additional request options.

See DeleteZoneRecord for details on how to use this API operation.

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 (*Pdns) DescribePdnsZones

func (c *Pdns) DescribePdnsZones(input *map[string]interface{}) (*map[string]interface{}, error)

DescribePdnsZones API operation for pdns.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the KSC API reference guide for pdns's API operation DescribePdnsZones for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/pdns-2016-03-04/DescribePdnsZones

func (*Pdns) DescribePdnsZonesRequest

func (c *Pdns) DescribePdnsZonesRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DescribePdnsZonesRequest generates a "ksc/request.Request" representing the client's request for the DescribePdnsZones operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribePdnsZones for more information on using the DescribePdnsZones API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribePdnsZonesRequest method.
req, resp := client.DescribePdnsZonesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pdns-2016-03-04/DescribePdnsZones

func (*Pdns) DescribePdnsZonesWithContext

func (c *Pdns) DescribePdnsZonesWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DescribePdnsZonesWithContext is the same as DescribePdnsZones with the addition of the ability to pass a context and additional request options.

See DescribePdnsZones for details on how to use this API operation.

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 (*Pdns) DescribeZoneRecord

func (c *Pdns) DescribeZoneRecord(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeZoneRecord API operation for pdns.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the KSC API reference guide for pdns's API operation DescribeZoneRecord for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/pdns-2016-03-04/DescribeZoneRecord

func (*Pdns) DescribeZoneRecordRequest

func (c *Pdns) DescribeZoneRecordRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DescribeZoneRecordRequest generates a "ksc/request.Request" representing the client's request for the DescribeZoneRecord operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeZoneRecord for more information on using the DescribeZoneRecord API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeZoneRecordRequest method.
req, resp := client.DescribeZoneRecordRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pdns-2016-03-04/DescribeZoneRecord

func (*Pdns) DescribeZoneRecordWithContext

func (c *Pdns) DescribeZoneRecordWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DescribeZoneRecordWithContext is the same as DescribeZoneRecord with the addition of the ability to pass a context and additional request options.

See DescribeZoneRecord for details on how to use this API operation.

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 (*Pdns) ModifyPdnsZone

func (c *Pdns) ModifyPdnsZone(input *map[string]interface{}) (*map[string]interface{}, error)

ModifyPdnsZone API operation for pdns.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the KSC API reference guide for pdns's API operation ModifyPdnsZone for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/pdns-2016-03-04/ModifyPdnsZone

func (*Pdns) ModifyPdnsZoneRequest

func (c *Pdns) ModifyPdnsZoneRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

ModifyPdnsZoneRequest generates a "ksc/request.Request" representing the client's request for the ModifyPdnsZone operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ModifyPdnsZone for more information on using the ModifyPdnsZone API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ModifyPdnsZoneRequest method.
req, resp := client.ModifyPdnsZoneRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pdns-2016-03-04/ModifyPdnsZone

func (*Pdns) ModifyPdnsZoneWithContext

func (c *Pdns) ModifyPdnsZoneWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

ModifyPdnsZoneWithContext is the same as ModifyPdnsZone with the addition of the ability to pass a context and additional request options.

See ModifyPdnsZone for details on how to use this API operation.

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 (*Pdns) ModifyZoneRecord

func (c *Pdns) ModifyZoneRecord(input *map[string]interface{}) (*map[string]interface{}, error)

ModifyZoneRecord API operation for pdns.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the KSC API reference guide for pdns's API operation ModifyZoneRecord for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/pdns-2016-03-04/ModifyZoneRecord

func (*Pdns) ModifyZoneRecordRequest

func (c *Pdns) ModifyZoneRecordRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

ModifyZoneRecordRequest generates a "ksc/request.Request" representing the client's request for the ModifyZoneRecord operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ModifyZoneRecord for more information on using the ModifyZoneRecord API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ModifyZoneRecordRequest method.
req, resp := client.ModifyZoneRecordRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pdns-2016-03-04/ModifyZoneRecord

func (*Pdns) ModifyZoneRecordWithContext

func (c *Pdns) ModifyZoneRecordWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

ModifyZoneRecordWithContext is the same as ModifyZoneRecord with the addition of the ability to pass a context and additional request options.

See ModifyZoneRecord for details on how to use this API operation.

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 (*Pdns) UnbindZoneVpc

func (c *Pdns) UnbindZoneVpc(input *map[string]interface{}) (*map[string]interface{}, error)

UnbindZoneVpc API operation for pdns.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the KSC API reference guide for pdns's API operation UnbindZoneVpc for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/pdns-2016-03-04/UnbindZoneVpc

func (*Pdns) UnbindZoneVpcRequest

func (c *Pdns) UnbindZoneVpcRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

UnbindZoneVpcRequest generates a "ksc/request.Request" representing the client's request for the UnbindZoneVpc operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UnbindZoneVpc for more information on using the UnbindZoneVpc API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UnbindZoneVpcRequest method.
req, resp := client.UnbindZoneVpcRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pdns-2016-03-04/UnbindZoneVpc

func (*Pdns) UnbindZoneVpcWithContext

func (c *Pdns) UnbindZoneVpcWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

UnbindZoneVpcWithContext is the same as UnbindZoneVpc with the addition of the ability to pass a context and additional request options.

See UnbindZoneVpc for details on how to use this API operation.

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.

Directories

Path Synopsis
Package pdnsiface provides an interface to enable mocking the pdns service client for testing your code.
Package pdnsiface provides an interface to enable mocking the pdns service client for testing your code.

Jump to

Keyboard shortcuts

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