awsv1alpha1

package
v1.36.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2024 License: MIT Imports: 4 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
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 (*GetProfileForAccountAndRoleRequest) Reset

func (*GetProfileForAccountAndRoleRequest) String

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 (*GetProfileForAccountAndRoleResponse) ProtoMessage

func (*GetProfileForAccountAndRoleResponse) ProtoMessage()

func (*GetProfileForAccountAndRoleResponse) ProtoReflect

func (*GetProfileForAccountAndRoleResponse) Reset

func (*GetProfileForAccountAndRoleResponse) String

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

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

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) Descriptor() ([]byte, []int)

Deprecated: Use Profile.ProtoReflect.Descriptor instead.

func (*Profile) GetAttributes

func (x *Profile) GetAttributes() []*ProfileAttributes

func (*Profile) GetName

func (x *Profile) GetName() string

func (*Profile) ProtoMessage

func (*Profile) ProtoMessage()

func (*Profile) ProtoReflect

func (x *Profile) ProtoReflect() protoreflect.Message

func (*Profile) Reset

func (x *Profile) Reset()

func (*Profile) String

func (x *Profile) String() string

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL