Documentation
¶
Index ¶
- type IAM
- func (_m *IAM) AttachRolePolicy(_a0 *iam.AttachRolePolicyInput) (*iam.AttachRolePolicyOutput, error)
- func (_m *IAM) CreateRole(_a0 *iam.CreateRoleInput) (*iam.CreateRoleOutput, error)
- func (_m *IAM) DeleteRole(_a0 *iam.DeleteRoleInput) (*iam.DeleteRoleOutput, error)
- func (_m *IAM) DeleteRolePermissionsBoundary(input *iam.DeleteRolePermissionsBoundaryInput) (*iam.DeleteRolePermissionsBoundaryOutput, error)
- func (_m *IAM) DeleteRolePolicy(_a0 *iam.DeleteRolePolicyInput) (*iam.DeleteRolePolicyOutput, error)
- func (_m *IAM) DetachRolePolicy(_a0 *iam.DetachRolePolicyInput) (*iam.DetachRolePolicyOutput, error)
- func (_m *IAM) GetRole(_a0 *iam.GetRoleInput) (*iam.GetRoleOutput, error)
- func (_m *IAM) ListAttachedRolePoliciesPages(_a0 *iam.ListAttachedRolePoliciesInput, ...) error
- func (_m *IAM) ListRolePoliciesPages(_a0 *iam.ListRolePoliciesInput, ...) error
- func (_m *IAM) PutRolePermissionsBoundary(input *iam.PutRolePermissionsBoundaryInput) (*iam.PutRolePermissionsBoundaryOutput, error)
- func (_m *IAM) PutRolePolicy(_a0 *iam.PutRolePolicyInput) (*iam.PutRolePolicyOutput, error)
- func (_m *IAM) TagRole(input *iam.TagRoleInput) (*iam.TagRoleOutput, error)
- func (_m *IAM) UpdateAssumeRolePolicy(_a0 *iam.UpdateAssumeRolePolicyInput) (*iam.UpdateAssumeRolePolicyOutput, error)
- func (_m *IAM) UpdateRole(_a0 *iam.UpdateRoleInput) (*iam.UpdateRoleOutput, error)
- func (_m *IAM) UpdateRoleDescription(_a0 *iam.UpdateRoleDescriptionInput) (*iam.UpdateRoleDescriptionOutput, error)
- type STS
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IAM ¶
IAM is an autogenerated mock type for the IAM type
func NewIAM ¶
func NewIAM(t mockConstructorTestingTNewIAM) *IAM
NewIAM creates a new instance of IAM. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*IAM) AttachRolePolicy ¶
func (_m *IAM) AttachRolePolicy(_a0 *iam.AttachRolePolicyInput) (*iam.AttachRolePolicyOutput, error)
AttachRolePolicy provides a mock function with given fields: _a0
func (*IAM) CreateRole ¶
func (_m *IAM) CreateRole(_a0 *iam.CreateRoleInput) (*iam.CreateRoleOutput, error)
CreateRole provides a mock function with given fields: _a0
func (*IAM) DeleteRole ¶
func (_m *IAM) DeleteRole(_a0 *iam.DeleteRoleInput) (*iam.DeleteRoleOutput, error)
DeleteRole provides a mock function with given fields: _a0
func (*IAM) DeleteRolePermissionsBoundary ¶
func (_m *IAM) DeleteRolePermissionsBoundary(input *iam.DeleteRolePermissionsBoundaryInput) (*iam.DeleteRolePermissionsBoundaryOutput, error)
DeleteRolePermissionsBoundary provides a mock function with given fields: input
func (*IAM) DeleteRolePolicy ¶
func (_m *IAM) DeleteRolePolicy(_a0 *iam.DeleteRolePolicyInput) (*iam.DeleteRolePolicyOutput, error)
DeleteRolePolicy provides a mock function with given fields: _a0
func (*IAM) DetachRolePolicy ¶
func (_m *IAM) DetachRolePolicy(_a0 *iam.DetachRolePolicyInput) (*iam.DetachRolePolicyOutput, error)
DetachRolePolicy provides a mock function with given fields: _a0
func (*IAM) GetRole ¶
func (_m *IAM) GetRole(_a0 *iam.GetRoleInput) (*iam.GetRoleOutput, error)
GetRole provides a mock function with given fields: _a0
func (*IAM) ListAttachedRolePoliciesPages ¶
func (_m *IAM) ListAttachedRolePoliciesPages(_a0 *iam.ListAttachedRolePoliciesInput, _a1 func(*iam.ListAttachedRolePoliciesOutput, bool) bool) error
ListAttachedRolePoliciesPages provides a mock function with given fields: _a0, _a1
func (*IAM) ListRolePoliciesPages ¶
func (_m *IAM) ListRolePoliciesPages(_a0 *iam.ListRolePoliciesInput, _a1 func(*iam.ListRolePoliciesOutput, bool) bool) error
ListRolePoliciesPages provides a mock function with given fields: _a0, _a1
func (*IAM) PutRolePermissionsBoundary ¶
func (_m *IAM) PutRolePermissionsBoundary(input *iam.PutRolePermissionsBoundaryInput) (*iam.PutRolePermissionsBoundaryOutput, error)
PutRolePermissionsBoundary provides a mock function with given fields: input
func (*IAM) PutRolePolicy ¶
func (_m *IAM) PutRolePolicy(_a0 *iam.PutRolePolicyInput) (*iam.PutRolePolicyOutput, error)
PutRolePolicy provides a mock function with given fields: _a0
func (*IAM) TagRole ¶
func (_m *IAM) TagRole(input *iam.TagRoleInput) (*iam.TagRoleOutput, error)
TagRole provides a mock function with given fields: input
func (*IAM) UpdateAssumeRolePolicy ¶
func (_m *IAM) UpdateAssumeRolePolicy(_a0 *iam.UpdateAssumeRolePolicyInput) (*iam.UpdateAssumeRolePolicyOutput, error)
UpdateAssumeRolePolicy provides a mock function with given fields: _a0
func (*IAM) UpdateRole ¶
func (_m *IAM) UpdateRole(_a0 *iam.UpdateRoleInput) (*iam.UpdateRoleOutput, error)
UpdateRole provides a mock function with given fields: _a0
func (*IAM) UpdateRoleDescription ¶
func (_m *IAM) UpdateRoleDescription(_a0 *iam.UpdateRoleDescriptionInput) (*iam.UpdateRoleDescriptionOutput, error)
UpdateRoleDescription provides a mock function with given fields: _a0
type STS ¶
STS is an autogenerated mock type for the STS type
func NewSTS ¶
func NewSTS(t mockConstructorTestingTNewSTS) *STS
NewSTS creates a new instance of STS. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*STS) GetCallerIdentity ¶
func (_m *STS) GetCallerIdentity(_a0 *sts.GetCallerIdentityInput) (*sts.GetCallerIdentityOutput, error)
GetCallerIdentity provides a mock function with given fields: _a0