Documentation

Overview

Package auditmanager provides the client and types for making API requests to AWS Audit Manager.

Welcome to the AWS Audit Manager API reference. This guide is for developers who need detailed information about the AWS Audit Manager API operations, data types, and errors.

AWS Audit Manager is a service that provides automated evidence collection so that you can continuously audit your AWS usage, and assess the effectiveness of your controls to better manage risk and simplify compliance.

AWS Audit Manager provides pre-built frameworks that structure and automate assessments for a given compliance standard. Frameworks include a pre-built collection of controls with descriptions and testing procedures, which are grouped according to the requirements of the specified compliance standard or regulation. You can also customize frameworks and controls to support internal audits with unique requirements.

Use the following links to get started with the AWS Audit Manager API:

* Actions (https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_Operations.html):
An alphabetical list of all AWS Audit Manager API operations.

* Data types (https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_Types.html):
An alphabetical list of all AWS Audit Manager data types.

* Common parameters (https://docs.aws.amazon.com/audit-manager/latest/APIReference/CommonParameters.html):
Parameters that all Query operations can use.

* Common errors (https://docs.aws.amazon.com/audit-manager/latest/APIReference/CommonErrors.html):
Client and server errors that all operations can return.

If you're new to AWS Audit Manager, we recommend that you review the AWS Audit Manager User Guide (https://docs.aws.amazon.com/audit-manager/latest/userguide/what-is.html).

See https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25 for more information on this service.

See auditmanager package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/auditmanager/

Using the Client

To contact AWS Audit Manager 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 AWS Audit Manager client AuditManager for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/auditmanager/#New

Index

Constants

View Source
const (
	// AccountStatusActive is a AccountStatus enum value
	AccountStatusActive = "ACTIVE"

	// AccountStatusInactive is a AccountStatus enum value
	AccountStatusInactive = "INACTIVE"

	// AccountStatusPendingActivation is a AccountStatus enum value
	AccountStatusPendingActivation = "PENDING_ACTIVATION"
)
View Source
const (
	// ActionEnumCreate is a ActionEnum enum value
	ActionEnumCreate = "CREATE"

	// ActionEnumUpdateMetadata is a ActionEnum enum value
	ActionEnumUpdateMetadata = "UPDATE_METADATA"

	// ActionEnumActive is a ActionEnum enum value
	ActionEnumActive = "ACTIVE"

	// ActionEnumInactive is a ActionEnum enum value
	ActionEnumInactive = "INACTIVE"

	// ActionEnumDelete is a ActionEnum enum value
	ActionEnumDelete = "DELETE"

	// ActionEnumUnderReview is a ActionEnum enum value
	ActionEnumUnderReview = "UNDER_REVIEW"

	// ActionEnumReviewed is a ActionEnum enum value
	ActionEnumReviewed = "REVIEWED"

	// ActionEnumImportEvidence is a ActionEnum enum value
	ActionEnumImportEvidence = "IMPORT_EVIDENCE"
)
View Source
const (
	// AssessmentReportStatusComplete is a AssessmentReportStatus enum value
	AssessmentReportStatusComplete = "COMPLETE"

	// AssessmentReportStatusInProgress is a AssessmentReportStatus enum value
	AssessmentReportStatusInProgress = "IN_PROGRESS"

	// AssessmentReportStatusFailed is a AssessmentReportStatus enum value
	AssessmentReportStatusFailed = "FAILED"
)
View Source
const (
	// AssessmentStatusActive is a AssessmentStatus enum value
	AssessmentStatusActive = "ACTIVE"

	// AssessmentStatusInactive is a AssessmentStatus enum value
	AssessmentStatusInactive = "INACTIVE"
)
View Source
const (
	// ControlResponseManual is a ControlResponse enum value
	ControlResponseManual = "MANUAL"

	// ControlResponseAutomate is a ControlResponse enum value
	ControlResponseAutomate = "AUTOMATE"

	// ControlResponseDefer is a ControlResponse enum value
	ControlResponseDefer = "DEFER"

	// ControlResponseIgnore is a ControlResponse enum value
	ControlResponseIgnore = "IGNORE"
)
View Source
const (
	// ControlSetStatusActive is a ControlSetStatus enum value
	ControlSetStatusActive = "ACTIVE"

	// ControlSetStatusUnderReview is a ControlSetStatus enum value
	ControlSetStatusUnderReview = "UNDER_REVIEW"

	// ControlSetStatusReviewed is a ControlSetStatus enum value
	ControlSetStatusReviewed = "REVIEWED"
)
View Source
const (
	// ControlStatusUnderReview is a ControlStatus enum value
	ControlStatusUnderReview = "UNDER_REVIEW"

	// ControlStatusReviewed is a ControlStatus enum value
	ControlStatusReviewed = "REVIEWED"

	// ControlStatusInactive is a ControlStatus enum value
	ControlStatusInactive = "INACTIVE"
)
View Source
const (
	// ControlTypeStandard is a ControlType enum value
	ControlTypeStandard = "Standard"

	// ControlTypeCustom is a ControlType enum value
	ControlTypeCustom = "Custom"
)
View Source
const (
	// DelegationStatusInProgress is a DelegationStatus enum value
	DelegationStatusInProgress = "IN_PROGRESS"

	// DelegationStatusUnderReview is a DelegationStatus enum value
	DelegationStatusUnderReview = "UNDER_REVIEW"

	// DelegationStatusComplete is a DelegationStatus enum value
	DelegationStatusComplete = "COMPLETE"
)
View Source
const (
	// FrameworkTypeStandard is a FrameworkType enum value
	FrameworkTypeStandard = "Standard"

	// FrameworkTypeCustom is a FrameworkType enum value
	FrameworkTypeCustom = "Custom"
)
View Source
const (
	// ObjectTypeEnumAssessment is a ObjectTypeEnum enum value
	ObjectTypeEnumAssessment = "ASSESSMENT"

	// ObjectTypeEnumControlSet is a ObjectTypeEnum enum value
	ObjectTypeEnumControlSet = "CONTROL_SET"

	// ObjectTypeEnumControl is a ObjectTypeEnum enum value
	ObjectTypeEnumControl = "CONTROL"

	// ObjectTypeEnumDelegation is a ObjectTypeEnum enum value
	ObjectTypeEnumDelegation = "DELEGATION"

	// ObjectTypeEnumAssessmentReport is a ObjectTypeEnum enum value
	ObjectTypeEnumAssessmentReport = "ASSESSMENT_REPORT"
)
View Source
const (
	// RoleTypeProcessOwner is a RoleType enum value
	RoleTypeProcessOwner = "PROCESS_OWNER"

	// RoleTypeResourceOwner is a RoleType enum value
	RoleTypeResourceOwner = "RESOURCE_OWNER"
)
View Source
const (
	// SettingAttributeAll is a SettingAttribute enum value
	SettingAttributeAll = "ALL"

	// SettingAttributeIsAwsOrgEnabled is a SettingAttribute enum value
	SettingAttributeIsAwsOrgEnabled = "IS_AWS_ORG_ENABLED"

	// SettingAttributeSnsTopic is a SettingAttribute enum value
	SettingAttributeSnsTopic = "SNS_TOPIC"

	// SettingAttributeDefaultAssessmentReportsDestination is a SettingAttribute enum value
	SettingAttributeDefaultAssessmentReportsDestination = "DEFAULT_ASSESSMENT_REPORTS_DESTINATION"

	// SettingAttributeDefaultProcessOwners is a SettingAttribute enum value
	SettingAttributeDefaultProcessOwners = "DEFAULT_PROCESS_OWNERS"
)
View Source
const (
	// SourceFrequencyDaily is a SourceFrequency enum value
	SourceFrequencyDaily = "DAILY"

	// SourceFrequencyWeekly is a SourceFrequency enum value
	SourceFrequencyWeekly = "WEEKLY"

	// SourceFrequencyMonthly is a SourceFrequency enum value
	SourceFrequencyMonthly = "MONTHLY"
)
View Source
const (
	// SourceSetUpOptionSystemControlsMapping is a SourceSetUpOption enum value
	SourceSetUpOptionSystemControlsMapping = "System_Controls_Mapping"

	// SourceSetUpOptionProceduralControlsMapping is a SourceSetUpOption enum value
	SourceSetUpOptionProceduralControlsMapping = "Procedural_Controls_Mapping"
)
View Source
const (
	// SourceTypeAwsCloudtrail is a SourceType enum value
	SourceTypeAwsCloudtrail = "AWS_Cloudtrail"

	// SourceTypeAwsConfig is a SourceType enum value
	SourceTypeAwsConfig = "AWS_Config"

	// SourceTypeAwsSecurityHub is a SourceType enum value
	SourceTypeAwsSecurityHub = "AWS_Security_Hub"

	// SourceTypeAwsApiCall is a SourceType enum value
	SourceTypeAwsApiCall = "AWS_API_Call"

	// SourceTypeManual is a SourceType enum value
	SourceTypeManual = "MANUAL"
)
View Source
const (
	// ValidationExceptionReasonUnknownOperation is a ValidationExceptionReason enum value
	ValidationExceptionReasonUnknownOperation = "unknownOperation"

	// ValidationExceptionReasonCannotParse is a ValidationExceptionReason enum value
	ValidationExceptionReasonCannotParse = "cannotParse"

	// ValidationExceptionReasonFieldValidationFailed is a ValidationExceptionReason enum value
	ValidationExceptionReasonFieldValidationFailed = "fieldValidationFailed"

	// ValidationExceptionReasonOther is a ValidationExceptionReason enum value
	ValidationExceptionReasonOther = "other"
)
View Source
const (

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// Your account is not registered with AWS Audit Manager. Check the delegated
	// administrator setup on the AWS Audit Manager settings page, and try again.
	ErrCodeAccessDeniedException = "AccessDeniedException"

	// ErrCodeInternalServerException for service response error code
	// "InternalServerException".
	//
	// An internal service error occurred during the processing of your request.
	// Try again later.
	ErrCodeInternalServerException = "InternalServerException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// The resource specified in the request cannot be found.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// The request has invalid or missing parameters.
	ErrCodeValidationException = "ValidationException"
)
View Source
const (
	ServiceName = "AuditManager" // Name of service.
	EndpointsID = "auditmanager" // ID to lookup a service endpoint with.
	ServiceID   = "AuditManager" // ServiceID is a unique identifier of a specific service.
)

Service information constants

View Source
const (
	// AssessmentReportDestinationTypeS3 is a AssessmentReportDestinationType enum value
	AssessmentReportDestinationTypeS3 = "S3"
)
View Source
const (
	// KeywordInputTypeSelectFromList is a KeywordInputType enum value
	KeywordInputTypeSelectFromList = "SELECT_FROM_LIST"
)

Variables

This section is empty.

Functions

func AccountStatus_Values

func AccountStatus_Values() []string

AccountStatus_Values returns all elements of the AccountStatus enum

func ActionEnum_Values

func ActionEnum_Values() []string

ActionEnum_Values returns all elements of the ActionEnum enum

func AssessmentReportDestinationType_Values

func AssessmentReportDestinationType_Values() []string

AssessmentReportDestinationType_Values returns all elements of the AssessmentReportDestinationType enum

func AssessmentReportStatus_Values

func AssessmentReportStatus_Values() []string

AssessmentReportStatus_Values returns all elements of the AssessmentReportStatus enum

func AssessmentStatus_Values

func AssessmentStatus_Values() []string

AssessmentStatus_Values returns all elements of the AssessmentStatus enum

func ControlResponse_Values

func ControlResponse_Values() []string

ControlResponse_Values returns all elements of the ControlResponse enum

func ControlSetStatus_Values

func ControlSetStatus_Values() []string

ControlSetStatus_Values returns all elements of the ControlSetStatus enum

func ControlStatus_Values

func ControlStatus_Values() []string

ControlStatus_Values returns all elements of the ControlStatus enum

func ControlType_Values

func ControlType_Values() []string

ControlType_Values returns all elements of the ControlType enum

func DelegationStatus_Values

func DelegationStatus_Values() []string

DelegationStatus_Values returns all elements of the DelegationStatus enum

func FrameworkType_Values

func FrameworkType_Values() []string

FrameworkType_Values returns all elements of the FrameworkType enum

func KeywordInputType_Values

func KeywordInputType_Values() []string

KeywordInputType_Values returns all elements of the KeywordInputType enum

func ObjectTypeEnum_Values

func ObjectTypeEnum_Values() []string

ObjectTypeEnum_Values returns all elements of the ObjectTypeEnum enum

func RoleType_Values

func RoleType_Values() []string

RoleType_Values returns all elements of the RoleType enum

func SettingAttribute_Values

func SettingAttribute_Values() []string

SettingAttribute_Values returns all elements of the SettingAttribute enum

func SourceFrequency_Values

func SourceFrequency_Values() []string

SourceFrequency_Values returns all elements of the SourceFrequency enum

func SourceSetUpOption_Values

func SourceSetUpOption_Values() []string

SourceSetUpOption_Values returns all elements of the SourceSetUpOption enum

func SourceType_Values

func SourceType_Values() []string

SourceType_Values returns all elements of the SourceType enum

func ValidationExceptionReason_Values

func ValidationExceptionReason_Values() []string

ValidationExceptionReason_Values returns all elements of the ValidationExceptionReason enum

Types

type AWSAccount

type AWSAccount struct {

	// The email address associated with the specified AWS account.
	EmailAddress *string `locationName:"emailAddress" min:"1" type:"string"`

	// The identifier for the specified AWS account.
	Id *string `locationName:"id" min:"12" type:"string"`

	// The name of the specified AWS account.
	Name *string `locationName:"name" min:"1" type:"string"`
	// contains filtered or unexported fields
}

The wrapper of AWS account details, such as account ID, email address, and so on.

func (AWSAccount) GoString

func (s AWSAccount) GoString() string

GoString returns the string representation

func (*AWSAccount) SetEmailAddress

func (s *AWSAccount) SetEmailAddress(v string) *AWSAccount

SetEmailAddress sets the EmailAddress field's value.

func (*AWSAccount) SetId

func (s *AWSAccount) SetId(v string) *AWSAccount

SetId sets the Id field's value.

func (*AWSAccount) SetName

func (s *AWSAccount) SetName(v string) *AWSAccount

SetName sets the Name field's value.

func (AWSAccount) String

func (s AWSAccount) String() string

String returns the string representation

func (*AWSAccount) Validate

func (s *AWSAccount) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AWSService

type AWSService struct {

	// The name of the AWS service.
	ServiceName *string `locationName:"serviceName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

An AWS service such as Amazon S3, AWS CloudTrail, and so on.

func (AWSService) GoString

func (s AWSService) GoString() string

GoString returns the string representation

func (*AWSService) SetServiceName

func (s *AWSService) SetServiceName(v string) *AWSService

SetServiceName sets the ServiceName field's value.

func (AWSService) String

func (s AWSService) String() string

String returns the string representation

func (*AWSService) Validate

func (s *AWSService) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AccessDeniedException

type AccessDeniedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

Your account is not registered with AWS Audit Manager. Check the delegated administrator setup on the AWS Audit Manager settings page, and try again.

func (*AccessDeniedException) Code

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString

func (s AccessDeniedException) GoString() string

GoString returns the string representation

func (*AccessDeniedException) Message

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode

func (s *AccessDeniedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AccessDeniedException) String

func (s AccessDeniedException) String() string

String returns the string representation

type Assessment

type Assessment struct {

	// The Amazon Resource Name (ARN) of the assessment.
	Arn *string `locationName:"arn" min:"20" type:"string"`

	// The AWS account associated with the assessment.
	AwsAccount *AWSAccount `locationName:"awsAccount" type:"structure"`

	// The framework from which the assessment was created.
	Framework *AssessmentFramework `locationName:"framework" type:"structure"`

	// The metadata for the specified assessment.
	Metadata *AssessmentMetadata `locationName:"metadata" type:"structure"`

	// The tags associated with the assessment.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

An entity that defines the scope of audit evidence collected by AWS Audit Manager. An AWS Audit Manager assessment is an implementation of an AWS Audit Manager framework.

func (Assessment) GoString

func (s Assessment) GoString() string

GoString returns the string representation

func (*Assessment) SetArn

func (s *Assessment) SetArn(v string) *Assessment

SetArn sets the Arn field's value.

func (*Assessment) SetAwsAccount

func (s *Assessment) SetAwsAccount(v *AWSAccount) *Assessment

SetAwsAccount sets the AwsAccount field's value.

func (*Assessment) SetFramework

func (s *Assessment) SetFramework(v *AssessmentFramework) *Assessment

SetFramework sets the Framework field's value.

func (*Assessment) SetMetadata

func (s *Assessment) SetMetadata(v *AssessmentMetadata) *Assessment

SetMetadata sets the Metadata field's value.

func (*Assessment) SetTags

func (s *Assessment) SetTags(v map[string]*string) *Assessment

SetTags sets the Tags field's value.

func (Assessment) String

func (s Assessment) String() string

String returns the string representation

type AssessmentControl

type AssessmentControl struct {

	// The amount of evidence in the assessment report.
	AssessmentReportEvidenceCount *int64 `locationName:"assessmentReportEvidenceCount" type:"integer"`

	// The list of comments attached to the specified control.
	Comments []*ControlComment `locationName:"comments" type:"list"`

	// The description of the specified control.
	Description *string `locationName:"description" type:"string"`

	// The amount of evidence generated for the control.
	EvidenceCount *int64 `locationName:"evidenceCount" type:"integer"`

	// The list of data sources for the specified evidence.
	EvidenceSources []*string `locationName:"evidenceSources" type:"list"`

	// The identifier for the specified control.
	Id *string `locationName:"id" min:"36" type:"string"`

	// The name of the specified control.
	Name *string `locationName:"name" min:"1" type:"string"`

	// The response of the specified control.
	Response *string `locationName:"response" type:"string" enum:"ControlResponse"`

	// The status of the specified control.
	Status *string `locationName:"status" type:"string" enum:"ControlStatus"`
	// contains filtered or unexported fields
}

The control entity that represents a standard or custom control used in an AWS Audit Manager assessment.

func (AssessmentControl) GoString

func (s AssessmentControl) GoString() string

GoString returns the string representation

func (*AssessmentControl) SetAssessmentReportEvidenceCount

func (s *AssessmentControl) SetAssessmentReportEvidenceCount(v int64) *AssessmentControl

SetAssessmentReportEvidenceCount sets the AssessmentReportEvidenceCount field's value.

func (*AssessmentControl) SetComments

func (s *AssessmentControl) SetComments(v []*ControlComment) *AssessmentControl

SetComments sets the Comments field's value.

func (*AssessmentControl) SetDescription

func (s *AssessmentControl) SetDescription(v string) *AssessmentControl

SetDescription sets the Description field's value.

func (*AssessmentControl) SetEvidenceCount

func (s *AssessmentControl) SetEvidenceCount(v int64) *AssessmentControl

SetEvidenceCount sets the EvidenceCount field's value.

func (*AssessmentControl) SetEvidenceSources

func (s *AssessmentControl) SetEvidenceSources(v []*string) *AssessmentControl

SetEvidenceSources sets the EvidenceSources field's value.

func (*AssessmentControl) SetId

SetId sets the Id field's value.

func (*AssessmentControl) SetName

SetName sets the Name field's value.

func (*AssessmentControl) SetResponse

func (s *AssessmentControl) SetResponse(v string) *AssessmentControl

SetResponse sets the Response field's value.

func (*AssessmentControl) SetStatus

func (s *AssessmentControl) SetStatus(v string) *AssessmentControl

SetStatus sets the Status field's value.

func (AssessmentControl) String

func (s AssessmentControl) String() string

String returns the string representation

type AssessmentControlSet

type AssessmentControlSet struct {

	// The list of controls contained with the control set.
	Controls []*AssessmentControl `locationName:"controls" type:"list"`

	// The delegations associated with the control set.
	Delegations []*Delegation `locationName:"delegations" type:"list"`

	// The description for the control set.
	Description *string `locationName:"description" min:"1" type:"string"`

	// The identifier of the control set in the assessment. This is the control
	// set name in a plain string format.
	Id *string `locationName:"id" min:"1" type:"string"`

	// The total number of evidence objects uploaded manually to the control set.
	ManualEvidenceCount *int64 `locationName:"manualEvidenceCount" type:"integer"`

	// The roles associated with the control set.
	Roles []*Role `locationName:"roles" type:"list"`

	// Specifies the current status of the control set.
	Status *string `locationName:"status" type:"string" enum:"ControlSetStatus"`

	// The total number of evidence objects retrieved automatically for the control
	// set.
	SystemEvidenceCount *int64 `locationName:"systemEvidenceCount" type:"integer"`
	// contains filtered or unexported fields
}

Represents a set of controls in an AWS Audit Manager assessment.

func (AssessmentControlSet) GoString

func (s AssessmentControlSet) GoString() string

GoString returns the string representation

func (*AssessmentControlSet) SetControls

SetControls sets the Controls field's value.

func (*AssessmentControlSet) SetDelegations

func (s *AssessmentControlSet) SetDelegations(v []*Delegation) *AssessmentControlSet

SetDelegations sets the Delegations field's value.

func (*AssessmentControlSet) SetDescription

func (s *AssessmentControlSet) SetDescription(v string) *AssessmentControlSet

SetDescription sets the Description field's value.

func (*AssessmentControlSet) SetId

SetId sets the Id field's value.

func (*AssessmentControlSet) SetManualEvidenceCount

func (s *AssessmentControlSet) SetManualEvidenceCount(v int64) *AssessmentControlSet

SetManualEvidenceCount sets the ManualEvidenceCount field's value.

func (*AssessmentControlSet) SetRoles

func (s *AssessmentControlSet) SetRoles(v []*Role) *AssessmentControlSet

SetRoles sets the Roles field's value.

func (*AssessmentControlSet) SetStatus

SetStatus sets the Status field's value.

func (*AssessmentControlSet) SetSystemEvidenceCount

func (s *AssessmentControlSet) SetSystemEvidenceCount(v int64) *AssessmentControlSet

SetSystemEvidenceCount sets the SystemEvidenceCount field's value.

func (AssessmentControlSet) String

func (s AssessmentControlSet) String() string

String returns the string representation

type AssessmentEvidenceFolder

type AssessmentEvidenceFolder struct {

	// The identifier for the specified assessment.
	AssessmentId *string `locationName:"assessmentId" min:"36" type:"string"`

	// The total count of evidence included in the assessment report.
	AssessmentReportSelectionCount *int64 `locationName:"assessmentReportSelectionCount" type:"integer"`

	// The name of the user who created the evidence folder.
	Author *string `locationName:"author" type:"string"`

	// The unique identifier for the specified control.
	ControlId *string `locationName:"controlId" min:"36" type:"string"`

	// The name of the control.
	ControlName *string `locationName:"controlName" min:"1" type:"string"`

	// The identifier for the control set.
	ControlSetId *string `locationName:"controlSetId" min:"1" type:"string"`

	// The AWS service from which the evidence was collected.
	DataSource *string `locationName:"dataSource" type:"string"`

	// The date when the first evidence was added to the evidence folder.
	Date *time.Time `locationName:"date" type:"timestamp"`

	// The total number of AWS resources assessed to generate the evidence.
	EvidenceAwsServiceSourceCount *int64 `locationName:"evidenceAwsServiceSourceCount" type:"integer"`

	// The number of evidence that falls under the compliance check category. This
	// evidence is collected from AWS Config or AWS Security Hub.
	EvidenceByTypeComplianceCheckCount *int64 `locationName:"evidenceByTypeComplianceCheckCount" type:"integer"`

	// The total number of issues that were reported directly from AWS Security
	// Hub, AWS Config, or both.
	EvidenceByTypeComplianceCheckIssuesCount *int64 `locationName:"evidenceByTypeComplianceCheckIssuesCount" type:"integer"`

	// The number of evidence that falls under the configuration data category.
	// This evidence is collected from configuration snapshots of other AWS services
	// such as Amazon EC2, Amazon S3, or IAM.
	EvidenceByTypeConfigurationDataCount *int64 `locationName:"evidenceByTypeConfigurationDataCount" type:"integer"`

	// The number of evidence that falls under the manual category. This evidence
	// is imported manually.
	EvidenceByTypeManualCount *int64 `locationName:"evidenceByTypeManualCount" type:"integer"`

	// The number of evidence that falls under the user activity category. This
	// evidence is collected from AWS CloudTrail logs.
	EvidenceByTypeUserActivityCount *int64 `locationName:"evidenceByTypeUserActivityCount" type:"integer"`

	// The amount of evidence included in the evidence folder.
	EvidenceResourcesIncludedCount *int64 `locationName:"evidenceResourcesIncludedCount" type:"integer"`

	// The identifier for the folder in which evidence is stored.
	Id *string `locationName:"id" min:"36" type:"string"`

	// The name of the specified evidence folder.
	Name *string `locationName:"name" min:"1" type:"string"`

	// The total amount of evidence in the evidence folder.
	TotalEvidence *int64 `locationName:"totalEvidence" type:"integer"`
	// contains filtered or unexported fields
}

The folder in which AWS Audit Manager stores evidence for an assessment.

func (AssessmentEvidenceFolder) GoString

func (s AssessmentEvidenceFolder) GoString() string

GoString returns the string representation

func (*AssessmentEvidenceFolder) SetAssessmentId

SetAssessmentId sets the AssessmentId field's value.

func (*AssessmentEvidenceFolder) SetAssessmentReportSelectionCount

func (s *AssessmentEvidenceFolder) SetAssessmentReportSelectionCount(v int64) *AssessmentEvidenceFolder

SetAssessmentReportSelectionCount sets the AssessmentReportSelectionCount field's value.

func (*AssessmentEvidenceFolder) SetAuthor

SetAuthor sets the Author field's value.

func (*AssessmentEvidenceFolder) SetControlId

SetControlId sets the ControlId field's value.

func (*AssessmentEvidenceFolder) SetControlName

SetControlName sets the ControlName field's value.

func (*AssessmentEvidenceFolder) SetControlSetId

SetControlSetId sets the ControlSetId field's value.

func (*AssessmentEvidenceFolder) SetDataSource

SetDataSource sets the DataSource field's value.

func (*AssessmentEvidenceFolder) SetDate

SetDate sets the Date field's value.

func (*AssessmentEvidenceFolder) SetEvidenceAwsServiceSourceCount

func (s *AssessmentEvidenceFolder) SetEvidenceAwsServiceSourceCount(v int64) *AssessmentEvidenceFolder

SetEvidenceAwsServiceSourceCount sets the EvidenceAwsServiceSourceCount field's value.

func (*AssessmentEvidenceFolder) SetEvidenceByTypeComplianceCheckCount

func (s *AssessmentEvidenceFolder) SetEvidenceByTypeComplianceCheckCount(v int64) *AssessmentEvidenceFolder

SetEvidenceByTypeComplianceCheckCount sets the EvidenceByTypeComplianceCheckCount field's value.

func (*AssessmentEvidenceFolder) SetEvidenceByTypeComplianceCheckIssuesCount

func (s *AssessmentEvidenceFolder) SetEvidenceByTypeComplianceCheckIssuesCount(v int64) *AssessmentEvidenceFolder

SetEvidenceByTypeComplianceCheckIssuesCount sets the EvidenceByTypeComplianceCheckIssuesCount field's value.

func (*AssessmentEvidenceFolder) SetEvidenceByTypeConfigurationDataCount

func (s *AssessmentEvidenceFolder) SetEvidenceByTypeConfigurationDataCount(v int64) *AssessmentEvidenceFolder

SetEvidenceByTypeConfigurationDataCount sets the EvidenceByTypeConfigurationDataCount field's value.

func (*AssessmentEvidenceFolder) SetEvidenceByTypeManualCount

func (s *AssessmentEvidenceFolder) SetEvidenceByTypeManualCount(v int64) *AssessmentEvidenceFolder

SetEvidenceByTypeManualCount sets the EvidenceByTypeManualCount field's value.

func (*AssessmentEvidenceFolder) SetEvidenceByTypeUserActivityCount

func (s *AssessmentEvidenceFolder) SetEvidenceByTypeUserActivityCount(v int64) *AssessmentEvidenceFolder

SetEvidenceByTypeUserActivityCount sets the EvidenceByTypeUserActivityCount field's value.

func (*AssessmentEvidenceFolder) SetEvidenceResourcesIncludedCount

func (s *AssessmentEvidenceFolder) SetEvidenceResourcesIncludedCount(v int64) *AssessmentEvidenceFolder

SetEvidenceResourcesIncludedCount sets the EvidenceResourcesIncludedCount field's value.

func (*AssessmentEvidenceFolder) SetId

SetId sets the Id field's value.

func (*AssessmentEvidenceFolder) SetName

SetName sets the Name field's value.

func (*AssessmentEvidenceFolder) SetTotalEvidence

SetTotalEvidence sets the TotalEvidence field's value.

func (AssessmentEvidenceFolder) String

func (s AssessmentEvidenceFolder) String() string

String returns the string representation

type AssessmentFramework

type AssessmentFramework struct {

	// The Amazon Resource Name (ARN) of the specified framework.
	Arn *string `locationName:"arn" min:"20" type:"string"`

	// The control sets associated with the framework.
	ControlSets []*AssessmentControlSet `locationName:"controlSets" type:"list"`

	// The unique identifier for the framework.
	Id *string `locationName:"id" min:"36" type:"string"`

	// The metadata of a framework, such as the name, ID, description, and so on.
	Metadata *FrameworkMetadata `locationName:"metadata" type:"structure"`
	// contains filtered or unexported fields
}

The file used to structure and automate AWS Audit Manager assessments for a given compliance standard.

func (AssessmentFramework) GoString

func (s AssessmentFramework) GoString() string

GoString returns the string representation

func (*AssessmentFramework) SetArn

SetArn sets the Arn field's value.

func (*AssessmentFramework) SetControlSets

SetControlSets sets the ControlSets field's value.

func (*AssessmentFramework) SetId

SetId sets the Id field's value.

func (*AssessmentFramework) SetMetadata

SetMetadata sets the Metadata field's value.

func (AssessmentFramework) String

func (s AssessmentFramework) String() string

String returns the string representation

type AssessmentFrameworkMetadata

type AssessmentFrameworkMetadata struct {

	// The Amazon Resource Name (ARN) of the framework.
	Arn *string `locationName:"arn" min:"20" type:"string"`

	// The compliance type that the new custom framework supports, such as CIS or
	// HIPAA.
	ComplianceType *string `locationName:"complianceType" type:"string"`

	// The number of control sets associated with the specified framework.
	ControlSetsCount *int64 `locationName:"controlSetsCount" type:"integer"`

	// The number of controls associated with the specified framework.
	ControlsCount *int64 `locationName:"controlsCount" type:"integer"`

	// Specifies when the framework was created.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`

	// The description of the specified framework.
	Description *string `locationName:"description" min:"1" type:"string"`

	// The unique identified for the specified framework.
	Id *string `locationName:"id" min:"36" type:"string"`

	// Specifies when the framework was most recently updated.
	LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`

	Logo *string `locationName:"logo" min:"1" type:"string"`

	// The name of the specified framework.
	Name *string `locationName:"name" min:"1" type:"string"`

	// The framework type, such as standard or custom.
	Type *string `locationName:"type" type:"string" enum:"FrameworkType"`
	// contains filtered or unexported fields
}

The metadata associated with a standard or custom framework.

func (AssessmentFrameworkMetadata) GoString

func (s AssessmentFrameworkMetadata) GoString() string

GoString returns the string representation

func (*AssessmentFrameworkMetadata) SetArn

SetArn sets the Arn field's value.

func (*AssessmentFrameworkMetadata) SetComplianceType

SetComplianceType sets the ComplianceType field's value.

func (*AssessmentFrameworkMetadata) SetControlSetsCount

SetControlSetsCount sets the ControlSetsCount field's value.

func (*AssessmentFrameworkMetadata) SetControlsCount

SetControlsCount sets the ControlsCount field's value.

func (*AssessmentFrameworkMetadata) SetCreatedAt

SetCreatedAt sets the CreatedAt field's value.

func (*AssessmentFrameworkMetadata) SetDescription

SetDescription sets the Description field's value.

func (*AssessmentFrameworkMetadata) SetId

SetId sets the Id field's value.

func (*AssessmentFrameworkMetadata) SetLastUpdatedAt

SetLastUpdatedAt sets the LastUpdatedAt field's value.

SetLogo sets the Logo field's value.

func (*AssessmentFrameworkMetadata) SetName

SetName sets the Name field's value.

func (*AssessmentFrameworkMetadata) SetType

SetType sets the Type field's value.

func (AssessmentFrameworkMetadata) String

String returns the string representation

type AssessmentMetadata

type AssessmentMetadata struct {

	// The destination in which evidence reports are stored for the specified assessment.
	AssessmentReportsDestination *AssessmentReportsDestination `locationName:"assessmentReportsDestination" type:"structure"`

	// The name of a compliance standard related to the assessment, such as PCI-DSS.
	ComplianceType *string `locationName:"complianceType" type:"string"`

	// Specifies when the assessment was created.
	CreationTime *time.Time `locationName:"creationTime" type:"timestamp"`

	// The delegations associated with the assessment.
	Delegations []*Delegation `locationName:"delegations" type:"list"`

	// The description of the assessment.
	Description *string `locationName:"description" type:"string"`

	// The unique identifier for the assessment.
	Id *string `locationName:"id" min:"36" type:"string"`

	// The time of the most recent update.
	LastUpdated *time.Time `locationName:"lastUpdated" type:"timestamp"`

	// The name of the assessment.
	Name *string `locationName:"name" min:"1" type:"string"`

	// The roles associated with the assessment.
	Roles []*Role `locationName:"roles" type:"list"`

	// The wrapper of AWS accounts and services in scope for the assessment.
	Scope *Scope `locationName:"scope" type:"structure"`

	// The overall status of the assessment.
	Status *string `locationName:"status" type:"string" enum:"AssessmentStatus"`
	// contains filtered or unexported fields
}

The metadata associated with the specified assessment.

func (AssessmentMetadata) GoString

func (s AssessmentMetadata) GoString() string

GoString returns the string representation

func (*AssessmentMetadata) SetAssessmentReportsDestination

func (s *AssessmentMetadata) SetAssessmentReportsDestination(v *AssessmentReportsDestination) *AssessmentMetadata

SetAssessmentReportsDestination sets the AssessmentReportsDestination field's value.

func (*AssessmentMetadata) SetComplianceType

func (s *AssessmentMetadata) SetComplianceType(v string) *AssessmentMetadata

SetComplianceType sets the ComplianceType field's value.

func (*AssessmentMetadata) SetCreationTime

func (s *AssessmentMetadata) SetCreationTime(v time.Time) *AssessmentMetadata

SetCreationTime sets the CreationTime field's value.

func (*AssessmentMetadata) SetDelegations

func (s *AssessmentMetadata) SetDelegations(v []*Delegation) *AssessmentMetadata

SetDelegations sets the Delegations field's value.

func (*AssessmentMetadata) SetDescription

func (s *AssessmentMetadata) SetDescription(v string) *AssessmentMetadata

SetDescription sets the Description field's value.

func (*AssessmentMetadata) SetId

SetId sets the Id field's value.

func (*AssessmentMetadata) SetLastUpdated

func (s *AssessmentMetadata) SetLastUpdated(v time.Time) *AssessmentMetadata

SetLastUpdated sets the LastUpdated field's value.

func (*AssessmentMetadata) SetName

SetName sets the Name field's value.

func (*AssessmentMetadata) SetRoles

func (s *AssessmentMetadata) SetRoles(v []*Role) *AssessmentMetadata

SetRoles sets the Roles field's value.

func (*AssessmentMetadata) SetScope

func (s *AssessmentMetadata) SetScope(v *Scope) *AssessmentMetadata

SetScope sets the Scope field's value.

func (*AssessmentMetadata) SetStatus

func (s *AssessmentMetadata) SetStatus(v string) *AssessmentMetadata

SetStatus sets the Status field's value.

func (AssessmentMetadata) String

func (s AssessmentMetadata) String() string

String returns the string representation

type AssessmentMetadataItem

type AssessmentMetadataItem struct {

	// The name of the compliance standard related to the assessment, such as PCI-DSS.
	ComplianceType *string `locationName:"complianceType" type:"string"`

	// Specifies when the assessment was created.
	CreationTime *time.Time `locationName:"creationTime" type:"timestamp"`

	// The delegations associated with the assessment.
	Delegations []*Delegation `locationName:"delegations" type:"list"`

	// The unique identifier for the assessment.
	Id *string `locationName:"id" min:"36" type:"string"`

	// The time of the most recent update.
	LastUpdated *time.Time `locationName:"lastUpdated" type:"timestamp"`

	// The name of the assessment.
	Name *string `locationName:"name" min:"1" type:"string"`

	// The roles associated with the assessment.
	Roles []*Role `locationName:"roles" type:"list"`

	// The current status of the assessment.
	Status *string `locationName:"status" type:"string" enum:"AssessmentStatus"`
	// contains filtered or unexported fields
}

A metadata object associated with an assessment in AWS Audit Manager.

func (AssessmentMetadataItem) GoString

func (s AssessmentMetadataItem) GoString() string

GoString returns the string representation

func (*AssessmentMetadataItem) SetComplianceType

func (s *AssessmentMetadataItem) SetComplianceType(v string) *AssessmentMetadataItem

SetComplianceType sets the ComplianceType field's value.

func (*AssessmentMetadataItem) SetCreationTime

func (s *AssessmentMetadataItem) SetCreationTime(v time.Time) *AssessmentMetadataItem

SetCreationTime sets the CreationTime field's value.

func (*AssessmentMetadataItem) SetDelegations

func (s *AssessmentMetadataItem) SetDelegations(v []*Delegation) *AssessmentMetadataItem

SetDelegations sets the Delegations field's value.

func (*AssessmentMetadataItem) SetId

SetId sets the Id field's value.

func (*AssessmentMetadataItem) SetLastUpdated

SetLastUpdated sets the LastUpdated field's value.

func (*AssessmentMetadataItem) SetName

SetName sets the Name field's value.

func (*AssessmentMetadataItem) SetRoles

SetRoles sets the Roles field's value.

func (*AssessmentMetadataItem) SetStatus

SetStatus sets the Status field's value.

func (AssessmentMetadataItem) String

func (s AssessmentMetadataItem) String() string

String returns the string representation

type AssessmentReport

type AssessmentReport struct {

	// The identifier for the specified assessment.
	AssessmentId *string `locationName:"assessmentId" min:"36" type:"string"`

	// The name of the associated assessment.
	AssessmentName *string `locationName:"assessmentName" min:"1" type:"string"`

	// The name of the user who created the assessment report.
	Author *string `locationName:"author" min:"1" type:"string"`

	// The identifier for the specified AWS account.
	AwsAccountId *string `locationName:"awsAccountId" min:"12" type:"string"`

	// Specifies when the assessment report was created.
	CreationTime *time.Time `locationName:"creationTime" type:"timestamp"`

	// The description of the specified assessment report.
	Description *string `locationName:"description" type:"string"`

	// The unique identifier for the specified assessment report.
	Id *string `locationName:"id" min:"36" type:"string"`

	// The name given to the assessment report.
	Name *string `locationName:"name" min:"1" type:"string"`

	// The current status of the specified assessment report.
	Status *string `locationName:"status" type:"string" enum:"AssessmentReportStatus"`
	// contains filtered or unexported fields
}

A finalized document generated from an AWS Audit Manager assessment. These reports summarize the relevant evidence collected for your audit, and link to the relevant evidence folders which are named and organized according to the controls specified in your assessment.

func (AssessmentReport) GoString

func (s AssessmentReport) GoString() string

GoString returns the string representation

func (*AssessmentReport) SetAssessmentId

func (s *AssessmentReport) SetAssessmentId(v string) *AssessmentReport

SetAssessmentId sets the AssessmentId field's value.

func (*AssessmentReport) SetAssessmentName

func (s *AssessmentReport) SetAssessmentName(v string) *AssessmentReport

SetAssessmentName sets the AssessmentName field's value.

func (*AssessmentReport) SetAuthor

func (s *AssessmentReport) SetAuthor(v string) *AssessmentReport

SetAuthor sets the Author field's value.

func (*AssessmentReport) SetAwsAccountId

func (s *AssessmentReport) SetAwsAccountId(v string) *AssessmentReport

SetAwsAccountId sets the AwsAccountId field's value.

func (*AssessmentReport) SetCreationTime

func (s *AssessmentReport) SetCreationTime(v time.Time) *AssessmentReport

SetCreationTime sets the CreationTime field's value.

func (*AssessmentReport) SetDescription

func (s *AssessmentReport) SetDescription(v string) *AssessmentReport

SetDescription sets the Description field's value.

func (*AssessmentReport) SetId

SetId sets the Id field's value.

func (*AssessmentReport) SetName

func (s *AssessmentReport) SetName(v string) *AssessmentReport

SetName sets the Name field's value.

func (*AssessmentReport) SetStatus

func (s *AssessmentReport) SetStatus(v string) *AssessmentReport

SetStatus sets the Status field's value.

func (AssessmentReport) String

func (s AssessmentReport) String() string

String returns the string representation

type AssessmentReportEvidenceError

type AssessmentReportEvidenceError struct {

	// The error code returned by the AssessmentReportEvidence API.
	ErrorCode *string `locationName:"errorCode" min:"3" type:"string"`

	// The error message returned by the AssessmentReportEvidence API.
	ErrorMessage *string `locationName:"errorMessage" type:"string"`

	// The identifier for the evidence.
	EvidenceId *string `locationName:"evidenceId" min:"36" type:"string"`
	// contains filtered or unexported fields
}

An error entity for the AssessmentReportEvidence API. This is used to provide more meaningful errors than a simple string message.

func (AssessmentReportEvidenceError) GoString

GoString returns the string representation

func (*AssessmentReportEvidenceError) SetErrorCode

SetErrorCode sets the ErrorCode field's value.

func (*AssessmentReportEvidenceError) SetErrorMessage

SetErrorMessage sets the ErrorMessage field's value.

func (*AssessmentReportEvidenceError) SetEvidenceId

SetEvidenceId sets the EvidenceId field's value.

func (AssessmentReportEvidenceError) String

String returns the string representation

type AssessmentReportMetadata

type AssessmentReportMetadata struct {

	// The unique identifier for the associated assessment.
	AssessmentId *string `locationName:"assessmentId" min:"36" type:"string"`

	// The name of the associated assessment.
	AssessmentName *string `locationName:"assessmentName" min:"1" type:"string"`

	// The name of the user who created the assessment report.
	Author *string `locationName:"author" min:"1" type:"string"`

	// Specifies when the assessment report was created.
	CreationTime *time.Time `locationName:"creationTime" type:"timestamp"`

	// The description of the specified assessment report.
	Description *string `locationName:"description" type:"string"`

	// The unique identifier for the assessment report.
	Id *string `locationName:"id" min:"36" type:"string"`

	// The name of the assessment report.
	Name *string `locationName:"name" min:"1" type:"string"`

	// The current status of the assessment report.
	Status *string `locationName:"status" type:"string" enum:"AssessmentReportStatus"`
	// contains filtered or unexported fields
}

The metadata objects associated with the specified assessment report.

func (AssessmentReportMetadata) GoString

func (s AssessmentReportMetadata) GoString() string

GoString returns the string representation

func (*AssessmentReportMetadata) SetAssessmentId

SetAssessmentId sets the AssessmentId field's value.

func (*AssessmentReportMetadata) SetAssessmentName

func (s *AssessmentReportMetadata) SetAssessmentName(v string) *AssessmentReportMetadata

SetAssessmentName sets the AssessmentName field's value.

func (*AssessmentReportMetadata) SetAuthor

SetAuthor sets the Author field's value.

func (*AssessmentReportMetadata) SetCreationTime

SetCreationTime sets the CreationTime field's value.

func (*AssessmentReportMetadata) SetDescription

SetDescription sets the Description field's value.

func (*AssessmentReportMetadata) SetId

SetId sets the Id field's value.

func (*AssessmentReportMetadata) SetName

SetName sets the Name field's value.

func (*AssessmentReportMetadata) SetStatus

SetStatus sets the Status field's value.

func (AssessmentReportMetadata) String

func (s AssessmentReportMetadata) String() string

String returns the string representation

type AssessmentReportsDestination

type AssessmentReportsDestination struct {

	// The destination of the assessment report.
	Destination *string `locationName:"destination" min:"1" type:"string"`

	// The destination type, such as Amazon S3.
	DestinationType *string `locationName:"destinationType" type:"string" enum:"AssessmentReportDestinationType"`
	// contains filtered or unexported fields
}

The location in which AWS Audit Manager saves assessment reports for the given assessment.

func (AssessmentReportsDestination) GoString

func (s AssessmentReportsDestination) GoString() string

GoString returns the string representation

func (*AssessmentReportsDestination) SetDestination

SetDestination sets the Destination field's value.

func (*AssessmentReportsDestination) SetDestinationType

SetDestinationType sets the DestinationType field's value.

func (AssessmentReportsDestination) String

String returns the string representation

func (*AssessmentReportsDestination) Validate

func (s *AssessmentReportsDestination) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AssociateAssessmentReportEvidenceFolderInput

type AssociateAssessmentReportEvidenceFolderInput struct {

	// The identifier for the specified assessment.
	//
	// AssessmentId is a required field
	AssessmentId *string `location:"uri" locationName:"assessmentId" min:"36" type:"string" required:"true"`

	// The identifier for the folder in which evidence is stored.
	//
	// EvidenceFolderId is a required field
	EvidenceFolderId *string `locationName:"evidenceFolderId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (AssociateAssessmentReportEvidenceFolderInput) GoString

GoString returns the string representation

func (*AssociateAssessmentReportEvidenceFolderInput) SetAssessmentId

SetAssessmentId sets the AssessmentId field's value.

func (*AssociateAssessmentReportEvidenceFolderInput) SetEvidenceFolderId

SetEvidenceFolderId sets the EvidenceFolderId field's value.

func (AssociateAssessmentReportEvidenceFolderInput) String

String returns the string representation

func (*AssociateAssessmentReportEvidenceFolderInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type AssociateAssessmentReportEvidenceFolderOutput

type AssociateAssessmentReportEvidenceFolderOutput struct {
	// contains filtered or unexported fields
}

func (AssociateAssessmentReportEvidenceFolderOutput) GoString

GoString returns the string representation

func (AssociateAssessmentReportEvidenceFolderOutput) String

String returns the string representation

type AuditManager

type AuditManager struct {
	*client.Client
}

AuditManager provides the API operation methods for making requests to AWS Audit Manager. See this package's package overview docs for details on the service.

AuditManager methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *AuditManager

New creates a new instance of the AuditManager 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:

mySession := session.Must(session.NewSession())

// Create a AuditManager client from just a session.
svc := auditmanager.New(mySession)

// Create a AuditManager client with additional configuration
svc := auditmanager.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*AuditManager) AssociateAssessmentReportEvidenceFolder

AssociateAssessmentReportEvidenceFolder API operation for AWS Audit Manager.

Associates an evidence folder to the specified assessment report in AWS Audit Manager.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Audit Manager's API operation AssociateAssessmentReportEvidenceFolder for usage and error information.

Returned Error Types:

* ValidationException
The request has invalid or missing parameters.

* AccessDeniedException
Your account is not registered with AWS Audit Manager. Check the delegated
administrator setup on the AWS Audit Manager settings page, and try again.

* InternalServerException
An internal service error occurred during the processing of your request.
Try again later.

* ResourceNotFoundException
The resource specified in the request cannot be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/AssociateAssessmentReportEvidenceFolder

func (*AuditManager) AssociateAssessmentReportEvidenceFolderRequest

func (c *AuditManager) AssociateAssessmentReportEvidenceFolderRequest(input *AssociateAssessmentReportEvidenceFolderInput) (req *request.Request, output *AssociateAssessmentReportEvidenceFolderOutput)

AssociateAssessmentReportEvidenceFolderRequest generates a "aws/request.Request" representing the client's request for the AssociateAssessmentReportEvidenceFolder operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AssociateAssessmentReportEvidenceFolder for more information on using the AssociateAssessmentReportEvidenceFolder API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AssociateAssessmentReportEvidenceFolderRequest method.
req, resp := client.AssociateAssessmentReportEvidenceFolderRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/AssociateAssessmentReportEvidenceFolder

func (*AuditManager) AssociateAssessmentReportEvidenceFolderWithContext

func (c *AuditManager) AssociateAssessmentReportEvidenceFolderWithContext(ctx aws.Context, input *AssociateAssessmentReportEvidenceFolderInput, opts ...request.Option) (*AssociateAssessmentReportEvidenceFolderOutput, error)

AssociateAssessmentReportEvidenceFolderWithContext is the same as AssociateAssessmentReportEvidenceFolder with the addition of the ability to pass a context and additional request options.

See AssociateAssessmentReportEvidenceFolder for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AuditManager) BatchAssociateAssessmentReportEvidence

BatchAssociateAssessmentReportEvidence API operation for AWS Audit Manager.

Associates a list of evidence to an assessment report in an AWS Audit Manager assessment.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Audit Manager's API operation BatchAssociateAssessmentReportEvidence for usage and error information.

Returned Error Types:

* ValidationException
The request has invalid or missing parameters.

* AccessDeniedException
Your account is not registered with AWS Audit Manager. Check the delegated
administrator setup on the AWS Audit Manager settings page, and try again.

* InternalServerException
An internal service error occurred during the processing of your request.
Try again later.

* ResourceNotFoundException
The resource specified in the request cannot be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchAssociateAssessmentReportEvidence

func (*AuditManager) BatchAssociateAssessmentReportEvidenceRequest

func (c *AuditManager) BatchAssociateAssessmentReportEvidenceRequest(input *BatchAssociateAssessmentReportEvidenceInput) (req *request.Request, output *BatchAssociateAssessmentReportEvidenceOutput)

BatchAssociateAssessmentReportEvidenceRequest generates a "aws/request.Request" representing the client's request for the BatchAssociateAssessmentReportEvidence operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchAssociateAssessmentReportEvidence for more information on using the BatchAssociateAssessmentReportEvidence API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchAssociateAssessmentReportEvidenceRequest method.
req, resp := client.BatchAssociateAssessmentReportEvidenceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchAssociateAssessmentReportEvidence

func (*AuditManager) BatchAssociateAssessmentReportEvidenceWithContext

func (c *AuditManager) BatchAssociateAssessmentReportEvidenceWithContext(ctx aws.Context, input *BatchAssociateAssessmentReportEvidenceInput, opts ...request.Option) (*BatchAssociateAssessmentReportEvidenceOutput, error)

BatchAssociateAssessmentReportEvidenceWithContext is the same as BatchAssociateAssessmentReportEvidence with the addition of the ability to pass a context and additional request options.

See BatchAssociateAssessmentReportEvidence for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AuditManager) BatchCreateDelegationByAssessment

BatchCreateDelegationByAssessment API operation for AWS Audit Manager.

Create a batch of delegations for a specified assessment in AWS Audit Manager.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Audit Manager's API operation BatchCreateDelegationByAssessment for usage and error information.

Returned Error Types:

* ResourceNotFoundException
The resource specified in the request cannot be found.

* AccessDeniedException
Your account is not registered with AWS Audit Manager. Check the delegated
administrator setup on the AWS Audit Manager settings page, and try again.

* ValidationException
The request has invalid or missing parameters.

* InternalServerException
An internal service error occurred during the processing of your request.
Try again later.

See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchCreateDelegationByAssessment

func (*AuditManager) BatchCreateDelegationByAssessmentRequest

func (c *AuditManager) BatchCreateDelegationByAssessmentRequest(input *BatchCreateDelegationByAssessmentInput) (req *request.Request, output *BatchCreateDelegationByAssessmentOutput)

BatchCreateDelegationByAssessmentRequest generates a "aws/request.Request" representing the client's request for the BatchCreateDelegationByAssessment operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchCreateDelegationByAssessment for more information on using the BatchCreateDelegationByAssessment API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchCreateDelegationByAssessmentRequest method.
req, resp := client.BatchCreateDelegationByAssessmentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchCreateDelegationByAssessment

func (*AuditManager) BatchCreateDelegationByAssessmentWithContext

func (c *AuditManager) BatchCreateDelegationByAssessmentWithContext(ctx aws.Context, input *BatchCreateDelegationByAssessmentInput, opts ...request.Option) (*BatchCreateDelegationByAssessmentOutput, error)

BatchCreateDelegationByAssessmentWithContext is the same as BatchCreateDelegationByAssessment with the addition of the ability to pass a context and additional request options.

See BatchCreateDelegationByAssessment for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AuditManager) BatchDeleteDelegationByAssessment

BatchDeleteDelegationByAssessment API operation for AWS Audit Manager.

Deletes the delegations in the specified AWS Audit Manager assessment.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Audit Manager's API operation BatchDeleteDelegationByAssessment for usage and error information.

Returned Error Types:

* ResourceNotFoundException
The resource specified in the request cannot be found.

* AccessDeniedException
Your account is not registered with AWS Audit Manager. Check the delegated
administrator setup on the AWS Audit Manager settings page, and try again.

* ValidationException
The request has invalid or missing parameters.

* InternalServerException
An internal service error occurred during the processing of your request.
Try again later.

See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchDeleteDelegationByAssessment

func (*AuditManager) BatchDeleteDelegationByAssessmentRequest

func (c *AuditManager) BatchDeleteDelegationByAssessmentRequest(input *BatchDeleteDelegationByAssessmentInput) (req *request.Request, output *BatchDeleteDelegationByAssessmentOutput)

BatchDeleteDelegationByAssessmentRequest generates a "aws/request.Request" representing the client's request for the BatchDeleteDelegationByAssessment operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchDeleteDelegationByAssessment for more information on using the BatchDeleteDelegationByAssessment API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchDeleteDelegationByAssessmentRequest method.
req, resp := client.BatchDeleteDelegationByAssessmentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchDeleteDelegationByAssessment

func (*AuditManager) BatchDeleteDelegationByAssessmentWithContext

func (c *AuditManager) BatchDeleteDelegationByAssessmentWithContext(ctx aws.Context, input *BatchDeleteDelegationByAssessmentInput, opts ...request.Option) (*BatchDeleteDelegationByAssessmentOutput, error)

BatchDeleteDelegationByAssessmentWithContext is the same as BatchDeleteDelegationByAssessment with the addition of the ability to pass a context and additional request options.

See BatchDeleteDelegationByAssessment for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AuditManager) BatchDisassociateAssessmentReportEvidence

BatchDisassociateAssessmentReportEvidence API operation for AWS Audit Manager.

Disassociates a list of evidence from the specified assessment report in AWS Audit Manager.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Audit Manager's API operation BatchDisassociateAssessmentReportEvidence for usage and error information.

Returned Error Types:

* ValidationException
The request has invalid or missing parameters.

* AccessDeniedException
Your account is not registered with AWS Audit Manager. Check the delegated
administrator setup on the AWS Audit Manager settings page, and try again.

* InternalServerException
An internal service error occurred during the processing of your request.
Try again later.

* ResourceNotFoundException
The resource specified in the request cannot be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchDisassociateAssessmentReportEvidence

func (*AuditManager) BatchDisassociateAssessmentReportEvidenceRequest

func (c *AuditManager) BatchDisassociateAssessmentReportEvidenceRequest(input *BatchDisassociateAssessmentReportEvidenceInput) (req *request.Request, output *BatchDisassociateAssessmentReportEvidenceOutput)

BatchDisassociateAssessmentReportEvidenceRequest generates a "aws/request.Request" representing the client's request for the BatchDisassociateAssessmentReportEvidence operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchDisassociateAssessmentReportEvidence for more information on using the BatchDisassociateAssessmentReportEvidence API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchDisassociateAssessmentReportEvidenceRequest method.
req, resp := client.BatchDisassociateAssessmentReportEvidenceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchDisassociateAssessmentReportEvidence

func (*AuditManager) BatchDisassociateAssessmentReportEvidenceWithContext

func (c *AuditManager) BatchDisassociateAssessmentReportEvidenceWithContext(ctx aws.Context, input *BatchDisassociateAssessmentReportEvidenceInput, opts ...request.Option) (*BatchDisassociateAssessmentReportEvidenceOutput, error)

BatchDisassociateAssessmentReportEvidenceWithContext is the same as BatchDisassociateAssessmentReportEvidence with the addition of the ability to pass a context and additional request options.

See BatchDisassociateAssessmentReportEvidence for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AuditManager) BatchImportEvidenceToAssessmentControl

BatchImportEvidenceToAssessmentControl API operation for AWS Audit Manager.

Uploads one or more pieces of evidence to the specified control in the assessment in AWS Audit Manager.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Audit Manager's API operation BatchImportEvidenceToAssessmentControl for usage and error information.

Returned Error Types:

* ResourceNotFoundException
The resource specified in the request cannot be found.

* AccessDeniedException
Your account is not registered with AWS Audit Manager. Check the delegated
administrator setup on the AWS Audit Manager settings page, and try again.

* ValidationException
The request has invalid or missing parameters.

* InternalServerException
An internal service error occurred during the processing of your request.
Try again later.

See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchImportEvidenceToAssessmentControl

func (*AuditManager) BatchImportEvidenceToAssessmentControlRequest

func (c *AuditManager) BatchImportEvidenceToAssessmentControlRequest(input *BatchImportEvidenceToAssessmentControlInput) (req *request.Request, output *BatchImportEvidenceToAssessmentControlOutput)

BatchImportEvidenceToAssessmentControlRequest generates a "aws/request.Request" representing the client's request for the BatchImportEvidenceToAssessmentControl operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchImportEvidenceToAssessmentControl for more information on using the BatchImportEvidenceToAssessmentControl API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchImportEvidenceToAssessmentControlRequest method.
req, resp := client.BatchImportEvidenceToAssessmentControlRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchImportEvidenceToAssessmentControl

func (*AuditManager) BatchImportEvidenceToAssessmentControlWithContext

func (c *AuditManager) BatchImportEvidenceToAssessmentControlWithContext(ctx aws.Context, input *BatchImportEvidenceToAssessmentControlInput, opts ...request.Option) (*BatchImportEvidenceToAssessmentControlOutput, error)

BatchImportEvidenceToAssessmentControlWithContext is the same as BatchImportEvidenceToAssessmentControl with the addition of the ability to pass a context and additional request options.

See BatchImportEvidenceToAssessmentControl for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AuditManager) CreateAssessment

func (c *AuditManager) CreateAssessment(input *CreateAssessmentInput) (*CreateAssessmentOutput, error)

CreateAssessment API operation for AWS Audit Manager.

Creates an assessment in AWS Audit Manager.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Audit Manager's API operation CreateAssessment for usage and error information.

Returned Error Types:

* ResourceNotFoundException
The resource specified in the request cannot be found.

* ValidationException
The request has invalid or missing parameters.

* AccessDeniedException
Your account is not registered with AWS Audit Manager. Check the delegated
administrator setup on the AWS Audit Manager settings page, and try again.

* InternalServerException
An internal service error occurred during the processing of your request.
Try again later.

See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessment

func (*AuditManager) CreateAssessmentFramework

func (c *AuditManager) CreateAssessmentFramework(input *CreateAssessmentFrameworkInput) (*CreateAssessmentFrameworkOutput, error)

CreateAssessmentFramework API operation for AWS Audit Manager.

Creates a custom framework in AWS Audit Manager.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Audit Manager's API operation CreateAssessmentFramework for usage and error information.

Returned Error Types:

* ResourceNotFoundException
The resource specified in the request cannot be found.

* ValidationException
The request has invalid or missing parameters.

* AccessDeniedException
Your account is not registered with AWS Audit Manager. Check the delegated
administrator setup on the AWS Audit Manager settings page, and try again.

* InternalServerException
An internal service error occurred during the processing of your request.
Try again later.

See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessmentFramework

func (*AuditManager) CreateAssessmentFrameworkRequest

func (c *AuditManager) CreateAssessmentFrameworkRequest(input *CreateAssessmentFrameworkInput) (req *request.Request, output *CreateAssessmentFrameworkOutput)

CreateAssessmentFrameworkRequest generates a "aws/request.Request" representing the client's request for the CreateAssessmentFramework operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateAssessmentFramework for more information on using the CreateAssessmentFramework API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateAssessmentFrameworkRequest method.
req, resp := client.CreateAssessmentFrameworkRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessmentFramework

func (*AuditManager) CreateAssessmentFrameworkWithContext

func (c *AuditManager) CreateAssessmentFrameworkWithContext(ctx aws.Context, input *CreateAssessmentFrameworkInput, opts ...request.Option) (*CreateAssessmentFrameworkOutput, error)

CreateAssessmentFrameworkWithContext is the same as CreateAssessmentFramework with the addition of the ability to pass a context and additional request options.

See CreateAssessmentFramework for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AuditManager) CreateAssessmentReport

func (c *AuditManager) CreateAssessmentReport(input *CreateAssessmentReportInput) (*CreateAssessmentReportOutput, error)

CreateAssessmentReport API operation for AWS Audit Manager.

Creates an assessment report for the specified assessment.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Audit Manager's API operation CreateAssessmentReport for usage and error information.

Returned Error Types:

* ValidationException
The request has invalid or missing parameters.

* AccessDeniedException
Your account is not registered with AWS Audit Manager. Check the delegated
administrator setup on the AWS Audit Manager settings page, and try again.

* InternalServerException
An internal service error occurred during the processing of your request.
Try again later.

* ResourceNotFoundException
The resource specified in the request cannot be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessmentReport

func (*AuditManager) CreateAssessmentReportRequest

func (c *AuditManager) CreateAssessmentReportRequest(input *CreateAssessmentReportInput) (req *request.Request, output *CreateAssessmentReportOutput)

CreateAssessmentReportRequest generates a "aws/request.Request" representing the client's request for the CreateAssessmentReport operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateAssessmentReport for more information on using the CreateAssessmentReport API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateAssessmentReportRequest method.
req, resp := client.CreateAssessmentReportRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessmentReport

func (*AuditManager) CreateAssessmentReportWithContext

func (c *AuditManager) CreateAssessmentReportWithContext(ctx aws.Context, input *CreateAssessmentReportInput, opts ...request.Option) (*CreateAssessmentReportOutput, error)

CreateAssessmentReportWithContext is the same as CreateAssessmentReport with the addition of the ability to pass a context and additional request options.

See CreateAssessmentReport for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AuditManager) CreateAssessmentRequest

func (c *AuditManager) CreateAssessmentRequest(input *CreateAssessmentInput) (req *request.Request, output *CreateAssessmentOutput)

CreateAssessmentRequest generates a "aws/request.Request" representing the client's request for the CreateAssessment operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateAssessment for more information on using the CreateAssessment API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateAssessmentRequest method.
req, resp := client.CreateAssessmentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessment

func (*AuditManager) CreateAssessmentWithContext

func (c *AuditManager) CreateAssessmentWithContext(ctx aws.Context, input *CreateAssessmentInput, opts ...request.Option) (*CreateAssessmentOutput, error)

CreateAssessmentWithContext is the same as CreateAssessment with the addition of the ability to pass a context and additional request options.

See CreateAssessment for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AuditManager) CreateControl

func (c *AuditManager) CreateControl(input *CreateControlInput) (*CreateControlOutput, error)

CreateControl API operation for AWS Audit Manager.

Creates a new custom control in AWS Audit Manager.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Audit Manager's API operation CreateControl for usage and error information.

Returned Error Types:

* ResourceNotFoundException
The resource specified in the request cannot be found.

* ValidationException
The request has invalid or missing parameters.

* AccessDeniedException
Your account is not registered with AWS Audit Manager. Check the delegated
administrator setup on the AWS Audit Manager settings page, and try again.

* InternalServerException
An internal service error occurred during the processing of your request.
Try again later.

See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateControl

func (*AuditManager) CreateControlRequest

func (c *AuditManager) CreateControlRequest(input *CreateControlInput) (req *request.Request, output *CreateControlOutput)

CreateControlRequest generates a "aws/request.Request" representing the client's request for the CreateControl operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateControl for more information on using the CreateControl API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateControlRequest method.
req, resp := client.CreateControlRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateControl

func (*AuditManager) CreateControlWithContext

func (c *AuditManager) CreateControlWithContext(ctx aws.Context, input *CreateControlInput, opts ...request.Option) (*CreateControlOutput, error)

CreateControlWithContext is the same as CreateControl with the addition of the ability to pass a context and additional request options.

See CreateControl for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AuditManager) DeleteAssessment

func (c *AuditManager) DeleteAssessment(input *DeleteAssessmentInput) (*DeleteAssessmentOutput, error)

DeleteAssessment API operation for AWS Audit Manager.

Deletes an assessment in AWS Audit Manager.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Audit Manager's API operation DeleteAssessment for usage and error information.

Returned Error Types:

* ResourceNotFoundException
The resource specified in the request cannot be found.

* ValidationException
The request has invalid or missing parameters.

* AccessDeniedException
Your account is not registered with AWS Audit Manager. Check the delegated
administrator setup on the AWS Audit Manager settings page, and try again.

* InternalServerException
An internal service error occurred during the processing of your request.
Try again later.

See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessment

func (*AuditManager) DeleteAssessmentFramework

func (c *AuditManager) DeleteAssessmentFramework(input *DeleteAssessmentFrameworkInput) (*DeleteAssessmentFrameworkOutput, error)

DeleteAssessmentFramework API operation for AWS Audit Manager.

Deletes a custom framework in AWS Audit Manager.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Audit Manager's API operation DeleteAssessmentFramework for usage and error information.

Returned Error Types:

* ResourceNotFoundException
The resource specified in the request cannot be found.

* ValidationException
The request has invalid or missing parameters.

* AccessDeniedException
Your account is not registered with AWS Audit Manager. Check the delegated
administrator setup on the AWS Audit Manager settings page, and try again.

* InternalServerException
An internal service error occurred during the processing of your request.
Try again later.

See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentFramework

func (*AuditManager) DeleteAssessmentFrameworkRequest

func (c *AuditManager) DeleteAssessmentFrameworkRequest(input *DeleteAssessmentFrameworkInput) (req *request.Request, output *DeleteAssessmentFrameworkOutput)

DeleteAssessmentFrameworkRequest generates a "aws/request.Request" representing the client's request for the DeleteAssessmentFramework operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteAssessmentFramework for more information on using the DeleteAssessmentFramework API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteAssessmentFrameworkRequest method.
req, resp := client.DeleteAssessmentFrameworkRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentFramework

func (*AuditManager) DeleteAssessmentFrameworkWithContext

func (c *AuditManager) DeleteAssessmentFrameworkWithContext(ctx aws.Context, input *DeleteAssessmentFrameworkInput, opts ...request.Option) (*DeleteAssessmentFrameworkOutput, error)

DeleteAssessmentFrameworkWithContext is the same as DeleteAssessmentFramework with the addition of the ability to pass a context and additional request options.

See DeleteAssessmentFramework for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AuditManager) DeleteAssessmentReport

func (c *AuditManager) DeleteAssessmentReport(input *DeleteAssessmentReportInput) (*DeleteAssessmentReportOutput, error)

DeleteAssessmentReport API operation for AWS Audit Manager.

Deletes an assessment report from an assessment in AWS Audit Manager.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Audit Manager's API operation DeleteAssessmentReport for usage and error information.

Returned Error Types:

* ValidationException
The request has invalid or missing parameters.

* AccessDeniedException
Your account is not registered with AWS Audit Manager. Check the delegated
administrator setup on the AWS Audit Manager settings page, and try again.

* InternalServerException
An internal service error occurred during the processing of your request.
Try again later.

* ResourceNotFoundException
The resource specified in the request cannot be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentReport

func (*AuditManager) DeleteAssessmentReportRequest

func (c *AuditManager) DeleteAssessmentReportRequest(input *DeleteAssessmentReportInput) (req *request.Request, output *DeleteAssessmentReportOutput)

DeleteAssessmentReportRequest generates a "aws/request.Request" representing the client's request for the DeleteAssessmentReport operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteAssessmentReport for more information on using the DeleteAssessmentReport API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteAssessmentReportRequest method.
req, resp := client.DeleteAssessmentReportRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentReport

func (*AuditManager) DeleteAssessmentReportWithContext

func (c *AuditManager) DeleteAssessmentReportWithContext(ctx aws.Context, input *DeleteAssessmentReportInput, opts ...request.Option) (*DeleteAssessmentReportOutput, error)

DeleteAssessmentReportWithContext is the same as DeleteAssessmentReport with the addition of the ability to pass a context and additional request options.

See DeleteAssessmentReport for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AuditManager) DeleteAssessmentRequest

func (c *AuditManager) DeleteAssessmentRequest(input *DeleteAssessmentInput) (req *request.Request, output *DeleteAssessmentOutput)

DeleteAssessmentRequest generates a "aws/request.Request" representing the client's request for the DeleteAssessment operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteAssessment for more information on using the DeleteAssessment API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteAssessmentRequest method.
req, resp := client.DeleteAssessmentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessment

func (*AuditManager) DeleteAssessmentWithContext

func (c *AuditManager) DeleteAssessmentWithContext(ctx aws.Context, input *DeleteAssessmentInput, opts ...request.Option) (*DeleteAssessmentOutput, error)

DeleteAssessmentWithContext is the same as DeleteAssessment with the addition of the ability to pass a context and additional request options.

See DeleteAssessment for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AuditManager) DeleteControl

func (c *AuditManager) DeleteControl(input *DeleteControlInput) (*DeleteControlOutput, error)

DeleteControl API operation for AWS Audit Manager.

Deletes a custom control in AWS Audit Manager.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Audit Manager's API operation DeleteControl for usage and error information.

Returned Error Types:

* ResourceNotFoundException
The resource specified in the request cannot be found.

* ValidationException
The request has invalid or missing parameters.

* AccessDeniedException
Your account is not registered with AWS Audit Manager. Check the delegated
administrator setup on the AWS Audit Manager settings page, and try again.

* InternalServerException
An internal service error occurred during the processing of your request.
Try again later.

See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteControl

func (*AuditManager) DeleteControlRequest

func (c *AuditManager) DeleteControlRequest(input *DeleteControlInput) (req *request.Request, output *DeleteControlOutput)

DeleteControlRequest generates a "aws/request.Request" representing the client's request for the DeleteControl operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteControl for more information on using the DeleteControl API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteControlRequest method.
req, resp := client.DeleteControlRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteControl

func (*AuditManager) DeleteControlWithContext

func (c *AuditManager) DeleteControlWithContext(ctx aws.