Update Go AWS SDK to the latest version

This commit is contained in:
Andrey Smirnov
2019-07-13 00:03:55 +03:00
committed by Andrey Smirnov
parent d08be990ef
commit 94a72b23ff
2183 changed files with 885887 additions and 228114 deletions
+1467 -425
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -15,7 +15,7 @@
// progress and maintaining their state.
//
// This documentation serves as reference only. For a broader overview of the
// Amazon SWF programming model, see the Amazon SWF Developer Guide (http://docs.aws.amazon.com/amazonswf/latest/developerguide/).
// Amazon SWF programming model, see the Amazon SWF Developer Guide (https://docs.aws.amazon.com/amazonswf/latest/developerguide/) .
//
// See swf package documentation for more information.
// https://docs.aws.amazon.com/sdk-for-go/api/service/swf/
+12 -6
View File
@@ -23,8 +23,9 @@ const (
// ErrCodeDomainAlreadyExistsFault for service response error code
// "DomainAlreadyExistsFault".
//
// Returned if the specified domain already exists. You get this fault even
// if the existing domain is in deprecated status.
// Returned if the domain already exists. You may get this fault if you are
// registering a domain that is either already registered or deprecated, or
// if you undeprecate a domain that is currently registered.
ErrCodeDomainAlreadyExistsFault = "DomainAlreadyExistsFault"
// ErrCodeDomainDeprecatedFault for service response error code
@@ -48,13 +49,18 @@ const (
// action.
ErrCodeOperationNotPermittedFault = "OperationNotPermittedFault"
// ErrCodeTooManyTagsFault for service response error code
// "TooManyTagsFault".
//
// You've exceeded the number of tags allowed for a domain.
ErrCodeTooManyTagsFault = "TooManyTagsFault"
// ErrCodeTypeAlreadyExistsFault for service response error code
// "TypeAlreadyExistsFault".
//
// Returned if the type already exists in the specified domain. You get this
// fault even if the existing type is in deprecated status. You can specify
// another version if the intent is to create a new distinct version of the
// type.
// Returned if the type already exists in the specified domain. You may get
// this fault if you are registering a type that is either already registered
// or deprecated, or if you undeprecate a type that is currently registered.
ErrCodeTypeAlreadyExistsFault = "TypeAlreadyExistsFault"
// ErrCodeTypeDeprecatedFault for service response error code
+4 -2
View File
@@ -29,8 +29,9 @@ var initRequest func(*request.Request)
// Service information constants
const (
ServiceName = "swf" // Service endpoint prefix API calls made to.
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
ServiceName = "swf" // Name of service.
EndpointsID = ServiceName // ID to lookup a service endpoint with.
ServiceID = "SWF" // ServiceID is a unique identifer of a specific service.
)
// New creates a new instance of the SWF client with a session.
@@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
cfg,
metadata.ClientInfo{
ServiceName: ServiceName,
ServiceID: ServiceID,
SigningName: signingName,
SigningRegion: signingRegion,
Endpoint: endpoint,
+24
View File
@@ -139,6 +139,10 @@ type SWFAPI interface {
ListOpenWorkflowExecutionsPages(*swf.ListOpenWorkflowExecutionsInput, func(*swf.WorkflowExecutionInfos, bool) bool) error
ListOpenWorkflowExecutionsPagesWithContext(aws.Context, *swf.ListOpenWorkflowExecutionsInput, func(*swf.WorkflowExecutionInfos, bool) bool, ...request.Option) error
ListTagsForResource(*swf.ListTagsForResourceInput) (*swf.ListTagsForResourceOutput, error)
ListTagsForResourceWithContext(aws.Context, *swf.ListTagsForResourceInput, ...request.Option) (*swf.ListTagsForResourceOutput, error)
ListTagsForResourceRequest(*swf.ListTagsForResourceInput) (*request.Request, *swf.ListTagsForResourceOutput)
ListWorkflowTypes(*swf.ListWorkflowTypesInput) (*swf.ListWorkflowTypesOutput, error)
ListWorkflowTypesWithContext(aws.Context, *swf.ListWorkflowTypesInput, ...request.Option) (*swf.ListWorkflowTypesOutput, error)
ListWorkflowTypesRequest(*swf.ListWorkflowTypesInput) (*request.Request, *swf.ListWorkflowTypesOutput)
@@ -201,9 +205,29 @@ type SWFAPI interface {
StartWorkflowExecutionWithContext(aws.Context, *swf.StartWorkflowExecutionInput, ...request.Option) (*swf.StartWorkflowExecutionOutput, error)
StartWorkflowExecutionRequest(*swf.StartWorkflowExecutionInput) (*request.Request, *swf.StartWorkflowExecutionOutput)
TagResource(*swf.TagResourceInput) (*swf.TagResourceOutput, error)
TagResourceWithContext(aws.Context, *swf.TagResourceInput, ...request.Option) (*swf.TagResourceOutput, error)
TagResourceRequest(*swf.TagResourceInput) (*request.Request, *swf.TagResourceOutput)
TerminateWorkflowExecution(*swf.TerminateWorkflowExecutionInput) (*swf.TerminateWorkflowExecutionOutput, error)
TerminateWorkflowExecutionWithContext(aws.Context, *swf.TerminateWorkflowExecutionInput, ...request.Option) (*swf.TerminateWorkflowExecutionOutput, error)
TerminateWorkflowExecutionRequest(*swf.TerminateWorkflowExecutionInput) (*request.Request, *swf.TerminateWorkflowExecutionOutput)
UndeprecateActivityType(*swf.UndeprecateActivityTypeInput) (*swf.UndeprecateActivityTypeOutput, error)
UndeprecateActivityTypeWithContext(aws.Context, *swf.UndeprecateActivityTypeInput, ...request.Option) (*swf.UndeprecateActivityTypeOutput, error)
UndeprecateActivityTypeRequest(*swf.UndeprecateActivityTypeInput) (*request.Request, *swf.UndeprecateActivityTypeOutput)
UndeprecateDomain(*swf.UndeprecateDomainInput) (*swf.UndeprecateDomainOutput, error)
UndeprecateDomainWithContext(aws.Context, *swf.UndeprecateDomainInput, ...request.Option) (*swf.UndeprecateDomainOutput, error)
UndeprecateDomainRequest(*swf.UndeprecateDomainInput) (*request.Request, *swf.UndeprecateDomainOutput)
UndeprecateWorkflowType(*swf.UndeprecateWorkflowTypeInput) (*swf.UndeprecateWorkflowTypeOutput, error)
UndeprecateWorkflowTypeWithContext(aws.Context, *swf.UndeprecateWorkflowTypeInput, ...request.Option) (*swf.UndeprecateWorkflowTypeOutput, error)
UndeprecateWorkflowTypeRequest(*swf.UndeprecateWorkflowTypeInput) (*request.Request, *swf.UndeprecateWorkflowTypeOutput)
UntagResource(*swf.UntagResourceInput) (*swf.UntagResourceOutput, error)
UntagResourceWithContext(aws.Context, *swf.UntagResourceInput, ...request.Option) (*swf.UntagResourceOutput, error)
UntagResourceRequest(*swf.UntagResourceInput) (*request.Request, *swf.UntagResourceOutput)
}
var _ SWFAPI = (*swf.SWF)(nil)