mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-31 04:30:44 +00:00
Upgrade AWS SDK to the latest version
This commit is contained in:
+1337
-706
File diff suppressed because it is too large
Load Diff
+34
@@ -0,0 +1,34 @@
|
||||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
// Package ses provides the client and types for making API
|
||||
// requests to Amazon Simple Email Service.
|
||||
//
|
||||
// This is the API Reference for Amazon Simple Email Service (https://aws.amazon.com/ses/)
|
||||
// (Amazon SES). This documentation is intended to be used in conjunction with
|
||||
// the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/Welcome.html).
|
||||
//
|
||||
// For a list of Amazon SES endpoints to use in service requests, see Regions
|
||||
// and Amazon SES (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/regions.html)
|
||||
// in the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/Welcome.html).
|
||||
//
|
||||
// See https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01 for more information on this service.
|
||||
//
|
||||
// See ses package documentation for more information.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/ses/
|
||||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To Amazon Simple Email Service 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 Simple Email Service client SES for more
|
||||
// information on creating client for this service.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/ses/#New
|
||||
package ses
|
||||
+32
-1
@@ -1,4 +1,4 @@
|
||||
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
|
||||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
package ses
|
||||
|
||||
@@ -88,6 +88,13 @@ const (
|
||||
// Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html).
|
||||
ErrCodeInvalidS3ConfigurationException = "InvalidS3Configuration"
|
||||
|
||||
// ErrCodeInvalidSNSDestinationException for service response error code
|
||||
// "InvalidSNSDestination".
|
||||
//
|
||||
// Indicates that the Amazon Simple Notification Service (Amazon SNS) destination
|
||||
// is invalid. See the error message for details.
|
||||
ErrCodeInvalidSNSDestinationException = "InvalidSNSDestination"
|
||||
|
||||
// ErrCodeInvalidSnsTopicException for service response error code
|
||||
// "InvalidSnsTopic".
|
||||
//
|
||||
@@ -96,6 +103,17 @@ const (
|
||||
// about giving permissions, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html).
|
||||
ErrCodeInvalidSnsTopicException = "InvalidSnsTopic"
|
||||
|
||||
// ErrCodeInvalidTrackingOptionsException for service response error code
|
||||
// "InvalidTrackingOptions".
|
||||
//
|
||||
// Indicates that the custom domain to be used for open and click tracking redirects
|
||||
// is invalid. This error appears most often in the following situations:
|
||||
//
|
||||
// * When the tracking domain you specified is not verified in Amazon SES.
|
||||
//
|
||||
// * When the tracking domain you specified is not a valid domain or subdomain.
|
||||
ErrCodeInvalidTrackingOptionsException = "InvalidTrackingOptions"
|
||||
|
||||
// ErrCodeLimitExceededException for service response error code
|
||||
// "LimitExceeded".
|
||||
//
|
||||
@@ -130,4 +148,17 @@ const (
|
||||
//
|
||||
// Indicates that the provided receipt rule set does not exist.
|
||||
ErrCodeRuleSetDoesNotExistException = "RuleSetDoesNotExist"
|
||||
|
||||
// ErrCodeTrackingOptionsAlreadyExistsException for service response error code
|
||||
// "TrackingOptionsAlreadyExistsException".
|
||||
//
|
||||
// Indicates that the configuration set you specified already contains a TrackingOptions
|
||||
// object.
|
||||
ErrCodeTrackingOptionsAlreadyExistsException = "TrackingOptionsAlreadyExistsException"
|
||||
|
||||
// ErrCodeTrackingOptionsDoesNotExistException for service response error code
|
||||
// "TrackingOptionsDoesNotExistException".
|
||||
//
|
||||
// Indicates that the TrackingOptions object you specified does not exist.
|
||||
ErrCodeTrackingOptionsDoesNotExistException = "TrackingOptionsDoesNotExistException"
|
||||
)
|
||||
|
||||
+1011
-1035
File diff suppressed because it is too large
Load Diff
+6
-10
@@ -1,4 +1,4 @@
|
||||
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
|
||||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
package ses
|
||||
|
||||
@@ -11,16 +11,12 @@ import (
|
||||
"github.com/aws/aws-sdk-go/private/protocol/query"
|
||||
)
|
||||
|
||||
// This is the API Reference for Amazon Simple Email Service (Amazon SES). This
|
||||
// documentation is intended to be used in conjunction with the Amazon SES Developer
|
||||
// Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/Welcome.html).
|
||||
// SES provides the API operation methods for making requests to
|
||||
// Amazon Simple Email Service. See this package's package overview docs
|
||||
// for details on the service.
|
||||
//
|
||||
// For a list of Amazon SES endpoints to use in service requests, see Regions
|
||||
// and Amazon SES (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/regions.html)
|
||||
// in the Amazon SES Developer Guide.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01
|
||||
// SES methods are safe to use concurrently. It is not safe to
|
||||
// modify mutate any of the struct's properties though.
|
||||
type SES struct {
|
||||
*client.Client
|
||||
}
|
||||
|
||||
+14
-2
@@ -1,4 +1,4 @@
|
||||
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
|
||||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
// Package sesiface provides an interface to enable mocking the Amazon Simple Email Service service client
|
||||
// for testing your code.
|
||||
@@ -21,7 +21,7 @@ import (
|
||||
//
|
||||
// The best way to use this interface is so the SDK's service client's calls
|
||||
// can be stubbed out for unit testing your code with the SDK without needing
|
||||
// to inject custom request handlers into the the SDK's request pipeline.
|
||||
// to inject custom request handlers into the SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // Amazon Simple Email Service.
|
||||
@@ -72,6 +72,10 @@ type SESAPI interface {
|
||||
CreateConfigurationSetEventDestinationWithContext(aws.Context, *ses.CreateConfigurationSetEventDestinationInput, ...request.Option) (*ses.CreateConfigurationSetEventDestinationOutput, error)
|
||||
CreateConfigurationSetEventDestinationRequest(*ses.CreateConfigurationSetEventDestinationInput) (*request.Request, *ses.CreateConfigurationSetEventDestinationOutput)
|
||||
|
||||
CreateConfigurationSetTrackingOptions(*ses.CreateConfigurationSetTrackingOptionsInput) (*ses.CreateConfigurationSetTrackingOptionsOutput, error)
|
||||
CreateConfigurationSetTrackingOptionsWithContext(aws.Context, *ses.CreateConfigurationSetTrackingOptionsInput, ...request.Option) (*ses.CreateConfigurationSetTrackingOptionsOutput, error)
|
||||
CreateConfigurationSetTrackingOptionsRequest(*ses.CreateConfigurationSetTrackingOptionsInput) (*request.Request, *ses.CreateConfigurationSetTrackingOptionsOutput)
|
||||
|
||||
CreateReceiptFilter(*ses.CreateReceiptFilterInput) (*ses.CreateReceiptFilterOutput, error)
|
||||
CreateReceiptFilterWithContext(aws.Context, *ses.CreateReceiptFilterInput, ...request.Option) (*ses.CreateReceiptFilterOutput, error)
|
||||
CreateReceiptFilterRequest(*ses.CreateReceiptFilterInput) (*request.Request, *ses.CreateReceiptFilterOutput)
|
||||
@@ -92,6 +96,10 @@ type SESAPI interface {
|
||||
DeleteConfigurationSetEventDestinationWithContext(aws.Context, *ses.DeleteConfigurationSetEventDestinationInput, ...request.Option) (*ses.DeleteConfigurationSetEventDestinationOutput, error)
|
||||
DeleteConfigurationSetEventDestinationRequest(*ses.DeleteConfigurationSetEventDestinationInput) (*request.Request, *ses.DeleteConfigurationSetEventDestinationOutput)
|
||||
|
||||
DeleteConfigurationSetTrackingOptions(*ses.DeleteConfigurationSetTrackingOptionsInput) (*ses.DeleteConfigurationSetTrackingOptionsOutput, error)
|
||||
DeleteConfigurationSetTrackingOptionsWithContext(aws.Context, *ses.DeleteConfigurationSetTrackingOptionsInput, ...request.Option) (*ses.DeleteConfigurationSetTrackingOptionsOutput, error)
|
||||
DeleteConfigurationSetTrackingOptionsRequest(*ses.DeleteConfigurationSetTrackingOptionsInput) (*request.Request, *ses.DeleteConfigurationSetTrackingOptionsOutput)
|
||||
|
||||
DeleteIdentity(*ses.DeleteIdentityInput) (*ses.DeleteIdentityOutput, error)
|
||||
DeleteIdentityWithContext(aws.Context, *ses.DeleteIdentityInput, ...request.Option) (*ses.DeleteIdentityOutput, error)
|
||||
DeleteIdentityRequest(*ses.DeleteIdentityInput) (*request.Request, *ses.DeleteIdentityOutput)
|
||||
@@ -239,6 +247,10 @@ type SESAPI interface {
|
||||
UpdateConfigurationSetEventDestinationWithContext(aws.Context, *ses.UpdateConfigurationSetEventDestinationInput, ...request.Option) (*ses.UpdateConfigurationSetEventDestinationOutput, error)
|
||||
UpdateConfigurationSetEventDestinationRequest(*ses.UpdateConfigurationSetEventDestinationInput) (*request.Request, *ses.UpdateConfigurationSetEventDestinationOutput)
|
||||
|
||||
UpdateConfigurationSetTrackingOptions(*ses.UpdateConfigurationSetTrackingOptionsInput) (*ses.UpdateConfigurationSetTrackingOptionsOutput, error)
|
||||
UpdateConfigurationSetTrackingOptionsWithContext(aws.Context, *ses.UpdateConfigurationSetTrackingOptionsInput, ...request.Option) (*ses.UpdateConfigurationSetTrackingOptionsOutput, error)
|
||||
UpdateConfigurationSetTrackingOptionsRequest(*ses.UpdateConfigurationSetTrackingOptionsInput) (*request.Request, *ses.UpdateConfigurationSetTrackingOptionsOutput)
|
||||
|
||||
UpdateReceiptRule(*ses.UpdateReceiptRuleInput) (*ses.UpdateReceiptRuleOutput, error)
|
||||
UpdateReceiptRuleWithContext(aws.Context, *ses.UpdateReceiptRuleInput, ...request.Option) (*ses.UpdateReceiptRuleOutput, error)
|
||||
UpdateReceiptRuleRequest(*ses.UpdateReceiptRuleInput) (*request.Request, *ses.UpdateReceiptRuleOutput)
|
||||
|
||||
+8
-3
@@ -1,4 +1,4 @@
|
||||
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
|
||||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
package ses
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
|
||||
// WaitUntilIdentityExists uses the Amazon SES API operation
|
||||
// GetIdentityVerificationAttributes to wait for a condition to be met before returning.
|
||||
// If the condition is not meet within the max attempt window an error will
|
||||
// If the condition is not met within the max attempt window, an error will
|
||||
// be returned.
|
||||
func (c *SES) WaitUntilIdentityExists(input *GetIdentityVerificationAttributesInput) error {
|
||||
return c.WaitUntilIdentityExistsWithContext(aws.BackgroundContext(), input)
|
||||
@@ -39,7 +39,12 @@ func (c *SES) WaitUntilIdentityExistsWithContext(ctx aws.Context, input *GetIden
|
||||
},
|
||||
Logger: c.Config.Logger,
|
||||
NewRequest: func(opts []request.Option) (*request.Request, error) {
|
||||
req, _ := c.GetIdentityVerificationAttributesRequest(input)
|
||||
var inCpy *GetIdentityVerificationAttributesInput
|
||||
if input != nil {
|
||||
tmp := *input
|
||||
inCpy = &tmp
|
||||
}
|
||||
req, _ := c.GetIdentityVerificationAttributesRequest(inCpy)
|
||||
req.SetContext(ctx)
|
||||
req.ApplyOptions(opts...)
|
||||
return req, nil
|
||||
|
||||
Reference in New Issue
Block a user