mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-06 22:18:28 +00:00
Update Go AWS SDK to the latest version
This commit is contained in:
committed by
Andrey Smirnov
parent
d08be990ef
commit
94a72b23ff
+462
-137
File diff suppressed because it is too large
Load Diff
+20
@@ -10,6 +10,13 @@ const (
|
||||
// The resource hierarchy is changing.
|
||||
ErrCodeConcurrentModificationException = "ConcurrentModificationException"
|
||||
|
||||
// ErrCodeConflictingOperationException for service response error code
|
||||
// "ConflictingOperationException".
|
||||
//
|
||||
// Another operation is in progress on the resource that conflicts with the
|
||||
// current operation.
|
||||
ErrCodeConflictingOperationException = "ConflictingOperationException"
|
||||
|
||||
// ErrCodeCustomMetadataLimitExceededException for service response error code
|
||||
// "CustomMetadataLimitExceededException".
|
||||
//
|
||||
@@ -69,6 +76,12 @@ const (
|
||||
// The pagination marker or limit fields are not valid.
|
||||
ErrCodeInvalidArgumentException = "InvalidArgumentException"
|
||||
|
||||
// ErrCodeInvalidCommentOperationException for service response error code
|
||||
// "InvalidCommentOperationException".
|
||||
//
|
||||
// The requested operation is not allowed on the specified comment object.
|
||||
ErrCodeInvalidCommentOperationException = "InvalidCommentOperationException"
|
||||
|
||||
// ErrCodeInvalidOperationException for service response error code
|
||||
// "InvalidOperationException".
|
||||
//
|
||||
@@ -93,6 +106,13 @@ const (
|
||||
// The specified document version is not in the INITIALIZED state.
|
||||
ErrCodeProhibitedStateException = "ProhibitedStateException"
|
||||
|
||||
// ErrCodeRequestedEntityTooLargeException for service response error code
|
||||
// "RequestedEntityTooLargeException".
|
||||
//
|
||||
// The response is too large to return. The request must include a filter to
|
||||
// reduce the size of the response.
|
||||
ErrCodeRequestedEntityTooLargeException = "RequestedEntityTooLargeException"
|
||||
|
||||
// ErrCodeResourceAlreadyCheckedOutException for service response error code
|
||||
// "ResourceAlreadyCheckedOutException".
|
||||
//
|
||||
|
||||
+4
-3
@@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
||||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "workdocs" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "workdocs" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "WorkDocs" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the WorkDocs client with a session.
|
||||
@@ -55,11 +56,11 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
||||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
APIVersion: "2016-05-01",
|
||||
JSONVersion: "1.1",
|
||||
},
|
||||
handlers,
|
||||
),
|
||||
|
||||
+4
@@ -201,6 +201,10 @@ type WorkDocsAPI interface {
|
||||
GetFolderPathWithContext(aws.Context, *workdocs.GetFolderPathInput, ...request.Option) (*workdocs.GetFolderPathOutput, error)
|
||||
GetFolderPathRequest(*workdocs.GetFolderPathInput) (*request.Request, *workdocs.GetFolderPathOutput)
|
||||
|
||||
GetResources(*workdocs.GetResourcesInput) (*workdocs.GetResourcesOutput, error)
|
||||
GetResourcesWithContext(aws.Context, *workdocs.GetResourcesInput, ...request.Option) (*workdocs.GetResourcesOutput, error)
|
||||
GetResourcesRequest(*workdocs.GetResourcesInput) (*request.Request, *workdocs.GetResourcesOutput)
|
||||
|
||||
InitiateDocumentVersionUpload(*workdocs.InitiateDocumentVersionUploadInput) (*workdocs.InitiateDocumentVersionUploadOutput, error)
|
||||
InitiateDocumentVersionUploadWithContext(aws.Context, *workdocs.InitiateDocumentVersionUploadInput, ...request.Option) (*workdocs.InitiateDocumentVersionUploadOutput, error)
|
||||
InitiateDocumentVersionUploadRequest(*workdocs.InitiateDocumentVersionUploadInput) (*request.Request, *workdocs.InitiateDocumentVersionUploadOutput)
|
||||
|
||||
Reference in New Issue
Block a user