Versions in this module Expand all Collapse all v1 v1.0.1 Jul 4, 2024 v1.0.0 Jul 4, 2024 Changes in this version + const ControlOperationStatusFailed + const ControlOperationStatusInProgress + const ControlOperationStatusSucceeded + const ControlOperationTypeDisableControl + const ControlOperationTypeEnableControl + const EndpointsID + const ErrCodeAccessDeniedException + const ErrCodeConflictException + const ErrCodeInternalServerException + const ErrCodeResourceNotFoundException + const ErrCodeServiceQuotaExceededException + const ErrCodeThrottlingException + const ErrCodeValidationException + const ServiceID + const ServiceName + func ControlOperationStatus_Values() []string + func ControlOperationType_Values() []string + type AccessDeniedException struct + Message_ *string + RespMetadata protocol.ResponseMetadata + func (s *AccessDeniedException) Code() string + func (s *AccessDeniedException) Error() string + func (s *AccessDeniedException) Message() string + func (s *AccessDeniedException) OrigErr() error + func (s *AccessDeniedException) RequestID() string + func (s *AccessDeniedException) StatusCode() int + func (s AccessDeniedException) GoString() string + func (s AccessDeniedException) String() string + type ConflictException struct + Message_ *string + RespMetadata protocol.ResponseMetadata + func (s *ConflictException) Code() string + func (s *ConflictException) Error() string + func (s *ConflictException) Message() string + func (s *ConflictException) OrigErr() error + func (s *ConflictException) RequestID() string + func (s *ConflictException) StatusCode() int + func (s ConflictException) GoString() string + func (s ConflictException) String() string + type ControlOperation struct + EndTime *time.Time + OperationType *string + StartTime *time.Time + Status *string + StatusMessage *string + func (s *ControlOperation) SetEndTime(v time.Time) *ControlOperation + func (s *ControlOperation) SetOperationType(v string) *ControlOperation + func (s *ControlOperation) SetStartTime(v time.Time) *ControlOperation + func (s *ControlOperation) SetStatus(v string) *ControlOperation + func (s *ControlOperation) SetStatusMessage(v string) *ControlOperation + func (s ControlOperation) GoString() string + func (s ControlOperation) String() string + type ControlTower struct + func New(p client.ConfigProvider, cfgs ...*aws.Config) *ControlTower + func (c *ControlTower) DisableControl(input *DisableControlInput) (*DisableControlOutput, error) + func (c *ControlTower) DisableControlRequest(input *DisableControlInput) (req *request.Request, output *DisableControlOutput) + func (c *ControlTower) DisableControlWithContext(ctx aws.Context, input *DisableControlInput, opts ...request.Option) (*DisableControlOutput, error) + func (c *ControlTower) EnableControl(input *EnableControlInput) (*EnableControlOutput, error) + func (c *ControlTower) EnableControlRequest(input *EnableControlInput) (req *request.Request, output *EnableControlOutput) + func (c *ControlTower) EnableControlWithContext(ctx aws.Context, input *EnableControlInput, opts ...request.Option) (*EnableControlOutput, error) + func (c *ControlTower) GetControlOperation(input *GetControlOperationInput) (*GetControlOperationOutput, error) + func (c *ControlTower) GetControlOperationRequest(input *GetControlOperationInput) (req *request.Request, output *GetControlOperationOutput) + func (c *ControlTower) GetControlOperationWithContext(ctx aws.Context, input *GetControlOperationInput, opts ...request.Option) (*GetControlOperationOutput, error) + func (c *ControlTower) ListEnabledControls(input *ListEnabledControlsInput) (*ListEnabledControlsOutput, error) + func (c *ControlTower) ListEnabledControlsPages(input *ListEnabledControlsInput, ...) error + func (c *ControlTower) ListEnabledControlsPagesWithContext(ctx aws.Context, input *ListEnabledControlsInput, ...) error + func (c *ControlTower) ListEnabledControlsRequest(input *ListEnabledControlsInput) (req *request.Request, output *ListEnabledControlsOutput) + func (c *ControlTower) ListEnabledControlsWithContext(ctx aws.Context, input *ListEnabledControlsInput, opts ...request.Option) (*ListEnabledControlsOutput, error) + type DisableControlInput struct + ControlIdentifier *string + TargetIdentifier *string + func (s *DisableControlInput) SetControlIdentifier(v string) *DisableControlInput + func (s *DisableControlInput) SetTargetIdentifier(v string) *DisableControlInput + func (s *DisableControlInput) Validate() error + func (s DisableControlInput) GoString() string + func (s DisableControlInput) String() string + type DisableControlOutput struct + OperationIdentifier *string + func (s *DisableControlOutput) SetOperationIdentifier(v string) *DisableControlOutput + func (s DisableControlOutput) GoString() string + func (s DisableControlOutput) String() string + type EnableControlInput struct + ControlIdentifier *string + TargetIdentifier *string + func (s *EnableControlInput) SetControlIdentifier(v string) *EnableControlInput + func (s *EnableControlInput) SetTargetIdentifier(v string) *EnableControlInput + func (s *EnableControlInput) Validate() error + func (s EnableControlInput) GoString() string + func (s EnableControlInput) String() string + type EnableControlOutput struct + OperationIdentifier *string + func (s *EnableControlOutput) SetOperationIdentifier(v string) *EnableControlOutput + func (s EnableControlOutput) GoString() string + func (s EnableControlOutput) String() string + type EnabledControlSummary struct + ControlIdentifier *string + func (s *EnabledControlSummary) SetControlIdentifier(v string) *EnabledControlSummary + func (s EnabledControlSummary) GoString() string + func (s EnabledControlSummary) String() string + type GetControlOperationInput struct + OperationIdentifier *string + func (s *GetControlOperationInput) SetOperationIdentifier(v string) *GetControlOperationInput + func (s *GetControlOperationInput) Validate() error + func (s GetControlOperationInput) GoString() string + func (s GetControlOperationInput) String() string + type GetControlOperationOutput struct + ControlOperation *ControlOperation + func (s *GetControlOperationOutput) SetControlOperation(v *ControlOperation) *GetControlOperationOutput + func (s GetControlOperationOutput) GoString() string + func (s GetControlOperationOutput) String() string + type InternalServerException struct + Message_ *string + RespMetadata protocol.ResponseMetadata + func (s *InternalServerException) Code() string + func (s *InternalServerException) Error() string + func (s *InternalServerException) Message() string + func (s *InternalServerException) OrigErr() error + func (s *InternalServerException) RequestID() string + func (s *InternalServerException) StatusCode() int + func (s InternalServerException) GoString() string + func (s InternalServerException) String() string + type ListEnabledControlsInput struct + MaxResults *int64 + NextToken *string + TargetIdentifier *string + func (s *ListEnabledControlsInput) SetMaxResults(v int64) *ListEnabledControlsInput + func (s *ListEnabledControlsInput) SetNextToken(v string) *ListEnabledControlsInput + func (s *ListEnabledControlsInput) SetTargetIdentifier(v string) *ListEnabledControlsInput + func (s *ListEnabledControlsInput) Validate() error + func (s ListEnabledControlsInput) GoString() string + func (s ListEnabledControlsInput) String() string + type ListEnabledControlsOutput struct + EnabledControls []*EnabledControlSummary + NextToken *string + func (s *ListEnabledControlsOutput) SetEnabledControls(v []*EnabledControlSummary) *ListEnabledControlsOutput + func (s *ListEnabledControlsOutput) SetNextToken(v string) *ListEnabledControlsOutput + func (s ListEnabledControlsOutput) GoString() string + func (s ListEnabledControlsOutput) String() string + type ResourceNotFoundException struct + Message_ *string + RespMetadata protocol.ResponseMetadata + func (s *ResourceNotFoundException) Code() string + func (s *ResourceNotFoundException) Error() string + func (s *ResourceNotFoundException) Message() string + func (s *ResourceNotFoundException) OrigErr() error + func (s *ResourceNotFoundException) RequestID() string + func (s *ResourceNotFoundException) StatusCode() int + func (s ResourceNotFoundException) GoString() string + func (s ResourceNotFoundException) String() string + type ServiceQuotaExceededException struct + Message_ *string + RespMetadata protocol.ResponseMetadata + func (s *ServiceQuotaExceededException) Code() string + func (s *ServiceQuotaExceededException) Error() string + func (s *ServiceQuotaExceededException) Message() string + func (s *ServiceQuotaExceededException) OrigErr() error + func (s *ServiceQuotaExceededException) RequestID() string + func (s *ServiceQuotaExceededException) StatusCode() int + func (s ServiceQuotaExceededException) GoString() string + func (s ServiceQuotaExceededException) String() string + type ThrottlingException struct + Message_ *string + QuotaCode *string + RespMetadata protocol.ResponseMetadata + RetryAfterSeconds *int64 + ServiceCode *string + func (s *ThrottlingException) Code() string + func (s *ThrottlingException) Error() string + func (s *ThrottlingException) Message() string + func (s *ThrottlingException) OrigErr() error + func (s *ThrottlingException) RequestID() string + func (s *ThrottlingException) StatusCode() int + func (s ThrottlingException) GoString() string + func (s ThrottlingException) String() string + type ValidationException struct + Message_ *string + RespMetadata protocol.ResponseMetadata + func (s *ValidationException) Code() string + func (s *ValidationException) Error() string + func (s *ValidationException) Message() string + func (s *ValidationException) OrigErr() error + func (s *ValidationException) RequestID() string + func (s *ValidationException) StatusCode() int + func (s ValidationException) GoString() string + func (s ValidationException) String() string