Documentation

Overview

Code generated by go awsdoublegen; DO NOT EDIT. This file was generated at 2020-01-29T21:22:05+11:00 For SDKVersion 1.28.13 Package maciedouble contains test double implementation of macieiface.MacieAPI

Package maciedouble provides a TestDouble implementation of macieiface.MacieAPI

Code generated by go awsdoublegen; DO NOT EDIT. This file was generated at 2020-01-29T21:22:05+11:00

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MacieDouble

type MacieDouble struct {
	macieiface.MacieAPI
	*awsdouble.AWSTestDouble
}

    MacieDouble is TestDouble for macieiface.MacieAPI

    func NewDouble

    func NewDouble(t godouble.T, configurators ...func(*awsdouble.AWSTestDouble)) *MacieDouble

      Constructor for MacieDouble Default configuration will ensure

      * API operations not explicitly stubbed will return an empty output struct pointer, and nil error.
        To simulate long polling, "Poll" operations will return these values after a random delay of up to 100ms.
      * WithContext methods implement a 'Fake' method that returns a cancellation error if the context is cancelled
         before the method is called.
      * Pages and PagesWithContext methods similarly implement a 'Fake' method that paginates over the underlying method.
      
       This allows tests to only stub the simple api methods and be generally unconcerned whether the SUT is using the
         Context or Pagination forms of the API.
      

      func (*MacieDouble) AssociateMemberAccount

      func (d *MacieDouble) AssociateMemberAccount(i0 *macie.AssociateMemberAccountInput) (r0 *macie.AssociateMemberAccountOutput, r1 error)

      func (*MacieDouble) AssociateMemberAccountRequest

      func (d *MacieDouble) AssociateMemberAccountRequest(i0 *macie.AssociateMemberAccountInput) (r0 *request.Request, r1 *macie.AssociateMemberAccountOutput)

      func (*MacieDouble) AssociateMemberAccountWithContext

      func (d *MacieDouble) AssociateMemberAccountWithContext(i0 context.Context, i1 *macie.AssociateMemberAccountInput, i2 ...request.Option) (r0 *macie.AssociateMemberAccountOutput, r1 error)

      func (*MacieDouble) AssociateS3Resources

      func (d *MacieDouble) AssociateS3Resources(i0 *macie.AssociateS3ResourcesInput) (r0 *macie.AssociateS3ResourcesOutput, r1 error)

      func (*MacieDouble) AssociateS3ResourcesRequest

      func (d *MacieDouble) AssociateS3ResourcesRequest(i0 *macie.AssociateS3ResourcesInput) (r0 *request.Request, r1 *macie.AssociateS3ResourcesOutput)

      func (*MacieDouble) AssociateS3ResourcesWithContext

      func (d *MacieDouble) AssociateS3ResourcesWithContext(i0 context.Context, i1 *macie.AssociateS3ResourcesInput, i2 ...request.Option) (r0 *macie.AssociateS3ResourcesOutput, r1 error)

      func (*MacieDouble) DisassociateMemberAccount

      func (d *MacieDouble) DisassociateMemberAccount(i0 *macie.DisassociateMemberAccountInput) (r0 *macie.DisassociateMemberAccountOutput, r1 error)

      func (*MacieDouble) DisassociateMemberAccountRequest

      func (d *MacieDouble) DisassociateMemberAccountRequest(i0 *macie.DisassociateMemberAccountInput) (r0 *request.Request, r1 *macie.DisassociateMemberAccountOutput)

      func (*MacieDouble) DisassociateMemberAccountWithContext

      func (d *MacieDouble) DisassociateMemberAccountWithContext(i0 context.Context, i1 *macie.DisassociateMemberAccountInput, i2 ...request.Option) (r0 *macie.DisassociateMemberAccountOutput, r1 error)

      func (*MacieDouble) DisassociateS3Resources

      func (d *MacieDouble) DisassociateS3Resources(i0 *macie.DisassociateS3ResourcesInput) (r0 *macie.DisassociateS3ResourcesOutput, r1 error)

      func (*MacieDouble) DisassociateS3ResourcesRequest

      func (d *MacieDouble) DisassociateS3ResourcesRequest(i0 *macie.DisassociateS3ResourcesInput) (r0 *request.Request, r1 *macie.DisassociateS3ResourcesOutput)

      func (*MacieDouble) DisassociateS3ResourcesWithContext

      func (d *MacieDouble) DisassociateS3ResourcesWithContext(i0 context.Context, i1 *macie.DisassociateS3ResourcesInput, i2 ...request.Option) (r0 *macie.DisassociateS3ResourcesOutput, r1 error)

      func (*MacieDouble) ListMemberAccounts

      func (d *MacieDouble) ListMemberAccounts(i0 *macie.ListMemberAccountsInput) (r0 *macie.ListMemberAccountsOutput, r1 error)

      func (*MacieDouble) ListMemberAccountsPages

      func (d *MacieDouble) ListMemberAccountsPages(i0 *macie.ListMemberAccountsInput, i1 func(*macie.ListMemberAccountsOutput, bool) bool) (r0 error)

      func (*MacieDouble) ListMemberAccountsPagesWithContext

      func (d *MacieDouble) ListMemberAccountsPagesWithContext(i0 context.Context, i1 *macie.ListMemberAccountsInput, i2 func(*macie.ListMemberAccountsOutput, bool) bool, i3 ...request.Option) (r0 error)

      func (*MacieDouble) ListMemberAccountsRequest

      func (d *MacieDouble) ListMemberAccountsRequest(i0 *macie.ListMemberAccountsInput) (r0 *request.Request, r1 *macie.ListMemberAccountsOutput)

      func (*MacieDouble) ListMemberAccountsWithContext

      func (d *MacieDouble) ListMemberAccountsWithContext(i0 context.Context, i1 *macie.ListMemberAccountsInput, i2 ...request.Option) (r0 *macie.ListMemberAccountsOutput, r1 error)

      func (*MacieDouble) ListS3Resources

      func (d *MacieDouble) ListS3Resources(i0 *macie.ListS3ResourcesInput) (r0 *macie.ListS3ResourcesOutput, r1 error)

      func (*MacieDouble) ListS3ResourcesPages

      func (d *MacieDouble) ListS3ResourcesPages(i0 *macie.ListS3ResourcesInput, i1 func(*macie.ListS3ResourcesOutput, bool) bool) (r0 error)

      func (*MacieDouble) ListS3ResourcesPagesWithContext

      func (d *MacieDouble) ListS3ResourcesPagesWithContext(i0 context.Context, i1 *macie.ListS3ResourcesInput, i2 func(*macie.ListS3ResourcesOutput, bool) bool, i3 ...request.Option) (r0 error)

      func (*MacieDouble) ListS3ResourcesRequest

      func (d *MacieDouble) ListS3ResourcesRequest(i0 *macie.ListS3ResourcesInput) (r0 *request.Request, r1 *macie.ListS3ResourcesOutput)

      func (*MacieDouble) ListS3ResourcesWithContext

      func (d *MacieDouble) ListS3ResourcesWithContext(i0 context.Context, i1 *macie.ListS3ResourcesInput, i2 ...request.Option) (r0 *macie.ListS3ResourcesOutput, r1 error)

      func (*MacieDouble) UpdateS3Resources

      func (d *MacieDouble) UpdateS3Resources(i0 *macie.UpdateS3ResourcesInput) (r0 *macie.UpdateS3ResourcesOutput, r1 error)

      func (*MacieDouble) UpdateS3ResourcesRequest

      func (d *MacieDouble) UpdateS3ResourcesRequest(i0 *macie.UpdateS3ResourcesInput) (r0 *request.Request, r1 *macie.UpdateS3ResourcesOutput)

      func (*MacieDouble) UpdateS3ResourcesWithContext

      func (d *MacieDouble) UpdateS3ResourcesWithContext(i0 context.Context, i1 *macie.UpdateS3ResourcesInput, i2 ...request.Option) (r0 *macie.UpdateS3ResourcesOutput, r1 error)