mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Replace minio-go with aws-sdk-go for s3-compatible log backend (#670)
* Logs should support specifying region when using S3-compatible object store * Use aws-sdk-go client for s3 backed logstore * fixes vendor with aws-sdk-go dependencies
This commit is contained in:
committed by
Reed Allman
parent
930d1e8dcc
commit
60d2e92c9a
10161
vendor/github.com/aws/aws-sdk-go/service/workdocs/api.go
generated
vendored
Normal file
10161
vendor/github.com/aws/aws-sdk-go/service/workdocs/api.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
58
vendor/github.com/aws/aws-sdk-go/service/workdocs/doc.go
generated
vendored
Normal file
58
vendor/github.com/aws/aws-sdk-go/service/workdocs/doc.go
generated
vendored
Normal file
@@ -0,0 +1,58 @@
|
||||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
// Package workdocs provides the client and types for making API
|
||||
// requests to Amazon WorkDocs.
|
||||
//
|
||||
// The WorkDocs API is designed for the following use cases:
|
||||
//
|
||||
// * File Migration: File migration applications are supported for users
|
||||
// who want to migrate their files from an on-premises or off-premises file
|
||||
// system or service. Users can insert files into a user directory structure,
|
||||
// as well as allow for basic metadata changes, such as modifications to
|
||||
// the permissions of files.
|
||||
//
|
||||
// * Security: Support security applications are supported for users who
|
||||
// have additional security needs, such as antivirus or data loss prevention.
|
||||
// The API actions, along with AWS CloudTrail, allow these applications to
|
||||
// detect when changes occur in Amazon WorkDocs. Then, the application can
|
||||
// take the necessary actions and replace the target file. If the target
|
||||
// file violates the policy, the application can also choose to email the
|
||||
// user.
|
||||
//
|
||||
// * eDiscovery/Analytics: General administrative applications are supported,
|
||||
// such as eDiscovery and analytics. These applications can choose to mimic
|
||||
// or record the actions in an Amazon WorkDocs site, along with AWS CloudTrail,
|
||||
// to replicate data for eDiscovery, backup, or analytical applications.
|
||||
//
|
||||
// All Amazon WorkDocs API actions are Amazon authenticated and certificate-signed.
|
||||
// They not only require the use of the AWS SDK, but also allow for the exclusive
|
||||
// use of IAM users and roles to help facilitate access, trust, and permission
|
||||
// policies. By creating a role and allowing an IAM user to access the Amazon
|
||||
// WorkDocs site, the IAM user gains full administrative visibility into the
|
||||
// entire Amazon WorkDocs site (or as set in the IAM policy). This includes,
|
||||
// but is not limited to, the ability to modify file permissions and upload
|
||||
// any file to any user. This allows developers to perform the three use cases
|
||||
// above, as well as give users the ability to grant access on a selective basis
|
||||
// using the IAM model.
|
||||
//
|
||||
// See https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01 for more information on this service.
|
||||
//
|
||||
// See workdocs package documentation for more information.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/workdocs/
|
||||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To contact Amazon WorkDocs 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 WorkDocs client WorkDocs for more
|
||||
// information on creating client for this service.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/workdocs/#New
|
||||
package workdocs
|
||||
144
vendor/github.com/aws/aws-sdk-go/service/workdocs/errors.go
generated
vendored
Normal file
144
vendor/github.com/aws/aws-sdk-go/service/workdocs/errors.go
generated
vendored
Normal file
@@ -0,0 +1,144 @@
|
||||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
package workdocs
|
||||
|
||||
const (
|
||||
|
||||
// ErrCodeConcurrentModificationException for service response error code
|
||||
// "ConcurrentModificationException".
|
||||
//
|
||||
// The resource hierarchy is changing.
|
||||
ErrCodeConcurrentModificationException = "ConcurrentModificationException"
|
||||
|
||||
// ErrCodeCustomMetadataLimitExceededException for service response error code
|
||||
// "CustomMetadataLimitExceededException".
|
||||
//
|
||||
// The limit has been reached on the number of custom properties for the specified
|
||||
// resource.
|
||||
ErrCodeCustomMetadataLimitExceededException = "CustomMetadataLimitExceededException"
|
||||
|
||||
// ErrCodeDeactivatingLastSystemUserException for service response error code
|
||||
// "DeactivatingLastSystemUserException".
|
||||
//
|
||||
// The last user in the organization is being deactivated.
|
||||
ErrCodeDeactivatingLastSystemUserException = "DeactivatingLastSystemUserException"
|
||||
|
||||
// ErrCodeDocumentLockedForCommentsException for service response error code
|
||||
// "DocumentLockedForCommentsException".
|
||||
//
|
||||
// This exception is thrown when the document is locked for comments and user
|
||||
// tries to create or delete a comment on that document.
|
||||
ErrCodeDocumentLockedForCommentsException = "DocumentLockedForCommentsException"
|
||||
|
||||
// ErrCodeDraftUploadOutOfSyncException for service response error code
|
||||
// "DraftUploadOutOfSyncException".
|
||||
//
|
||||
// This exception is thrown when a valid checkout ID is not presented on document
|
||||
// version upload calls for a document that has been checked out from Web client.
|
||||
ErrCodeDraftUploadOutOfSyncException = "DraftUploadOutOfSyncException"
|
||||
|
||||
// ErrCodeEntityAlreadyExistsException for service response error code
|
||||
// "EntityAlreadyExistsException".
|
||||
//
|
||||
// The resource already exists.
|
||||
ErrCodeEntityAlreadyExistsException = "EntityAlreadyExistsException"
|
||||
|
||||
// ErrCodeEntityNotExistsException for service response error code
|
||||
// "EntityNotExistsException".
|
||||
//
|
||||
// The resource does not exist.
|
||||
ErrCodeEntityNotExistsException = "EntityNotExistsException"
|
||||
|
||||
// ErrCodeFailedDependencyException for service response error code
|
||||
// "FailedDependencyException".
|
||||
//
|
||||
// The AWS Directory Service cannot reach an on-premises instance. Or a dependency
|
||||
// under the control of the organization is failing, such as a connected Active
|
||||
// Directory.
|
||||
ErrCodeFailedDependencyException = "FailedDependencyException"
|
||||
|
||||
// ErrCodeIllegalUserStateException for service response error code
|
||||
// "IllegalUserStateException".
|
||||
//
|
||||
// The user is undergoing transfer of ownership.
|
||||
ErrCodeIllegalUserStateException = "IllegalUserStateException"
|
||||
|
||||
// ErrCodeInvalidArgumentException for service response error code
|
||||
// "InvalidArgumentException".
|
||||
//
|
||||
// The pagination marker or limit fields are not valid.
|
||||
ErrCodeInvalidArgumentException = "InvalidArgumentException"
|
||||
|
||||
// ErrCodeInvalidOperationException for service response error code
|
||||
// "InvalidOperationException".
|
||||
//
|
||||
// The operation is invalid.
|
||||
ErrCodeInvalidOperationException = "InvalidOperationException"
|
||||
|
||||
// ErrCodeInvalidPasswordException for service response error code
|
||||
// "InvalidPasswordException".
|
||||
//
|
||||
// The password is invalid.
|
||||
ErrCodeInvalidPasswordException = "InvalidPasswordException"
|
||||
|
||||
// ErrCodeLimitExceededException for service response error code
|
||||
// "LimitExceededException".
|
||||
//
|
||||
// The maximum of 100,000 folders under the parent folder has been exceeded.
|
||||
ErrCodeLimitExceededException = "LimitExceededException"
|
||||
|
||||
// ErrCodeProhibitedStateException for service response error code
|
||||
// "ProhibitedStateException".
|
||||
//
|
||||
// The specified document version is not in the INITIALIZED state.
|
||||
ErrCodeProhibitedStateException = "ProhibitedStateException"
|
||||
|
||||
// ErrCodeResourceAlreadyCheckedOutException for service response error code
|
||||
// "ResourceAlreadyCheckedOutException".
|
||||
//
|
||||
// The resource is already checked out.
|
||||
ErrCodeResourceAlreadyCheckedOutException = "ResourceAlreadyCheckedOutException"
|
||||
|
||||
// ErrCodeServiceUnavailableException for service response error code
|
||||
// "ServiceUnavailableException".
|
||||
//
|
||||
// One or more of the dependencies is unavailable.
|
||||
ErrCodeServiceUnavailableException = "ServiceUnavailableException"
|
||||
|
||||
// ErrCodeStorageLimitExceededException for service response error code
|
||||
// "StorageLimitExceededException".
|
||||
//
|
||||
// The storage limit has been exceeded.
|
||||
ErrCodeStorageLimitExceededException = "StorageLimitExceededException"
|
||||
|
||||
// ErrCodeStorageLimitWillExceedException for service response error code
|
||||
// "StorageLimitWillExceedException".
|
||||
//
|
||||
// The storage limit will be exceeded.
|
||||
ErrCodeStorageLimitWillExceedException = "StorageLimitWillExceedException"
|
||||
|
||||
// ErrCodeTooManyLabelsException for service response error code
|
||||
// "TooManyLabelsException".
|
||||
//
|
||||
// The limit has been reached on the number of labels for the specified resource.
|
||||
ErrCodeTooManyLabelsException = "TooManyLabelsException"
|
||||
|
||||
// ErrCodeTooManySubscriptionsException for service response error code
|
||||
// "TooManySubscriptionsException".
|
||||
//
|
||||
// You've reached the limit on the number of subscriptions for the WorkDocs
|
||||
// instance.
|
||||
ErrCodeTooManySubscriptionsException = "TooManySubscriptionsException"
|
||||
|
||||
// ErrCodeUnauthorizedOperationException for service response error code
|
||||
// "UnauthorizedOperationException".
|
||||
//
|
||||
// The operation is not permitted.
|
||||
ErrCodeUnauthorizedOperationException = "UnauthorizedOperationException"
|
||||
|
||||
// ErrCodeUnauthorizedResourceAccessException for service response error code
|
||||
// "UnauthorizedResourceAccessException".
|
||||
//
|
||||
// The caller does not have access to perform the action on the resource.
|
||||
ErrCodeUnauthorizedResourceAccessException = "UnauthorizedResourceAccessException"
|
||||
)
|
||||
94
vendor/github.com/aws/aws-sdk-go/service/workdocs/service.go
generated
vendored
Normal file
94
vendor/github.com/aws/aws-sdk-go/service/workdocs/service.go
generated
vendored
Normal file
@@ -0,0 +1,94 @@
|
||||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
package workdocs
|
||||
|
||||
import (
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/client"
|
||||
"github.com/aws/aws-sdk-go/aws/client/metadata"
|
||||
"github.com/aws/aws-sdk-go/aws/request"
|
||||
"github.com/aws/aws-sdk-go/aws/signer/v4"
|
||||
"github.com/aws/aws-sdk-go/private/protocol/restjson"
|
||||
)
|
||||
|
||||
// WorkDocs provides the API operation methods for making requests to
|
||||
// Amazon WorkDocs. See this package's package overview docs
|
||||
// for details on the service.
|
||||
//
|
||||
// WorkDocs methods are safe to use concurrently. It is not safe to
|
||||
// modify mutate any of the struct's properties though.
|
||||
type WorkDocs struct {
|
||||
*client.Client
|
||||
}
|
||||
|
||||
// Used for custom client initialization logic
|
||||
var initClient func(*client.Client)
|
||||
|
||||
// Used for custom request initialization logic
|
||||
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.
|
||||
)
|
||||
|
||||
// New creates a new instance of the WorkDocs client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
// aws.Config parameter to add your extra config.
|
||||
//
|
||||
// Example:
|
||||
// // Create a WorkDocs client from just a session.
|
||||
// svc := workdocs.New(mySession)
|
||||
//
|
||||
// // Create a WorkDocs client with additional configuration
|
||||
// svc := workdocs.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *WorkDocs {
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
// newClient creates, initializes and returns a new service client instance.
|
||||
func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegion, signingName string) *WorkDocs {
|
||||
svc := &WorkDocs{
|
||||
Client: client.New(
|
||||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
APIVersion: "2016-05-01",
|
||||
JSONVersion: "1.1",
|
||||
},
|
||||
handlers,
|
||||
),
|
||||
}
|
||||
|
||||
// Handlers
|
||||
svc.Handlers.Sign.PushBackNamed(v4.SignRequestHandler)
|
||||
svc.Handlers.Build.PushBackNamed(restjson.BuildHandler)
|
||||
svc.Handlers.Unmarshal.PushBackNamed(restjson.UnmarshalHandler)
|
||||
svc.Handlers.UnmarshalMeta.PushBackNamed(restjson.UnmarshalMetaHandler)
|
||||
svc.Handlers.UnmarshalError.PushBackNamed(restjson.UnmarshalErrorHandler)
|
||||
|
||||
// Run custom client initialization if present
|
||||
if initClient != nil {
|
||||
initClient(svc.Client)
|
||||
}
|
||||
|
||||
return svc
|
||||
}
|
||||
|
||||
// newRequest creates a new request for a WorkDocs operation and runs any
|
||||
// custom request initialization.
|
||||
func (c *WorkDocs) newRequest(op *request.Operation, params, data interface{}) *request.Request {
|
||||
req := c.NewRequest(op, params, data)
|
||||
|
||||
// Run custom request initialization if present
|
||||
if initRequest != nil {
|
||||
initRequest(req)
|
||||
}
|
||||
|
||||
return req
|
||||
}
|
||||
233
vendor/github.com/aws/aws-sdk-go/service/workdocs/workdocsiface/interface.go
generated
vendored
Normal file
233
vendor/github.com/aws/aws-sdk-go/service/workdocs/workdocsiface/interface.go
generated
vendored
Normal file
@@ -0,0 +1,233 @@
|
||||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
// Package workdocsiface provides an interface to enable mocking the Amazon WorkDocs service client
|
||||
// for testing your code.
|
||||
//
|
||||
// It is important to note that this interface will have breaking changes
|
||||
// when the service model is updated and adds new API operations, paginators,
|
||||
// and waiters.
|
||||
package workdocsiface
|
||||
|
||||
import (
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/request"
|
||||
"github.com/aws/aws-sdk-go/service/workdocs"
|
||||
)
|
||||
|
||||
// WorkDocsAPI provides an interface to enable mocking the
|
||||
// workdocs.WorkDocs service client's API operation,
|
||||
// paginators, and waiters. This make unit testing your code that calls out
|
||||
// to the SDK's service client's calls easier.
|
||||
//
|
||||
// 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 SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // Amazon WorkDocs.
|
||||
// func myFunc(svc workdocsiface.WorkDocsAPI) bool {
|
||||
// // Make svc.AbortDocumentVersionUpload request
|
||||
// }
|
||||
//
|
||||
// func main() {
|
||||
// sess := session.New()
|
||||
// svc := workdocs.New(sess)
|
||||
//
|
||||
// myFunc(svc)
|
||||
// }
|
||||
//
|
||||
// In your _test.go file:
|
||||
//
|
||||
// // Define a mock struct to be used in your unit tests of myFunc.
|
||||
// type mockWorkDocsClient struct {
|
||||
// workdocsiface.WorkDocsAPI
|
||||
// }
|
||||
// func (m *mockWorkDocsClient) AbortDocumentVersionUpload(input *workdocs.AbortDocumentVersionUploadInput) (*workdocs.AbortDocumentVersionUploadOutput, error) {
|
||||
// // mock response/functionality
|
||||
// }
|
||||
//
|
||||
// func TestMyFunc(t *testing.T) {
|
||||
// // Setup Test
|
||||
// mockSvc := &mockWorkDocsClient{}
|
||||
//
|
||||
// myfunc(mockSvc)
|
||||
//
|
||||
// // Verify myFunc's functionality
|
||||
// }
|
||||
//
|
||||
// It is important to note that this interface will have breaking changes
|
||||
// when the service model is updated and adds new API operations, paginators,
|
||||
// and waiters. Its suggested to use the pattern above for testing, or using
|
||||
// tooling to generate mocks to satisfy the interfaces.
|
||||
type WorkDocsAPI interface {
|
||||
AbortDocumentVersionUpload(*workdocs.AbortDocumentVersionUploadInput) (*workdocs.AbortDocumentVersionUploadOutput, error)
|
||||
AbortDocumentVersionUploadWithContext(aws.Context, *workdocs.AbortDocumentVersionUploadInput, ...request.Option) (*workdocs.AbortDocumentVersionUploadOutput, error)
|
||||
AbortDocumentVersionUploadRequest(*workdocs.AbortDocumentVersionUploadInput) (*request.Request, *workdocs.AbortDocumentVersionUploadOutput)
|
||||
|
||||
ActivateUser(*workdocs.ActivateUserInput) (*workdocs.ActivateUserOutput, error)
|
||||
ActivateUserWithContext(aws.Context, *workdocs.ActivateUserInput, ...request.Option) (*workdocs.ActivateUserOutput, error)
|
||||
ActivateUserRequest(*workdocs.ActivateUserInput) (*request.Request, *workdocs.ActivateUserOutput)
|
||||
|
||||
AddResourcePermissions(*workdocs.AddResourcePermissionsInput) (*workdocs.AddResourcePermissionsOutput, error)
|
||||
AddResourcePermissionsWithContext(aws.Context, *workdocs.AddResourcePermissionsInput, ...request.Option) (*workdocs.AddResourcePermissionsOutput, error)
|
||||
AddResourcePermissionsRequest(*workdocs.AddResourcePermissionsInput) (*request.Request, *workdocs.AddResourcePermissionsOutput)
|
||||
|
||||
CreateComment(*workdocs.CreateCommentInput) (*workdocs.CreateCommentOutput, error)
|
||||
CreateCommentWithContext(aws.Context, *workdocs.CreateCommentInput, ...request.Option) (*workdocs.CreateCommentOutput, error)
|
||||
CreateCommentRequest(*workdocs.CreateCommentInput) (*request.Request, *workdocs.CreateCommentOutput)
|
||||
|
||||
CreateCustomMetadata(*workdocs.CreateCustomMetadataInput) (*workdocs.CreateCustomMetadataOutput, error)
|
||||
CreateCustomMetadataWithContext(aws.Context, *workdocs.CreateCustomMetadataInput, ...request.Option) (*workdocs.CreateCustomMetadataOutput, error)
|
||||
CreateCustomMetadataRequest(*workdocs.CreateCustomMetadataInput) (*request.Request, *workdocs.CreateCustomMetadataOutput)
|
||||
|
||||
CreateFolder(*workdocs.CreateFolderInput) (*workdocs.CreateFolderOutput, error)
|
||||
CreateFolderWithContext(aws.Context, *workdocs.CreateFolderInput, ...request.Option) (*workdocs.CreateFolderOutput, error)
|
||||
CreateFolderRequest(*workdocs.CreateFolderInput) (*request.Request, *workdocs.CreateFolderOutput)
|
||||
|
||||
CreateLabels(*workdocs.CreateLabelsInput) (*workdocs.CreateLabelsOutput, error)
|
||||
CreateLabelsWithContext(aws.Context, *workdocs.CreateLabelsInput, ...request.Option) (*workdocs.CreateLabelsOutput, error)
|
||||
CreateLabelsRequest(*workdocs.CreateLabelsInput) (*request.Request, *workdocs.CreateLabelsOutput)
|
||||
|
||||
CreateNotificationSubscription(*workdocs.CreateNotificationSubscriptionInput) (*workdocs.CreateNotificationSubscriptionOutput, error)
|
||||
CreateNotificationSubscriptionWithContext(aws.Context, *workdocs.CreateNotificationSubscriptionInput, ...request.Option) (*workdocs.CreateNotificationSubscriptionOutput, error)
|
||||
CreateNotificationSubscriptionRequest(*workdocs.CreateNotificationSubscriptionInput) (*request.Request, *workdocs.CreateNotificationSubscriptionOutput)
|
||||
|
||||
CreateUser(*workdocs.CreateUserInput) (*workdocs.CreateUserOutput, error)
|
||||
CreateUserWithContext(aws.Context, *workdocs.CreateUserInput, ...request.Option) (*workdocs.CreateUserOutput, error)
|
||||
CreateUserRequest(*workdocs.CreateUserInput) (*request.Request, *workdocs.CreateUserOutput)
|
||||
|
||||
DeactivateUser(*workdocs.DeactivateUserInput) (*workdocs.DeactivateUserOutput, error)
|
||||
DeactivateUserWithContext(aws.Context, *workdocs.DeactivateUserInput, ...request.Option) (*workdocs.DeactivateUserOutput, error)
|
||||
DeactivateUserRequest(*workdocs.DeactivateUserInput) (*request.Request, *workdocs.DeactivateUserOutput)
|
||||
|
||||
DeleteComment(*workdocs.DeleteCommentInput) (*workdocs.DeleteCommentOutput, error)
|
||||
DeleteCommentWithContext(aws.Context, *workdocs.DeleteCommentInput, ...request.Option) (*workdocs.DeleteCommentOutput, error)
|
||||
DeleteCommentRequest(*workdocs.DeleteCommentInput) (*request.Request, *workdocs.DeleteCommentOutput)
|
||||
|
||||
DeleteCustomMetadata(*workdocs.DeleteCustomMetadataInput) (*workdocs.DeleteCustomMetadataOutput, error)
|
||||
DeleteCustomMetadataWithContext(aws.Context, *workdocs.DeleteCustomMetadataInput, ...request.Option) (*workdocs.DeleteCustomMetadataOutput, error)
|
||||
DeleteCustomMetadataRequest(*workdocs.DeleteCustomMetadataInput) (*request.Request, *workdocs.DeleteCustomMetadataOutput)
|
||||
|
||||
DeleteDocument(*workdocs.DeleteDocumentInput) (*workdocs.DeleteDocumentOutput, error)
|
||||
DeleteDocumentWithContext(aws.Context, *workdocs.DeleteDocumentInput, ...request.Option) (*workdocs.DeleteDocumentOutput, error)
|
||||
DeleteDocumentRequest(*workdocs.DeleteDocumentInput) (*request.Request, *workdocs.DeleteDocumentOutput)
|
||||
|
||||
DeleteFolder(*workdocs.DeleteFolderInput) (*workdocs.DeleteFolderOutput, error)
|
||||
DeleteFolderWithContext(aws.Context, *workdocs.DeleteFolderInput, ...request.Option) (*workdocs.DeleteFolderOutput, error)
|
||||
DeleteFolderRequest(*workdocs.DeleteFolderInput) (*request.Request, *workdocs.DeleteFolderOutput)
|
||||
|
||||
DeleteFolderContents(*workdocs.DeleteFolderContentsInput) (*workdocs.DeleteFolderContentsOutput, error)
|
||||
DeleteFolderContentsWithContext(aws.Context, *workdocs.DeleteFolderContentsInput, ...request.Option) (*workdocs.DeleteFolderContentsOutput, error)
|
||||
DeleteFolderContentsRequest(*workdocs.DeleteFolderContentsInput) (*request.Request, *workdocs.DeleteFolderContentsOutput)
|
||||
|
||||
DeleteLabels(*workdocs.DeleteLabelsInput) (*workdocs.DeleteLabelsOutput, error)
|
||||
DeleteLabelsWithContext(aws.Context, *workdocs.DeleteLabelsInput, ...request.Option) (*workdocs.DeleteLabelsOutput, error)
|
||||
DeleteLabelsRequest(*workdocs.DeleteLabelsInput) (*request.Request, *workdocs.DeleteLabelsOutput)
|
||||
|
||||
DeleteNotificationSubscription(*workdocs.DeleteNotificationSubscriptionInput) (*workdocs.DeleteNotificationSubscriptionOutput, error)
|
||||
DeleteNotificationSubscriptionWithContext(aws.Context, *workdocs.DeleteNotificationSubscriptionInput, ...request.Option) (*workdocs.DeleteNotificationSubscriptionOutput, error)
|
||||
DeleteNotificationSubscriptionRequest(*workdocs.DeleteNotificationSubscriptionInput) (*request.Request, *workdocs.DeleteNotificationSubscriptionOutput)
|
||||
|
||||
DeleteUser(*workdocs.DeleteUserInput) (*workdocs.DeleteUserOutput, error)
|
||||
DeleteUserWithContext(aws.Context, *workdocs.DeleteUserInput, ...request.Option) (*workdocs.DeleteUserOutput, error)
|
||||
DeleteUserRequest(*workdocs.DeleteUserInput) (*request.Request, *workdocs.DeleteUserOutput)
|
||||
|
||||
DescribeActivities(*workdocs.DescribeActivitiesInput) (*workdocs.DescribeActivitiesOutput, error)
|
||||
DescribeActivitiesWithContext(aws.Context, *workdocs.DescribeActivitiesInput, ...request.Option) (*workdocs.DescribeActivitiesOutput, error)
|
||||
DescribeActivitiesRequest(*workdocs.DescribeActivitiesInput) (*request.Request, *workdocs.DescribeActivitiesOutput)
|
||||
|
||||
DescribeComments(*workdocs.DescribeCommentsInput) (*workdocs.DescribeCommentsOutput, error)
|
||||
DescribeCommentsWithContext(aws.Context, *workdocs.DescribeCommentsInput, ...request.Option) (*workdocs.DescribeCommentsOutput, error)
|
||||
DescribeCommentsRequest(*workdocs.DescribeCommentsInput) (*request.Request, *workdocs.DescribeCommentsOutput)
|
||||
|
||||
DescribeDocumentVersions(*workdocs.DescribeDocumentVersionsInput) (*workdocs.DescribeDocumentVersionsOutput, error)
|
||||
DescribeDocumentVersionsWithContext(aws.Context, *workdocs.DescribeDocumentVersionsInput, ...request.Option) (*workdocs.DescribeDocumentVersionsOutput, error)
|
||||
DescribeDocumentVersionsRequest(*workdocs.DescribeDocumentVersionsInput) (*request.Request, *workdocs.DescribeDocumentVersionsOutput)
|
||||
|
||||
DescribeDocumentVersionsPages(*workdocs.DescribeDocumentVersionsInput, func(*workdocs.DescribeDocumentVersionsOutput, bool) bool) error
|
||||
DescribeDocumentVersionsPagesWithContext(aws.Context, *workdocs.DescribeDocumentVersionsInput, func(*workdocs.DescribeDocumentVersionsOutput, bool) bool, ...request.Option) error
|
||||
|
||||
DescribeFolderContents(*workdocs.DescribeFolderContentsInput) (*workdocs.DescribeFolderContentsOutput, error)
|
||||
DescribeFolderContentsWithContext(aws.Context, *workdocs.DescribeFolderContentsInput, ...request.Option) (*workdocs.DescribeFolderContentsOutput, error)
|
||||
DescribeFolderContentsRequest(*workdocs.DescribeFolderContentsInput) (*request.Request, *workdocs.DescribeFolderContentsOutput)
|
||||
|
||||
DescribeFolderContentsPages(*workdocs.DescribeFolderContentsInput, func(*workdocs.DescribeFolderContentsOutput, bool) bool) error
|
||||
DescribeFolderContentsPagesWithContext(aws.Context, *workdocs.DescribeFolderContentsInput, func(*workdocs.DescribeFolderContentsOutput, bool) bool, ...request.Option) error
|
||||
|
||||
DescribeGroups(*workdocs.DescribeGroupsInput) (*workdocs.DescribeGroupsOutput, error)
|
||||
DescribeGroupsWithContext(aws.Context, *workdocs.DescribeGroupsInput, ...request.Option) (*workdocs.DescribeGroupsOutput, error)
|
||||
DescribeGroupsRequest(*workdocs.DescribeGroupsInput) (*request.Request, *workdocs.DescribeGroupsOutput)
|
||||
|
||||
DescribeNotificationSubscriptions(*workdocs.DescribeNotificationSubscriptionsInput) (*workdocs.DescribeNotificationSubscriptionsOutput, error)
|
||||
DescribeNotificationSubscriptionsWithContext(aws.Context, *workdocs.DescribeNotificationSubscriptionsInput, ...request.Option) (*workdocs.DescribeNotificationSubscriptionsOutput, error)
|
||||
DescribeNotificationSubscriptionsRequest(*workdocs.DescribeNotificationSubscriptionsInput) (*request.Request, *workdocs.DescribeNotificationSubscriptionsOutput)
|
||||
|
||||
DescribeResourcePermissions(*workdocs.DescribeResourcePermissionsInput) (*workdocs.DescribeResourcePermissionsOutput, error)
|
||||
DescribeResourcePermissionsWithContext(aws.Context, *workdocs.DescribeResourcePermissionsInput, ...request.Option) (*workdocs.DescribeResourcePermissionsOutput, error)
|
||||
DescribeResourcePermissionsRequest(*workdocs.DescribeResourcePermissionsInput) (*request.Request, *workdocs.DescribeResourcePermissionsOutput)
|
||||
|
||||
DescribeRootFolders(*workdocs.DescribeRootFoldersInput) (*workdocs.DescribeRootFoldersOutput, error)
|
||||
DescribeRootFoldersWithContext(aws.Context, *workdocs.DescribeRootFoldersInput, ...request.Option) (*workdocs.DescribeRootFoldersOutput, error)
|
||||
DescribeRootFoldersRequest(*workdocs.DescribeRootFoldersInput) (*request.Request, *workdocs.DescribeRootFoldersOutput)
|
||||
|
||||
DescribeUsers(*workdocs.DescribeUsersInput) (*workdocs.DescribeUsersOutput, error)
|
||||
DescribeUsersWithContext(aws.Context, *workdocs.DescribeUsersInput, ...request.Option) (*workdocs.DescribeUsersOutput, error)
|
||||
DescribeUsersRequest(*workdocs.DescribeUsersInput) (*request.Request, *workdocs.DescribeUsersOutput)
|
||||
|
||||
DescribeUsersPages(*workdocs.DescribeUsersInput, func(*workdocs.DescribeUsersOutput, bool) bool) error
|
||||
DescribeUsersPagesWithContext(aws.Context, *workdocs.DescribeUsersInput, func(*workdocs.DescribeUsersOutput, bool) bool, ...request.Option) error
|
||||
|
||||
GetCurrentUser(*workdocs.GetCurrentUserInput) (*workdocs.GetCurrentUserOutput, error)
|
||||
GetCurrentUserWithContext(aws.Context, *workdocs.GetCurrentUserInput, ...request.Option) (*workdocs.GetCurrentUserOutput, error)
|
||||
GetCurrentUserRequest(*workdocs.GetCurrentUserInput) (*request.Request, *workdocs.GetCurrentUserOutput)
|
||||
|
||||
GetDocument(*workdocs.GetDocumentInput) (*workdocs.GetDocumentOutput, error)
|
||||
GetDocumentWithContext(aws.Context, *workdocs.GetDocumentInput, ...request.Option) (*workdocs.GetDocumentOutput, error)
|
||||
GetDocumentRequest(*workdocs.GetDocumentInput) (*request.Request, *workdocs.GetDocumentOutput)
|
||||
|
||||
GetDocumentPath(*workdocs.GetDocumentPathInput) (*workdocs.GetDocumentPathOutput, error)
|
||||
GetDocumentPathWithContext(aws.Context, *workdocs.GetDocumentPathInput, ...request.Option) (*workdocs.GetDocumentPathOutput, error)
|
||||
GetDocumentPathRequest(*workdocs.GetDocumentPathInput) (*request.Request, *workdocs.GetDocumentPathOutput)
|
||||
|
||||
GetDocumentVersion(*workdocs.GetDocumentVersionInput) (*workdocs.GetDocumentVersionOutput, error)
|
||||
GetDocumentVersionWithContext(aws.Context, *workdocs.GetDocumentVersionInput, ...request.Option) (*workdocs.GetDocumentVersionOutput, error)
|
||||
GetDocumentVersionRequest(*workdocs.GetDocumentVersionInput) (*request.Request, *workdocs.GetDocumentVersionOutput)
|
||||
|
||||
GetFolder(*workdocs.GetFolderInput) (*workdocs.GetFolderOutput, error)
|
||||
GetFolderWithContext(aws.Context, *workdocs.GetFolderInput, ...request.Option) (*workdocs.GetFolderOutput, error)
|
||||
GetFolderRequest(*workdocs.GetFolderInput) (*request.Request, *workdocs.GetFolderOutput)
|
||||
|
||||
GetFolderPath(*workdocs.GetFolderPathInput) (*workdocs.GetFolderPathOutput, error)
|
||||
GetFolderPathWithContext(aws.Context, *workdocs.GetFolderPathInput, ...request.Option) (*workdocs.GetFolderPathOutput, error)
|
||||
GetFolderPathRequest(*workdocs.GetFolderPathInput) (*request.Request, *workdocs.GetFolderPathOutput)
|
||||
|
||||
InitiateDocumentVersionUpload(*workdocs.InitiateDocumentVersionUploadInput) (*workdocs.InitiateDocumentVersionUploadOutput, error)
|
||||
InitiateDocumentVersionUploadWithContext(aws.Context, *workdocs.InitiateDocumentVersionUploadInput, ...request.Option) (*workdocs.InitiateDocumentVersionUploadOutput, error)
|
||||
InitiateDocumentVersionUploadRequest(*workdocs.InitiateDocumentVersionUploadInput) (*request.Request, *workdocs.InitiateDocumentVersionUploadOutput)
|
||||
|
||||
RemoveAllResourcePermissions(*workdocs.RemoveAllResourcePermissionsInput) (*workdocs.RemoveAllResourcePermissionsOutput, error)
|
||||
RemoveAllResourcePermissionsWithContext(aws.Context, *workdocs.RemoveAllResourcePermissionsInput, ...request.Option) (*workdocs.RemoveAllResourcePermissionsOutput, error)
|
||||
RemoveAllResourcePermissionsRequest(*workdocs.RemoveAllResourcePermissionsInput) (*request.Request, *workdocs.RemoveAllResourcePermissionsOutput)
|
||||
|
||||
RemoveResourcePermission(*workdocs.RemoveResourcePermissionInput) (*workdocs.RemoveResourcePermissionOutput, error)
|
||||
RemoveResourcePermissionWithContext(aws.Context, *workdocs.RemoveResourcePermissionInput, ...request.Option) (*workdocs.RemoveResourcePermissionOutput, error)
|
||||
RemoveResourcePermissionRequest(*workdocs.RemoveResourcePermissionInput) (*request.Request, *workdocs.RemoveResourcePermissionOutput)
|
||||
|
||||
UpdateDocument(*workdocs.UpdateDocumentInput) (*workdocs.UpdateDocumentOutput, error)
|
||||
UpdateDocumentWithContext(aws.Context, *workdocs.UpdateDocumentInput, ...request.Option) (*workdocs.UpdateDocumentOutput, error)
|
||||
UpdateDocumentRequest(*workdocs.UpdateDocumentInput) (*request.Request, *workdocs.UpdateDocumentOutput)
|
||||
|
||||
UpdateDocumentVersion(*workdocs.UpdateDocumentVersionInput) (*workdocs.UpdateDocumentVersionOutput, error)
|
||||
UpdateDocumentVersionWithContext(aws.Context, *workdocs.UpdateDocumentVersionInput, ...request.Option) (*workdocs.UpdateDocumentVersionOutput, error)
|
||||
UpdateDocumentVersionRequest(*workdocs.UpdateDocumentVersionInput) (*request.Request, *workdocs.UpdateDocumentVersionOutput)
|
||||
|
||||
UpdateFolder(*workdocs.UpdateFolderInput) (*workdocs.UpdateFolderOutput, error)
|
||||
UpdateFolderWithContext(aws.Context, *workdocs.UpdateFolderInput, ...request.Option) (*workdocs.UpdateFolderOutput, error)
|
||||
UpdateFolderRequest(*workdocs.UpdateFolderInput) (*request.Request, *workdocs.UpdateFolderOutput)
|
||||
|
||||
UpdateUser(*workdocs.UpdateUserInput) (*workdocs.UpdateUserOutput, error)
|
||||
UpdateUserWithContext(aws.Context, *workdocs.UpdateUserInput, ...request.Option) (*workdocs.UpdateUserOutput, error)
|
||||
UpdateUserRequest(*workdocs.UpdateUserInput) (*request.Request, *workdocs.UpdateUserOutput)
|
||||
}
|
||||
|
||||
var _ WorkDocsAPI = (*workdocs.WorkDocs)(nil)
|
||||
Reference in New Issue
Block a user