Documentation ¶
Index ¶
- Constants
- type Dns
- func (c *Dns) CreateHostedZone(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *Dns) CreateHostedZoneRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *Dns) CreateHostedZoneWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *Dns) CreateResourceRecord(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *Dns) CreateResourceRecordRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *Dns) CreateResourceRecordWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *Dns) DeleteHostedZone(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *Dns) DeleteHostedZoneRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *Dns) DeleteHostedZoneWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *Dns) DeleteResourceRecord(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *Dns) DeleteResourceRecordRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *Dns) DeleteResourceRecordWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *Dns) DescribeHostedZones(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *Dns) DescribeHostedZonesRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *Dns) DescribeHostedZonesWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *Dns) DescribeResourceRecords(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *Dns) DescribeResourceRecordsRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *Dns) DescribeResourceRecordsWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *Dns) GetGeolocations(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *Dns) GetGeolocationsRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *Dns) GetGeolocationsWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *Dns) ModifyResourceRecord(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *Dns) ModifyResourceRecordRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *Dns) ModifyResourceRecordWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *Dns) ResourceRecordChangeType(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *Dns) ResourceRecordChangeTypeRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *Dns) ResourceRecordChangeTypeWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
Constants ¶
const ( ServiceName = "dns" // Name of service. EndpointsID = ServiceName // ID to lookup a service endpoint with. ServiceID = "dns" // ServiceID is a unique identifer of a specific service. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dns ¶
Dns provides the API operation methods for making requests to dns. See this package's package overview docs for details on the service.
Dns methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
func New(p client.ConfigProvider, cfgs ...*aws.Config) *Dns
New creates a new instance of the Dns 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 Dns client from just a session. svc := dns.New(mySession) // Create a Dns client with additional configuration svc := dns.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (*Dns) CreateHostedZone ¶
CreateHostedZone API operation for dns.
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 dns's API operation CreateHostedZone for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/dns-2016-06-07/CreateHostedZone
func (*Dns) CreateHostedZoneRequest ¶
func (c *Dns) CreateHostedZoneRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
CreateHostedZoneRequest generates a "ksc/request.Request" representing the client's request for the CreateHostedZone 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 CreateHostedZone for more information on using the CreateHostedZone 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 CreateHostedZoneRequest method. req, resp := client.CreateHostedZoneRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/dns-2016-06-07/CreateHostedZone
func (*Dns) CreateHostedZoneWithContext ¶
func (c *Dns) CreateHostedZoneWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
CreateHostedZoneWithContext is the same as CreateHostedZone with the addition of the ability to pass a context and additional request options.
See CreateHostedZone 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 (*Dns) CreateResourceRecord ¶
CreateResourceRecord API operation for dns.
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 dns's API operation CreateResourceRecord for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/dns-2016-06-07/CreateResourceRecord
func (*Dns) CreateResourceRecordRequest ¶
func (c *Dns) CreateResourceRecordRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
CreateResourceRecordRequest generates a "ksc/request.Request" representing the client's request for the CreateResourceRecord 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 CreateResourceRecord for more information on using the CreateResourceRecord 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 CreateResourceRecordRequest method. req, resp := client.CreateResourceRecordRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/dns-2016-06-07/CreateResourceRecord
func (*Dns) CreateResourceRecordWithContext ¶
func (c *Dns) CreateResourceRecordWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
CreateResourceRecordWithContext is the same as CreateResourceRecord with the addition of the ability to pass a context and additional request options.
See CreateResourceRecord 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 (*Dns) DeleteHostedZone ¶
DeleteHostedZone API operation for dns.
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 dns's API operation DeleteHostedZone for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/dns-2016-06-07/DeleteHostedZone
func (*Dns) DeleteHostedZoneRequest ¶
func (c *Dns) DeleteHostedZoneRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
DeleteHostedZoneRequest generates a "ksc/request.Request" representing the client's request for the DeleteHostedZone 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 DeleteHostedZone for more information on using the DeleteHostedZone 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 DeleteHostedZoneRequest method. req, resp := client.DeleteHostedZoneRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/dns-2016-06-07/DeleteHostedZone
func (*Dns) DeleteHostedZoneWithContext ¶
func (c *Dns) DeleteHostedZoneWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
DeleteHostedZoneWithContext is the same as DeleteHostedZone with the addition of the ability to pass a context and additional request options.
See DeleteHostedZone 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 (*Dns) DeleteResourceRecord ¶
DeleteResourceRecord API operation for dns.
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 dns's API operation DeleteResourceRecord for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/dns-2016-06-07/DeleteResourceRecord
func (*Dns) DeleteResourceRecordRequest ¶
func (c *Dns) DeleteResourceRecordRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
DeleteResourceRecordRequest generates a "ksc/request.Request" representing the client's request for the DeleteResourceRecord 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 DeleteResourceRecord for more information on using the DeleteResourceRecord 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 DeleteResourceRecordRequest method. req, resp := client.DeleteResourceRecordRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/dns-2016-06-07/DeleteResourceRecord
func (*Dns) DeleteResourceRecordWithContext ¶
func (c *Dns) DeleteResourceRecordWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
DeleteResourceRecordWithContext is the same as DeleteResourceRecord with the addition of the ability to pass a context and additional request options.
See DeleteResourceRecord 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 (*Dns) DescribeHostedZones ¶
DescribeHostedZones API operation for dns.
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 dns's API operation DescribeHostedZones for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/dns-2016-06-07/DescribeHostedZones
func (*Dns) DescribeHostedZonesRequest ¶
func (c *Dns) DescribeHostedZonesRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
DescribeHostedZonesRequest generates a "ksc/request.Request" representing the client's request for the DescribeHostedZones 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 DescribeHostedZones for more information on using the DescribeHostedZones 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 DescribeHostedZonesRequest method. req, resp := client.DescribeHostedZonesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/dns-2016-06-07/DescribeHostedZones
func (*Dns) DescribeHostedZonesWithContext ¶
func (c *Dns) DescribeHostedZonesWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
DescribeHostedZonesWithContext is the same as DescribeHostedZones with the addition of the ability to pass a context and additional request options.
See DescribeHostedZones 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 (*Dns) DescribeResourceRecords ¶
func (c *Dns) DescribeResourceRecords(input *map[string]interface{}) (*map[string]interface{}, error)
DescribeResourceRecords API operation for dns.
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 dns's API operation DescribeResourceRecords for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/dns-2016-06-07/DescribeResourceRecords
func (*Dns) DescribeResourceRecordsRequest ¶
func (c *Dns) DescribeResourceRecordsRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
DescribeResourceRecordsRequest generates a "ksc/request.Request" representing the client's request for the DescribeResourceRecords 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 DescribeResourceRecords for more information on using the DescribeResourceRecords 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 DescribeResourceRecordsRequest method. req, resp := client.DescribeResourceRecordsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/dns-2016-06-07/DescribeResourceRecords
func (*Dns) DescribeResourceRecordsWithContext ¶
func (c *Dns) DescribeResourceRecordsWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
DescribeResourceRecordsWithContext is the same as DescribeResourceRecords with the addition of the ability to pass a context and additional request options.
See DescribeResourceRecords 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 (*Dns) GetGeolocations ¶
GetGeolocations API operation for dns.
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 dns's API operation GetGeolocations for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/dns-2016-06-07/GetGeolocations
func (*Dns) GetGeolocationsRequest ¶
func (c *Dns) GetGeolocationsRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
GetGeolocationsRequest generates a "ksc/request.Request" representing the client's request for the GetGeolocations 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 GetGeolocations for more information on using the GetGeolocations 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 GetGeolocationsRequest method. req, resp := client.GetGeolocationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/dns-2016-06-07/GetGeolocations
func (*Dns) GetGeolocationsWithContext ¶
func (c *Dns) GetGeolocationsWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
GetGeolocationsWithContext is the same as GetGeolocations with the addition of the ability to pass a context and additional request options.
See GetGeolocations 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 (*Dns) ModifyResourceRecord ¶
ModifyResourceRecord API operation for dns.
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 dns's API operation ModifyResourceRecord for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/dns-2016-06-07/ModifyResourceRecord
func (*Dns) ModifyResourceRecordRequest ¶
func (c *Dns) ModifyResourceRecordRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
ModifyResourceRecordRequest generates a "ksc/request.Request" representing the client's request for the ModifyResourceRecord 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 ModifyResourceRecord for more information on using the ModifyResourceRecord 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 ModifyResourceRecordRequest method. req, resp := client.ModifyResourceRecordRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/dns-2016-06-07/ModifyResourceRecord
func (*Dns) ModifyResourceRecordWithContext ¶
func (c *Dns) ModifyResourceRecordWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
ModifyResourceRecordWithContext is the same as ModifyResourceRecord with the addition of the ability to pass a context and additional request options.
See ModifyResourceRecord 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 (*Dns) ResourceRecordChangeType ¶
func (c *Dns) ResourceRecordChangeType(input *map[string]interface{}) (*map[string]interface{}, error)
ResourceRecordChangeType API operation for dns.
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 dns's API operation ResourceRecordChangeType for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/dns-2016-06-07/ResourceRecordChangeType
func (*Dns) ResourceRecordChangeTypeRequest ¶
func (c *Dns) ResourceRecordChangeTypeRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
ResourceRecordChangeTypeRequest generates a "ksc/request.Request" representing the client's request for the ResourceRecordChangeType 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 ResourceRecordChangeType for more information on using the ResourceRecordChangeType 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 ResourceRecordChangeTypeRequest method. req, resp := client.ResourceRecordChangeTypeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/dns-2016-06-07/ResourceRecordChangeType
func (*Dns) ResourceRecordChangeTypeWithContext ¶
func (c *Dns) ResourceRecordChangeTypeWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
ResourceRecordChangeTypeWithContext is the same as ResourceRecordChangeType with the addition of the ability to pass a context and additional request options.
See ResourceRecordChangeType 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.