func (c *Client) PutComplianceItems(ctx context.Context, params *PutComplianceItemsInput, optFns ...func(*Options)) (*PutComplianceItemsOutput, error) {
	if params == nil {
		params = &PutComplianceItemsInput{}
	}

	result, metadata, err := c.invokeOperation(ctx, "PutComplianceItems", params, optFns, addOperationPutComplianceItemsMiddlewares)
	if err != nil {
		return nil, err
	}

	out := result.(*PutComplianceItemsOutput)
	out.ResultMetadata = metadata
	return out, nil
}
// Registers a compliance type and other compliance details on a designated
// resource. This action lets you register custom compliance details with a
// resource. This call overwrites existing compliance information on the resource,
// so you must provide a full list of compliance items each time that you send the
// request. ComplianceType can be one of the following:
//
// * ExecutionId: The
// execution ID when the patch, association, or custom compliance item was
// applied.
//
// * ExecutionType: Specify patch, association, or Custom:string.
//
// *
// ExecutionTime. The time the patch, association, or custom compliance item was
// applied to the instance.
//
// * Id: The patch, association, or custom compliance
// ID.
//
// * Title: A title.
//
// * Status: The status of the compliance item. For
// example, approved for patches, or Failed for associations.
//
// * Severity: A patch
// severity. For example, critical.
//
// * DocumentName: A SSM document name. For
// example, AWS-RunPatchBaseline.
//
// * DocumentVersion: An SSM document version
// number. For example, 4.
//
// * Classification: A patch classification. For example,
// security updates.
//
// * PatchBaselineId: A patch baseline ID.
//
// * PatchSeverity: A
// patch severity. For example, Critical.
//
// * PatchState: A patch state. For
// example, InstancesWithFailedPatches.
//
// * PatchGroup: The name of a patch
// group.
//
// * InstalledTime: The time the association, patch, or custom compliance
// item was applied to the resource. Specify the time by using the following
// format: yyyy-MM-dd'T'HH:mm:ss'Z'
Registers a compliance type and other compliance details on a designated
resource. This action lets you register custom compliance details with a
resource. This call overwrites existing compliance information on the resource,
so you must provide a full list of compliance items each time that you send the
request. ComplianceType can be one of the following.

The
execution ID when the patch, association, or custom compliance item was
applied.

Specify patch, association, or Custom:string.

ExecutionTime. The time the patch, association, or custom compliance item was
applied to the instance.

The patch, association, or custom compliance
ID.

A title.

The status of the compliance item. For
example, approved for patches, or Failed for associations.

A patch
severity. For example, critical.

A SSM document name. For
example, AWS-RunPatchBaseline.

An SSM document version
number. For example, 4.

A patch classification. For example,
security updates.

A patch baseline ID.

A
patch severity. For example, Critical.

A patch state. For
example, InstancesWithFailedPatches.

The name of a patch
group.

The time the association, patch, or custom compliance
item was applied to the resource. Specify the time by using the following
format: yyyy-MM-dd'T'HH:mm:ss'Z'
// Registers a compliance type and other compliance details on a designated // resource . This action lets you register custom compliance details with a // resource . This call overwrites existing compliance information on the resource // so you must provide a full list of compliance items each time that you send the // request . ComplianceType can be one of the following : // // * ExecutionId : The // execution ID when the patch association or custom compliance item was // applied . // // * ExecutionType : Specify patch association or Custom : string . // // * // ExecutionTime . The time the patch association or custom compliance item was // applied to the instance . // // * Id : The patch association or custom compliance // ID . // // * Title : A title . // // * Status : The status of the compliance item . For // example approved for patches or Failed for associations . // // * Severity : A patch // severity . For example critical . // // * DocumentName : A SSM document name . For // example AWS - RunPatchBaseline . // // * DocumentVersion : An SSM document version // number . For example 4 . // // * Classification : A patch classification . For example // security updates . // // * PatchBaselineId : A patch baseline ID . // // * PatchSeverity : A // patch severity . For example Critical . // // * PatchState : A patch state . For // example InstancesWithFailedPatches . // // * PatchGroup : The name of a patch // group . // // * InstalledTime : The time the association patch or custom compliance // item was applied to the resource . Specify the time by using the following // format : yyyy - MM - dd ' T ' HH : mm : ss ' Z '
func (c *Client) PutComplianceItems(ctx context.Context, params *PutComplianceItemsInput, optFns ...func(*Options)) (*PutComplianceItemsOutput, error) {
	if params == nil {
		params = &PutComplianceItemsInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "PutComplianceItems", params, optFns, addOperationPutComplianceItemsMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*PutComplianceItemsOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) PutComplianceItems ( ctx context . Context , params * PutComplianceItemsInput , optFns ... func ( * Options ) ) ( * PutComplianceItemsOutput , error ) { if params == nil { params = & PutComplianceItemsInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationPutComplianceItemsMiddlewares ) if err != nil { return nil , err } out := result . ( * PutComplianceItemsOutput ) out . ResultMetadata = metadata return out , nil }
Registers a compliance type and other compliance details on a designated
resource.
Registers a compliance type and other compliance details on a designated resource .