Class: Aws::AccountAccessRuntime::Types::CredentialsDetails
- Inherits:
-
Struct
- Object
- Struct
- Aws::AccountAccessRuntime::Types::CredentialsDetails
- Defined in:
- gems/aws-sdk-accountaccessruntime/lib/aws-sdk-accountaccessruntime/types.rb
Overview
Note:
CredentialsDetails is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of CredentialsDetails corresponding to the set member.
The temporary credentials returned for a role. Only one member is set, depending on the type of access that you requested.
Defined Under Namespace
Classes: ProgrammaticAccess, Unknown
Constant Summary collapse
- SENSITIVE =
[:programmatic_access]
Instance Attribute Summary collapse
-
#programmatic_access ⇒ Types::ProgrammaticAccessDetails
The access key credentials returned for programmatic access with the CLI or an Amazon Web Services SDK.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#programmatic_access ⇒ Types::ProgrammaticAccessDetails
The access key credentials returned for programmatic access with the CLI or an Amazon Web Services SDK.
67 68 69 70 71 72 73 74 75 76 |
# File 'gems/aws-sdk-accountaccessruntime/lib/aws-sdk-accountaccessruntime/types.rb', line 67 class CredentialsDetails < Struct.new( :programmatic_access, :unknown) SENSITIVE = [:programmatic_access] include Aws::Structure include Aws::Structure::Union class ProgrammaticAccess < CredentialsDetails; end class Unknown < CredentialsDetails; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
67 68 69 |
# File 'gems/aws-sdk-accountaccessruntime/lib/aws-sdk-accountaccessruntime/types.rb', line 67 def unknown @unknown end |