Class: Aws::WorkSpaces::Types::AgentEnforcedPolicyAssociation

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb

Overview

Describes the agent-enforced policy associated with a WorkSpace, and whether the agent has applied it.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#error_code ⇒ String

The reason that the policy wasn't applied. This field is returned only when SyncStatus is FAILED because of this policy. If SyncStatus is FAILED and this field isn't returned, the failure has another cause.

Returns:

  • (String)


286
287
288
289
290
291
292
293
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 286

class AgentEnforcedPolicyAssociation < Struct.new(
  :policy_id,
  :sync_status,
  :error_code,
  :error_message)
  SENSITIVE = []
  include Aws::Structure
end

#error_message ⇒ String

A description of why the policy wasn't applied to the agent. This field is usually returned when ErrorCode is returned.

Returns:

  • (String)


286
287
288
289
290
291
292
293
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 286

class AgentEnforcedPolicyAssociation < Struct.new(
  :policy_id,
  :sync_status,
  :error_code,
  :error_message)
  SENSITIVE = []
  include Aws::Structure
end

#policy_id ⇒ String

The identifier of the policy.

Returns:

  • (String)


286
287
288
289
290
291
292
293
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 286

class AgentEnforcedPolicyAssociation < Struct.new(
  :policy_id,
  :sync_status,
  :error_code,
  :error_message)
  SENSITIVE = []
  include Aws::Structure
end

#sync_status ⇒ String

Whether the policy is applied:

  • PENDING_UPDATE – The WorkSpace hasn't confirmed the policy yet.

  • IN_SYNC – The policy is applied.

  • FAILED – The policy isn't applied.

This field isn't returned if the service can't determine the status. Don't treat a missing value as IN_SYNC.

Returns:

  • (String)


286
287
288
289
290
291
292
293
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 286

class AgentEnforcedPolicyAssociation < Struct.new(
  :policy_id,
  :sync_status,
  :error_code,
  :error_message)
  SENSITIVE = []
  include Aws::Structure
end