Documentation ¶
Index ¶
- type IClient
- func (_m *IClient) AcceptResourceShareInvitation(ctx context.Context, params *ram.AcceptResourceShareInvitationInput, ...) (*ram.AcceptResourceShareInvitationOutput, error)
- func (_m *IClient) AssociateResourceShare(ctx context.Context, params *ram.AssociateResourceShareInput, ...) (*ram.AssociateResourceShareOutput, error)
- func (_m *IClient) AssociateResourceSharePermission(ctx context.Context, params *ram.AssociateResourceSharePermissionInput, ...) (*ram.AssociateResourceSharePermissionOutput, error)
- func (_m *IClient) CreatePermission(ctx context.Context, params *ram.CreatePermissionInput, ...) (*ram.CreatePermissionOutput, error)
- func (_m *IClient) CreatePermissionVersion(ctx context.Context, params *ram.CreatePermissionVersionInput, ...) (*ram.CreatePermissionVersionOutput, error)
- func (_m *IClient) CreateResourceShare(ctx context.Context, params *ram.CreateResourceShareInput, ...) (*ram.CreateResourceShareOutput, error)
- func (_m *IClient) DeletePermission(ctx context.Context, params *ram.DeletePermissionInput, ...) (*ram.DeletePermissionOutput, error)
- func (_m *IClient) DeletePermissionVersion(ctx context.Context, params *ram.DeletePermissionVersionInput, ...) (*ram.DeletePermissionVersionOutput, error)
- func (_m *IClient) DeleteResourceShare(ctx context.Context, params *ram.DeleteResourceShareInput, ...) (*ram.DeleteResourceShareOutput, error)
- func (_m *IClient) DisassociateResourceShare(ctx context.Context, params *ram.DisassociateResourceShareInput, ...) (*ram.DisassociateResourceShareOutput, error)
- func (_m *IClient) DisassociateResourceSharePermission(ctx context.Context, params *ram.DisassociateResourceSharePermissionInput, ...) (*ram.DisassociateResourceSharePermissionOutput, error)
- func (_m *IClient) EnableSharingWithAwsOrganization(ctx context.Context, params *ram.EnableSharingWithAwsOrganizationInput, ...) (*ram.EnableSharingWithAwsOrganizationOutput, error)
- func (_m *IClient) GetPermission(ctx context.Context, params *ram.GetPermissionInput, ...) (*ram.GetPermissionOutput, error)
- func (_m *IClient) GetResourcePolicies(ctx context.Context, params *ram.GetResourcePoliciesInput, ...) (*ram.GetResourcePoliciesOutput, error)
- func (_m *IClient) GetResourceShareAssociations(ctx context.Context, params *ram.GetResourceShareAssociationsInput, ...) (*ram.GetResourceShareAssociationsOutput, error)
- func (_m *IClient) GetResourceShareInvitations(ctx context.Context, params *ram.GetResourceShareInvitationsInput, ...) (*ram.GetResourceShareInvitationsOutput, error)
- func (_m *IClient) GetResourceShares(ctx context.Context, params *ram.GetResourceSharesInput, ...) (*ram.GetResourceSharesOutput, error)
- func (_m *IClient) ListPendingInvitationResources(ctx context.Context, params *ram.ListPendingInvitationResourcesInput, ...) (*ram.ListPendingInvitationResourcesOutput, error)
- func (_m *IClient) ListPermissionAssociations(ctx context.Context, params *ram.ListPermissionAssociationsInput, ...) (*ram.ListPermissionAssociationsOutput, error)
- func (_m *IClient) ListPermissionVersions(ctx context.Context, params *ram.ListPermissionVersionsInput, ...) (*ram.ListPermissionVersionsOutput, error)
- func (_m *IClient) ListPermissions(ctx context.Context, params *ram.ListPermissionsInput, ...) (*ram.ListPermissionsOutput, error)
- func (_m *IClient) ListPrincipals(ctx context.Context, params *ram.ListPrincipalsInput, ...) (*ram.ListPrincipalsOutput, error)
- func (_m *IClient) ListReplacePermissionAssociationsWork(ctx context.Context, params *ram.ListReplacePermissionAssociationsWorkInput, ...) (*ram.ListReplacePermissionAssociationsWorkOutput, error)
- func (_m *IClient) ListResourceSharePermissions(ctx context.Context, params *ram.ListResourceSharePermissionsInput, ...) (*ram.ListResourceSharePermissionsOutput, error)
- func (_m *IClient) ListResourceTypes(ctx context.Context, params *ram.ListResourceTypesInput, ...) (*ram.ListResourceTypesOutput, error)
- func (_m *IClient) ListResources(ctx context.Context, params *ram.ListResourcesInput, ...) (*ram.ListResourcesOutput, error)
- func (_m *IClient) Options() ram.Options
- func (_m *IClient) PromotePermissionCreatedFromPolicy(ctx context.Context, params *ram.PromotePermissionCreatedFromPolicyInput, ...) (*ram.PromotePermissionCreatedFromPolicyOutput, error)
- func (_m *IClient) PromoteResourceShareCreatedFromPolicy(ctx context.Context, params *ram.PromoteResourceShareCreatedFromPolicyInput, ...) (*ram.PromoteResourceShareCreatedFromPolicyOutput, error)
- func (_m *IClient) RejectResourceShareInvitation(ctx context.Context, params *ram.RejectResourceShareInvitationInput, ...) (*ram.RejectResourceShareInvitationOutput, error)
- func (_m *IClient) ReplacePermissionAssociations(ctx context.Context, params *ram.ReplacePermissionAssociationsInput, ...) (*ram.ReplacePermissionAssociationsOutput, error)
- func (_m *IClient) SetDefaultPermissionVersion(ctx context.Context, params *ram.SetDefaultPermissionVersionInput, ...) (*ram.SetDefaultPermissionVersionOutput, error)
- func (_m *IClient) TagResource(ctx context.Context, params *ram.TagResourceInput, ...) (*ram.TagResourceOutput, error)
- func (_m *IClient) UntagResource(ctx context.Context, params *ram.UntagResourceInput, ...) (*ram.UntagResourceOutput, error)
- func (_m *IClient) UpdateResourceShare(ctx context.Context, params *ram.UpdateResourceShareInput, ...) (*ram.UpdateResourceShareOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IClient ¶
IClient is an autogenerated mock type for the IClient type
func NewIClient ¶
NewIClient creates a new instance of IClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*IClient) AcceptResourceShareInvitation ¶
func (_m *IClient) AcceptResourceShareInvitation(ctx context.Context, params *ram.AcceptResourceShareInvitationInput, optFns ...func(*ram.Options)) (*ram.AcceptResourceShareInvitationOutput, error)
AcceptResourceShareInvitation provides a mock function with given fields: ctx, params, optFns
func (*IClient) AssociateResourceShare ¶
func (_m *IClient) AssociateResourceShare(ctx context.Context, params *ram.AssociateResourceShareInput, optFns ...func(*ram.Options)) (*ram.AssociateResourceShareOutput, error)
AssociateResourceShare provides a mock function with given fields: ctx, params, optFns
func (*IClient) AssociateResourceSharePermission ¶
func (_m *IClient) AssociateResourceSharePermission(ctx context.Context, params *ram.AssociateResourceSharePermissionInput, optFns ...func(*ram.Options)) (*ram.AssociateResourceSharePermissionOutput, error)
AssociateResourceSharePermission provides a mock function with given fields: ctx, params, optFns
func (*IClient) CreatePermission ¶
func (_m *IClient) CreatePermission(ctx context.Context, params *ram.CreatePermissionInput, optFns ...func(*ram.Options)) (*ram.CreatePermissionOutput, error)
CreatePermission provides a mock function with given fields: ctx, params, optFns
func (*IClient) CreatePermissionVersion ¶
func (_m *IClient) CreatePermissionVersion(ctx context.Context, params *ram.CreatePermissionVersionInput, optFns ...func(*ram.Options)) (*ram.CreatePermissionVersionOutput, error)
CreatePermissionVersion provides a mock function with given fields: ctx, params, optFns
func (*IClient) CreateResourceShare ¶
func (_m *IClient) CreateResourceShare(ctx context.Context, params *ram.CreateResourceShareInput, optFns ...func(*ram.Options)) (*ram.CreateResourceShareOutput, error)
CreateResourceShare provides a mock function with given fields: ctx, params, optFns
func (*IClient) DeletePermission ¶
func (_m *IClient) DeletePermission(ctx context.Context, params *ram.DeletePermissionInput, optFns ...func(*ram.Options)) (*ram.DeletePermissionOutput, error)
DeletePermission provides a mock function with given fields: ctx, params, optFns
func (*IClient) DeletePermissionVersion ¶
func (_m *IClient) DeletePermissionVersion(ctx context.Context, params *ram.DeletePermissionVersionInput, optFns ...func(*ram.Options)) (*ram.DeletePermissionVersionOutput, error)
DeletePermissionVersion provides a mock function with given fields: ctx, params, optFns
func (*IClient) DeleteResourceShare ¶
func (_m *IClient) DeleteResourceShare(ctx context.Context, params *ram.DeleteResourceShareInput, optFns ...func(*ram.Options)) (*ram.DeleteResourceShareOutput, error)
DeleteResourceShare provides a mock function with given fields: ctx, params, optFns
func (*IClient) DisassociateResourceShare ¶
func (_m *IClient) DisassociateResourceShare(ctx context.Context, params *ram.DisassociateResourceShareInput, optFns ...func(*ram.Options)) (*ram.DisassociateResourceShareOutput, error)
DisassociateResourceShare provides a mock function with given fields: ctx, params, optFns
func (*IClient) DisassociateResourceSharePermission ¶
func (_m *IClient) DisassociateResourceSharePermission(ctx context.Context, params *ram.DisassociateResourceSharePermissionInput, optFns ...func(*ram.Options)) (*ram.DisassociateResourceSharePermissionOutput, error)
DisassociateResourceSharePermission provides a mock function with given fields: ctx, params, optFns
func (*IClient) EnableSharingWithAwsOrganization ¶
func (_m *IClient) EnableSharingWithAwsOrganization(ctx context.Context, params *ram.EnableSharingWithAwsOrganizationInput, optFns ...func(*ram.Options)) (*ram.EnableSharingWithAwsOrganizationOutput, error)
EnableSharingWithAwsOrganization provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetPermission ¶
func (_m *IClient) GetPermission(ctx context.Context, params *ram.GetPermissionInput, optFns ...func(*ram.Options)) (*ram.GetPermissionOutput, error)
GetPermission provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetResourcePolicies ¶
func (_m *IClient) GetResourcePolicies(ctx context.Context, params *ram.GetResourcePoliciesInput, optFns ...func(*ram.Options)) (*ram.GetResourcePoliciesOutput, error)
GetResourcePolicies provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetResourceShareAssociations ¶
func (_m *IClient) GetResourceShareAssociations(ctx context.Context, params *ram.GetResourceShareAssociationsInput, optFns ...func(*ram.Options)) (*ram.GetResourceShareAssociationsOutput, error)
GetResourceShareAssociations provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetResourceShareInvitations ¶
func (_m *IClient) GetResourceShareInvitations(ctx context.Context, params *ram.GetResourceShareInvitationsInput, optFns ...func(*ram.Options)) (*ram.GetResourceShareInvitationsOutput, error)
GetResourceShareInvitations provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetResourceShares ¶
func (_m *IClient) GetResourceShares(ctx context.Context, params *ram.GetResourceSharesInput, optFns ...func(*ram.Options)) (*ram.GetResourceSharesOutput, error)
GetResourceShares provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListPendingInvitationResources ¶
func (_m *IClient) ListPendingInvitationResources(ctx context.Context, params *ram.ListPendingInvitationResourcesInput, optFns ...func(*ram.Options)) (*ram.ListPendingInvitationResourcesOutput, error)
ListPendingInvitationResources provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListPermissionAssociations ¶
func (_m *IClient) ListPermissionAssociations(ctx context.Context, params *ram.ListPermissionAssociationsInput, optFns ...func(*ram.Options)) (*ram.ListPermissionAssociationsOutput, error)
ListPermissionAssociations provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListPermissionVersions ¶
func (_m *IClient) ListPermissionVersions(ctx context.Context, params *ram.ListPermissionVersionsInput, optFns ...func(*ram.Options)) (*ram.ListPermissionVersionsOutput, error)
ListPermissionVersions provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListPermissions ¶
func (_m *IClient) ListPermissions(ctx context.Context, params *ram.ListPermissionsInput, optFns ...func(*ram.Options)) (*ram.ListPermissionsOutput, error)
ListPermissions provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListPrincipals ¶
func (_m *IClient) ListPrincipals(ctx context.Context, params *ram.ListPrincipalsInput, optFns ...func(*ram.Options)) (*ram.ListPrincipalsOutput, error)
ListPrincipals provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListReplacePermissionAssociationsWork ¶
func (_m *IClient) ListReplacePermissionAssociationsWork(ctx context.Context, params *ram.ListReplacePermissionAssociationsWorkInput, optFns ...func(*ram.Options)) (*ram.ListReplacePermissionAssociationsWorkOutput, error)
ListReplacePermissionAssociationsWork provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListResourceSharePermissions ¶
func (_m *IClient) ListResourceSharePermissions(ctx context.Context, params *ram.ListResourceSharePermissionsInput, optFns ...func(*ram.Options)) (*ram.ListResourceSharePermissionsOutput, error)
ListResourceSharePermissions provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListResourceTypes ¶
func (_m *IClient) ListResourceTypes(ctx context.Context, params *ram.ListResourceTypesInput, optFns ...func(*ram.Options)) (*ram.ListResourceTypesOutput, error)
ListResourceTypes provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListResources ¶
func (_m *IClient) ListResources(ctx context.Context, params *ram.ListResourcesInput, optFns ...func(*ram.Options)) (*ram.ListResourcesOutput, error)
ListResources provides a mock function with given fields: ctx, params, optFns
func (*IClient) PromotePermissionCreatedFromPolicy ¶
func (_m *IClient) PromotePermissionCreatedFromPolicy(ctx context.Context, params *ram.PromotePermissionCreatedFromPolicyInput, optFns ...func(*ram.Options)) (*ram.PromotePermissionCreatedFromPolicyOutput, error)
PromotePermissionCreatedFromPolicy provides a mock function with given fields: ctx, params, optFns
func (*IClient) PromoteResourceShareCreatedFromPolicy ¶
func (_m *IClient) PromoteResourceShareCreatedFromPolicy(ctx context.Context, params *ram.PromoteResourceShareCreatedFromPolicyInput, optFns ...func(*ram.Options)) (*ram.PromoteResourceShareCreatedFromPolicyOutput, error)
PromoteResourceShareCreatedFromPolicy provides a mock function with given fields: ctx, params, optFns
func (*IClient) RejectResourceShareInvitation ¶
func (_m *IClient) RejectResourceShareInvitation(ctx context.Context, params *ram.RejectResourceShareInvitationInput, optFns ...func(*ram.Options)) (*ram.RejectResourceShareInvitationOutput, error)
RejectResourceShareInvitation provides a mock function with given fields: ctx, params, optFns
func (*IClient) ReplacePermissionAssociations ¶
func (_m *IClient) ReplacePermissionAssociations(ctx context.Context, params *ram.ReplacePermissionAssociationsInput, optFns ...func(*ram.Options)) (*ram.ReplacePermissionAssociationsOutput, error)
ReplacePermissionAssociations provides a mock function with given fields: ctx, params, optFns
func (*IClient) SetDefaultPermissionVersion ¶
func (_m *IClient) SetDefaultPermissionVersion(ctx context.Context, params *ram.SetDefaultPermissionVersionInput, optFns ...func(*ram.Options)) (*ram.SetDefaultPermissionVersionOutput, error)
SetDefaultPermissionVersion provides a mock function with given fields: ctx, params, optFns
func (*IClient) TagResource ¶
func (_m *IClient) TagResource(ctx context.Context, params *ram.TagResourceInput, optFns ...func(*ram.Options)) (*ram.TagResourceOutput, error)
TagResource provides a mock function with given fields: ctx, params, optFns
func (*IClient) UntagResource ¶
func (_m *IClient) UntagResource(ctx context.Context, params *ram.UntagResourceInput, optFns ...func(*ram.Options)) (*ram.UntagResourceOutput, error)
UntagResource provides a mock function with given fields: ctx, params, optFns
func (*IClient) UpdateResourceShare ¶
func (_m *IClient) UpdateResourceShare(ctx context.Context, params *ram.UpdateResourceShareInput, optFns ...func(*ram.Options)) (*ram.UpdateResourceShareOutput, error)
UpdateResourceShare provides a mock function with given fields: ctx, params, optFns