Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(opts ...ClientOption) *Client
func (*Client) ListZones ¶
func (c *Client) ListZones(ctx context.Context) (*HostedZoneResponse, error)
func (*Client) UpsertRecordSet ¶
func (c *Client) UpsertRecordSet(ctx context.Context, req *RecordSetRequest) (*RecordSetResponse, error)
type ClientOption ¶
type ClientOption func(c *Client)
func WithCredentials ¶
func WithCredentials(creds aws.Config) ClientOption
type HostedZoneResponse ¶
type HostedZoneResponse struct {
*r53.ListHostedZonesOutput
}
type RecordSetRequest ¶
type RecordSetRequest struct {
*r53.ChangeResourceRecordSetsInput
}
func NewRecordSetRequest ¶
func NewRecordSetRequest(recordName, recordValue, hostedZoneID string, ttl int64) *RecordSetRequest
type RecordSetResponse ¶
type RecordSetResponse struct {
*r53.ChangeResourceRecordSetsOutput
}
Click to show internal directories.
Click to hide internal directories.