Documentation ¶
Index ¶
- Variables
- type GetProfileForAccountAndRoleRequest
- func (*GetProfileForAccountAndRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetProfileForAccountAndRoleRequest) GetAccountId() string
- func (x *GetProfileForAccountAndRoleRequest) GetAccountName() string
- func (x *GetProfileForAccountAndRoleRequest) GetRoleName() string
- func (*GetProfileForAccountAndRoleRequest) ProtoMessage()
- func (x *GetProfileForAccountAndRoleRequest) ProtoReflect() protoreflect.Message
- func (x *GetProfileForAccountAndRoleRequest) Reset()
- func (x *GetProfileForAccountAndRoleRequest) String() string
- func (m *GetProfileForAccountAndRoleRequest) Validate() error
- func (m *GetProfileForAccountAndRoleRequest) ValidateAll() error
- type GetProfileForAccountAndRoleRequestMultiError
- type GetProfileForAccountAndRoleRequestValidationError
- func (e GetProfileForAccountAndRoleRequestValidationError) Cause() error
- func (e GetProfileForAccountAndRoleRequestValidationError) Error() string
- func (e GetProfileForAccountAndRoleRequestValidationError) ErrorName() string
- func (e GetProfileForAccountAndRoleRequestValidationError) Field() string
- func (e GetProfileForAccountAndRoleRequestValidationError) Key() bool
- func (e GetProfileForAccountAndRoleRequestValidationError) Reason() string
- type GetProfileForAccountAndRoleResponse
- func (*GetProfileForAccountAndRoleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetProfileForAccountAndRoleResponse) GetProfile() *Profile
- func (*GetProfileForAccountAndRoleResponse) ProtoMessage()
- func (x *GetProfileForAccountAndRoleResponse) ProtoReflect() protoreflect.Message
- func (x *GetProfileForAccountAndRoleResponse) Reset()
- func (x *GetProfileForAccountAndRoleResponse) String() string
- func (m *GetProfileForAccountAndRoleResponse) Validate() error
- func (m *GetProfileForAccountAndRoleResponse) ValidateAll() error
- type GetProfileForAccountAndRoleResponseMultiError
- type GetProfileForAccountAndRoleResponseValidationError
- func (e GetProfileForAccountAndRoleResponseValidationError) Cause() error
- func (e GetProfileForAccountAndRoleResponseValidationError) Error() string
- func (e GetProfileForAccountAndRoleResponseValidationError) ErrorName() string
- func (e GetProfileForAccountAndRoleResponseValidationError) Field() string
- func (e GetProfileForAccountAndRoleResponseValidationError) Key() bool
- func (e GetProfileForAccountAndRoleResponseValidationError) Reason() string
- type ListProfilesRequest
- func (*ListProfilesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListProfilesRequest) GetPageToken() string
- func (*ListProfilesRequest) ProtoMessage()
- func (x *ListProfilesRequest) ProtoReflect() protoreflect.Message
- func (x *ListProfilesRequest) Reset()
- func (x *ListProfilesRequest) String() string
- func (m *ListProfilesRequest) Validate() error
- func (m *ListProfilesRequest) ValidateAll() error
- type ListProfilesRequestMultiError
- type ListProfilesRequestValidationError
- func (e ListProfilesRequestValidationError) Cause() error
- func (e ListProfilesRequestValidationError) Error() string
- func (e ListProfilesRequestValidationError) ErrorName() string
- func (e ListProfilesRequestValidationError) Field() string
- func (e ListProfilesRequestValidationError) Key() bool
- func (e ListProfilesRequestValidationError) Reason() string
- type ListProfilesResponse
- func (*ListProfilesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListProfilesResponse) GetNextPageToken() string
- func (x *ListProfilesResponse) GetProfiles() []*Profile
- func (*ListProfilesResponse) ProtoMessage()
- func (x *ListProfilesResponse) ProtoReflect() protoreflect.Message
- func (x *ListProfilesResponse) Reset()
- func (x *ListProfilesResponse) String() string
- func (m *ListProfilesResponse) Validate() error
- func (m *ListProfilesResponse) ValidateAll() error
- type ListProfilesResponseMultiError
- type ListProfilesResponseValidationError
- func (e ListProfilesResponseValidationError) Cause() error
- func (e ListProfilesResponseValidationError) Error() string
- func (e ListProfilesResponseValidationError) ErrorName() string
- func (e ListProfilesResponseValidationError) Field() string
- func (e ListProfilesResponseValidationError) Key() bool
- func (e ListProfilesResponseValidationError) Reason() string
- type Profile
- func (*Profile) Descriptor() ([]byte, []int)deprecated
- func (x *Profile) GetAttributes() []*ProfileAttributes
- func (x *Profile) GetName() string
- func (*Profile) ProtoMessage()
- func (x *Profile) ProtoReflect() protoreflect.Message
- func (x *Profile) Reset()
- func (x *Profile) String() string
- func (m *Profile) Validate() error
- func (m *Profile) ValidateAll() error
- type ProfileAttributes
- func (*ProfileAttributes) Descriptor() ([]byte, []int)deprecated
- func (x *ProfileAttributes) GetKey() string
- func (x *ProfileAttributes) GetValue() string
- func (*ProfileAttributes) ProtoMessage()
- func (x *ProfileAttributes) ProtoReflect() protoreflect.Message
- func (x *ProfileAttributes) Reset()
- func (x *ProfileAttributes) String() string
- func (m *ProfileAttributes) Validate() error
- func (m *ProfileAttributes) ValidateAll() error
- type ProfileAttributesMultiError
- type ProfileAttributesValidationError
- func (e ProfileAttributesValidationError) Cause() error
- func (e ProfileAttributesValidationError) Error() string
- func (e ProfileAttributesValidationError) ErrorName() string
- func (e ProfileAttributesValidationError) Field() string
- func (e ProfileAttributesValidationError) Key() bool
- func (e ProfileAttributesValidationError) Reason() string
- type ProfileMultiError
- type ProfileValidationError
Constants ¶
This section is empty.
Variables ¶
var File_granted_registry_aws_v1alpha1_aws_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type GetProfileForAccountAndRoleRequest ¶
type GetProfileForAccountAndRoleRequest struct { // The ID of the AWS account, e.g. '123456789012'. // // Clients may specify the account ID or the account name // to indicate which account to obtain a profile for. // // If both fields are provided, the server should use the account ID. AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // The name of the AWS account. // // Clients may specify the account ID or the account name // to indicate which account to obtain a profile for. // // If both fields are provided, the server should use the account ID. // // A profile registry server MAY reject requests containing // only the account name, if the server does not have the capability // to look up accounts based on their name. In this case, // Profile Registry clients should show an error to the user indicating // that the ID must be specified instead. AccountName string `protobuf:"bytes,2,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` // The name of the role, e.g. 'ViewOnlyAccess'. RoleName string `protobuf:"bytes,3,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"` // contains filtered or unexported fields }
func (*GetProfileForAccountAndRoleRequest) Descriptor
deprecated
func (*GetProfileForAccountAndRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProfileForAccountAndRoleRequest.ProtoReflect.Descriptor instead.
func (*GetProfileForAccountAndRoleRequest) GetAccountId ¶
func (x *GetProfileForAccountAndRoleRequest) GetAccountId() string
func (*GetProfileForAccountAndRoleRequest) GetAccountName ¶
func (x *GetProfileForAccountAndRoleRequest) GetAccountName() string
func (*GetProfileForAccountAndRoleRequest) GetRoleName ¶
func (x *GetProfileForAccountAndRoleRequest) GetRoleName() string
func (*GetProfileForAccountAndRoleRequest) ProtoMessage ¶
func (*GetProfileForAccountAndRoleRequest) ProtoMessage()
func (*GetProfileForAccountAndRoleRequest) ProtoReflect ¶
func (x *GetProfileForAccountAndRoleRequest) ProtoReflect() protoreflect.Message
func (*GetProfileForAccountAndRoleRequest) Reset ¶
func (x *GetProfileForAccountAndRoleRequest) Reset()
func (*GetProfileForAccountAndRoleRequest) String ¶
func (x *GetProfileForAccountAndRoleRequest) String() string
func (*GetProfileForAccountAndRoleRequest) Validate ¶ added in v1.32.1
func (m *GetProfileForAccountAndRoleRequest) Validate() error
Validate checks the field values on GetProfileForAccountAndRoleRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetProfileForAccountAndRoleRequest) ValidateAll ¶ added in v1.32.1
func (m *GetProfileForAccountAndRoleRequest) ValidateAll() error
ValidateAll checks the field values on GetProfileForAccountAndRoleRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetProfileForAccountAndRoleRequestMultiError, or nil if none found.
type GetProfileForAccountAndRoleRequestMultiError ¶ added in v1.32.1
type GetProfileForAccountAndRoleRequestMultiError []error
GetProfileForAccountAndRoleRequestMultiError is an error wrapping multiple validation errors returned by GetProfileForAccountAndRoleRequest.ValidateAll() if the designated constraints aren't met.
func (GetProfileForAccountAndRoleRequestMultiError) AllErrors ¶ added in v1.32.1
func (m GetProfileForAccountAndRoleRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetProfileForAccountAndRoleRequestMultiError) Error ¶ added in v1.32.1
func (m GetProfileForAccountAndRoleRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetProfileForAccountAndRoleRequestValidationError ¶ added in v1.32.1
type GetProfileForAccountAndRoleRequestValidationError struct {
// contains filtered or unexported fields
}
GetProfileForAccountAndRoleRequestValidationError is the validation error returned by GetProfileForAccountAndRoleRequest.Validate if the designated constraints aren't met.
func (GetProfileForAccountAndRoleRequestValidationError) Cause ¶ added in v1.32.1
func (e GetProfileForAccountAndRoleRequestValidationError) Cause() error
Cause function returns cause value.
func (GetProfileForAccountAndRoleRequestValidationError) Error ¶ added in v1.32.1
func (e GetProfileForAccountAndRoleRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetProfileForAccountAndRoleRequestValidationError) ErrorName ¶ added in v1.32.1
func (e GetProfileForAccountAndRoleRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetProfileForAccountAndRoleRequestValidationError) Field ¶ added in v1.32.1
func (e GetProfileForAccountAndRoleRequestValidationError) Field() string
Field function returns field value.
func (GetProfileForAccountAndRoleRequestValidationError) Key ¶ added in v1.32.1
func (e GetProfileForAccountAndRoleRequestValidationError) Key() bool
Key function returns key value.
func (GetProfileForAccountAndRoleRequestValidationError) Reason ¶ added in v1.32.1
func (e GetProfileForAccountAndRoleRequestValidationError) Reason() string
Reason function returns reason value.
type GetProfileForAccountAndRoleResponse ¶
type GetProfileForAccountAndRoleResponse struct { // The profile matching the requested account and role combination. Profile *Profile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"` // contains filtered or unexported fields }
func (*GetProfileForAccountAndRoleResponse) Descriptor
deprecated
func (*GetProfileForAccountAndRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetProfileForAccountAndRoleResponse.ProtoReflect.Descriptor instead.
func (*GetProfileForAccountAndRoleResponse) GetProfile ¶
func (x *GetProfileForAccountAndRoleResponse) GetProfile() *Profile
func (*GetProfileForAccountAndRoleResponse) ProtoMessage ¶
func (*GetProfileForAccountAndRoleResponse) ProtoMessage()
func (*GetProfileForAccountAndRoleResponse) ProtoReflect ¶
func (x *GetProfileForAccountAndRoleResponse) ProtoReflect() protoreflect.Message
func (*GetProfileForAccountAndRoleResponse) Reset ¶
func (x *GetProfileForAccountAndRoleResponse) Reset()
func (*GetProfileForAccountAndRoleResponse) String ¶
func (x *GetProfileForAccountAndRoleResponse) String() string
func (*GetProfileForAccountAndRoleResponse) Validate ¶ added in v1.32.1
func (m *GetProfileForAccountAndRoleResponse) Validate() error
Validate checks the field values on GetProfileForAccountAndRoleResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetProfileForAccountAndRoleResponse) ValidateAll ¶ added in v1.32.1
func (m *GetProfileForAccountAndRoleResponse) ValidateAll() error
ValidateAll checks the field values on GetProfileForAccountAndRoleResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetProfileForAccountAndRoleResponseMultiError, or nil if none found.
type GetProfileForAccountAndRoleResponseMultiError ¶ added in v1.32.1
type GetProfileForAccountAndRoleResponseMultiError []error
GetProfileForAccountAndRoleResponseMultiError is an error wrapping multiple validation errors returned by GetProfileForAccountAndRoleResponse.ValidateAll() if the designated constraints aren't met.
func (GetProfileForAccountAndRoleResponseMultiError) AllErrors ¶ added in v1.32.1
func (m GetProfileForAccountAndRoleResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetProfileForAccountAndRoleResponseMultiError) Error ¶ added in v1.32.1
func (m GetProfileForAccountAndRoleResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetProfileForAccountAndRoleResponseValidationError ¶ added in v1.32.1
type GetProfileForAccountAndRoleResponseValidationError struct {
// contains filtered or unexported fields
}
GetProfileForAccountAndRoleResponseValidationError is the validation error returned by GetProfileForAccountAndRoleResponse.Validate if the designated constraints aren't met.
func (GetProfileForAccountAndRoleResponseValidationError) Cause ¶ added in v1.32.1
func (e GetProfileForAccountAndRoleResponseValidationError) Cause() error
Cause function returns cause value.
func (GetProfileForAccountAndRoleResponseValidationError) Error ¶ added in v1.32.1
func (e GetProfileForAccountAndRoleResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetProfileForAccountAndRoleResponseValidationError) ErrorName ¶ added in v1.32.1
func (e GetProfileForAccountAndRoleResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetProfileForAccountAndRoleResponseValidationError) Field ¶ added in v1.32.1
func (e GetProfileForAccountAndRoleResponseValidationError) Field() string
Field function returns field value.
func (GetProfileForAccountAndRoleResponseValidationError) Key ¶ added in v1.32.1
func (e GetProfileForAccountAndRoleResponseValidationError) Key() bool
Key function returns key value.
func (GetProfileForAccountAndRoleResponseValidationError) Reason ¶ added in v1.32.1
func (e GetProfileForAccountAndRoleResponseValidationError) Reason() string
Reason function returns reason value.
type ListProfilesRequest ¶
type ListProfilesRequest struct { // A token to use for pagination. // You can obtain a token from 'ListProfilesResponse' // by taking the 'next_page_token'. PageToken string `protobuf:"bytes,1,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListProfilesRequest) Descriptor
deprecated
func (*ListProfilesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListProfilesRequest.ProtoReflect.Descriptor instead.
func (*ListProfilesRequest) GetPageToken ¶
func (x *ListProfilesRequest) GetPageToken() string
func (*ListProfilesRequest) ProtoMessage ¶
func (*ListProfilesRequest) ProtoMessage()
func (*ListProfilesRequest) ProtoReflect ¶
func (x *ListProfilesRequest) ProtoReflect() protoreflect.Message
func (*ListProfilesRequest) Reset ¶
func (x *ListProfilesRequest) Reset()
func (*ListProfilesRequest) String ¶
func (x *ListProfilesRequest) String() string
func (*ListProfilesRequest) Validate ¶ added in v1.32.1
func (m *ListProfilesRequest) Validate() error
Validate checks the field values on ListProfilesRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListProfilesRequest) ValidateAll ¶ added in v1.32.1
func (m *ListProfilesRequest) ValidateAll() error
ValidateAll checks the field values on ListProfilesRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListProfilesRequestMultiError, or nil if none found.
type ListProfilesRequestMultiError ¶ added in v1.32.1
type ListProfilesRequestMultiError []error
ListProfilesRequestMultiError is an error wrapping multiple validation errors returned by ListProfilesRequest.ValidateAll() if the designated constraints aren't met.
func (ListProfilesRequestMultiError) AllErrors ¶ added in v1.32.1
func (m ListProfilesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListProfilesRequestMultiError) Error ¶ added in v1.32.1
func (m ListProfilesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListProfilesRequestValidationError ¶ added in v1.32.1
type ListProfilesRequestValidationError struct {
// contains filtered or unexported fields
}
ListProfilesRequestValidationError is the validation error returned by ListProfilesRequest.Validate if the designated constraints aren't met.
func (ListProfilesRequestValidationError) Cause ¶ added in v1.32.1
func (e ListProfilesRequestValidationError) Cause() error
Cause function returns cause value.
func (ListProfilesRequestValidationError) Error ¶ added in v1.32.1
func (e ListProfilesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListProfilesRequestValidationError) ErrorName ¶ added in v1.32.1
func (e ListProfilesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListProfilesRequestValidationError) Field ¶ added in v1.32.1
func (e ListProfilesRequestValidationError) Field() string
Field function returns field value.
func (ListProfilesRequestValidationError) Key ¶ added in v1.32.1
func (e ListProfilesRequestValidationError) Key() bool
Key function returns key value.
func (ListProfilesRequestValidationError) Reason ¶ added in v1.32.1
func (e ListProfilesRequestValidationError) Reason() string
Reason function returns reason value.
type ListProfilesResponse ¶
type ListProfilesResponse struct { // A list of available profiles. Profiles []*Profile `protobuf:"bytes,1,rep,name=profiles,proto3" json:"profiles,omitempty"` // The token to use to fetch the next page. // Will be empty if there is no next page. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListProfilesResponse) Descriptor
deprecated
func (*ListProfilesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListProfilesResponse.ProtoReflect.Descriptor instead.
func (*ListProfilesResponse) GetNextPageToken ¶
func (x *ListProfilesResponse) GetNextPageToken() string
func (*ListProfilesResponse) GetProfiles ¶
func (x *ListProfilesResponse) GetProfiles() []*Profile
func (*ListProfilesResponse) ProtoMessage ¶
func (*ListProfilesResponse) ProtoMessage()
func (*ListProfilesResponse) ProtoReflect ¶
func (x *ListProfilesResponse) ProtoReflect() protoreflect.Message
func (*ListProfilesResponse) Reset ¶
func (x *ListProfilesResponse) Reset()
func (*ListProfilesResponse) String ¶
func (x *ListProfilesResponse) String() string
func (*ListProfilesResponse) Validate ¶ added in v1.32.1
func (m *ListProfilesResponse) Validate() error
Validate checks the field values on ListProfilesResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListProfilesResponse) ValidateAll ¶ added in v1.32.1
func (m *ListProfilesResponse) ValidateAll() error
ValidateAll checks the field values on ListProfilesResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListProfilesResponseMultiError, or nil if none found.
type ListProfilesResponseMultiError ¶ added in v1.32.1
type ListProfilesResponseMultiError []error
ListProfilesResponseMultiError is an error wrapping multiple validation errors returned by ListProfilesResponse.ValidateAll() if the designated constraints aren't met.
func (ListProfilesResponseMultiError) AllErrors ¶ added in v1.32.1
func (m ListProfilesResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListProfilesResponseMultiError) Error ¶ added in v1.32.1
func (m ListProfilesResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListProfilesResponseValidationError ¶ added in v1.32.1
type ListProfilesResponseValidationError struct {
// contains filtered or unexported fields
}
ListProfilesResponseValidationError is the validation error returned by ListProfilesResponse.Validate if the designated constraints aren't met.
func (ListProfilesResponseValidationError) Cause ¶ added in v1.32.1
func (e ListProfilesResponseValidationError) Cause() error
Cause function returns cause value.
func (ListProfilesResponseValidationError) Error ¶ added in v1.32.1
func (e ListProfilesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListProfilesResponseValidationError) ErrorName ¶ added in v1.32.1
func (e ListProfilesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListProfilesResponseValidationError) Field ¶ added in v1.32.1
func (e ListProfilesResponseValidationError) Field() string
Field function returns field value.
func (ListProfilesResponseValidationError) Key ¶ added in v1.32.1
func (e ListProfilesResponseValidationError) Key() bool
Key function returns key value.
func (ListProfilesResponseValidationError) Reason ¶ added in v1.32.1
func (e ListProfilesResponseValidationError) Reason() string
Reason function returns reason value.
type Profile ¶
type Profile struct { // The proposed name for the profile. // If the name conflicts with an existing profile, // a client may override this name or add a prefix to it. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Attributes associated with the profile. Attributes []*ProfileAttributes `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty"` // contains filtered or unexported fields }
An AWS profile. By default, these are stored in ~/.aws/config.
For example:
``` [profile dev] granted_sso_start_url = https://d-12345abcdef.awsapps.com/start granted_sso_region = us-east-1 granted_sso_account_id = 123456789012 granted_sso_role_name = AWSAdministratorAccess ```
func (*Profile) Descriptor
deprecated
func (*Profile) GetAttributes ¶
func (x *Profile) GetAttributes() []*ProfileAttributes
func (*Profile) ProtoMessage ¶
func (*Profile) ProtoMessage()
func (*Profile) ProtoReflect ¶
func (x *Profile) ProtoReflect() protoreflect.Message
func (*Profile) Validate ¶ added in v1.32.1
Validate checks the field values on Profile with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Profile) ValidateAll ¶ added in v1.32.1
ValidateAll checks the field values on Profile with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProfileMultiError, or nil if none found.
type ProfileAttributes ¶
type ProfileAttributes struct { // The attribute key. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // The attribute value. Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Attributes on a profile. These are the individual key/value pairs, such as 'granted_sso_region = us-east-1'.
Profile attributes are not authoritative and clients may override these or add additional attributes as required. For example, a 'region' attribute may be overridden by a user, or the 'credential_process' attribute may be overridden to specify a particular credential process binary path.
func (*ProfileAttributes) Descriptor
deprecated
func (*ProfileAttributes) Descriptor() ([]byte, []int)
Deprecated: Use ProfileAttributes.ProtoReflect.Descriptor instead.
func (*ProfileAttributes) GetKey ¶
func (x *ProfileAttributes) GetKey() string
func (*ProfileAttributes) GetValue ¶
func (x *ProfileAttributes) GetValue() string
func (*ProfileAttributes) ProtoMessage ¶
func (*ProfileAttributes) ProtoMessage()
func (*ProfileAttributes) ProtoReflect ¶
func (x *ProfileAttributes) ProtoReflect() protoreflect.Message
func (*ProfileAttributes) Reset ¶
func (x *ProfileAttributes) Reset()
func (*ProfileAttributes) String ¶
func (x *ProfileAttributes) String() string
func (*ProfileAttributes) Validate ¶ added in v1.32.1
func (m *ProfileAttributes) Validate() error
Validate checks the field values on ProfileAttributes with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ProfileAttributes) ValidateAll ¶ added in v1.32.1
func (m *ProfileAttributes) ValidateAll() error
ValidateAll checks the field values on ProfileAttributes with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProfileAttributesMultiError, or nil if none found.
type ProfileAttributesMultiError ¶ added in v1.32.1
type ProfileAttributesMultiError []error
ProfileAttributesMultiError is an error wrapping multiple validation errors returned by ProfileAttributes.ValidateAll() if the designated constraints aren't met.
func (ProfileAttributesMultiError) AllErrors ¶ added in v1.32.1
func (m ProfileAttributesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProfileAttributesMultiError) Error ¶ added in v1.32.1
func (m ProfileAttributesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProfileAttributesValidationError ¶ added in v1.32.1
type ProfileAttributesValidationError struct {
// contains filtered or unexported fields
}
ProfileAttributesValidationError is the validation error returned by ProfileAttributes.Validate if the designated constraints aren't met.
func (ProfileAttributesValidationError) Cause ¶ added in v1.32.1
func (e ProfileAttributesValidationError) Cause() error
Cause function returns cause value.
func (ProfileAttributesValidationError) Error ¶ added in v1.32.1
func (e ProfileAttributesValidationError) Error() string
Error satisfies the builtin error interface
func (ProfileAttributesValidationError) ErrorName ¶ added in v1.32.1
func (e ProfileAttributesValidationError) ErrorName() string
ErrorName returns error name.
func (ProfileAttributesValidationError) Field ¶ added in v1.32.1
func (e ProfileAttributesValidationError) Field() string
Field function returns field value.
func (ProfileAttributesValidationError) Key ¶ added in v1.32.1
func (e ProfileAttributesValidationError) Key() bool
Key function returns key value.
func (ProfileAttributesValidationError) Reason ¶ added in v1.32.1
func (e ProfileAttributesValidationError) Reason() string
Reason function returns reason value.
type ProfileMultiError ¶ added in v1.32.1
type ProfileMultiError []error
ProfileMultiError is an error wrapping multiple validation errors returned by Profile.ValidateAll() if the designated constraints aren't met.
func (ProfileMultiError) AllErrors ¶ added in v1.32.1
func (m ProfileMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProfileMultiError) Error ¶ added in v1.32.1
func (m ProfileMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProfileValidationError ¶ added in v1.32.1
type ProfileValidationError struct {
// contains filtered or unexported fields
}
ProfileValidationError is the validation error returned by Profile.Validate if the designated constraints aren't met.
func (ProfileValidationError) Cause ¶ added in v1.32.1
func (e ProfileValidationError) Cause() error
Cause function returns cause value.
func (ProfileValidationError) Error ¶ added in v1.32.1
func (e ProfileValidationError) Error() string
Error satisfies the builtin error interface
func (ProfileValidationError) ErrorName ¶ added in v1.32.1
func (e ProfileValidationError) ErrorName() string
ErrorName returns error name.
func (ProfileValidationError) Field ¶ added in v1.32.1
func (e ProfileValidationError) Field() string
Field function returns field value.
func (ProfileValidationError) Key ¶ added in v1.32.1
func (e ProfileValidationError) Key() bool
Key function returns key value.
func (ProfileValidationError) Reason ¶ added in v1.32.1
func (e ProfileValidationError) Reason() string
Reason function returns reason value.