Class: Aws::WorkSpaces::Types::AgentEnforcedPolicyAssociation
- Inherits:
-
Struct
- Object
- Struct
- Aws::WorkSpaces::Types::AgentEnforcedPolicyAssociation
- 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
-
#error_code ⇒ String
The reason that the policy wasn't applied.
-
#error_message ⇒ String
A description of why the policy wasn't applied to the agent.
-
#policy_id ⇒ String
The identifier of the policy.
-
#sync_status ⇒ String
Whether the policy is applied:.
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.
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.
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.
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.
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 |