diff --git a/.changelog/2e24ccc8b3ae47739983077df22dbec5.json b/.changelog/2e24ccc8b3ae47739983077df22dbec5.json new file mode 100644 index 00000000000..b2a0215b81d --- /dev/null +++ b/.changelog/2e24ccc8b3ae47739983077df22dbec5.json @@ -0,0 +1,8 @@ +{ + "id": "2e24ccc8-b3ae-4773-9983-077df22dbec5", + "type": "documentation", + "description": "Removal of the Ropsten network. The Ethereum foundation ceased support of Ropsten on December 31st, 2022..", + "modules": [ + "service/managedblockchain" + ] +} \ No newline at end of file diff --git a/.changelog/f4f6e12d55594001a8b47b9dae047f08.json b/.changelog/f4f6e12d55594001a8b47b9dae047f08.json new file mode 100644 index 00000000000..abe06e6b2c6 --- /dev/null +++ b/.changelog/f4f6e12d55594001a8b47b9dae047f08.json @@ -0,0 +1,8 @@ +{ + "id": "f4f6e12d-5559-4001-a8b4-7b9dae047f08", + "type": "feature", + "description": "AWS Ground Station Wideband DigIF GA Release", + "modules": [ + "service/groundstation" + ] +} \ No newline at end of file diff --git a/service/appsync/internal/endpoints/endpoints.go b/service/appsync/internal/endpoints/endpoints.go index 8509ceb68cc..eafdf29cd0b 100644 --- a/service/appsync/internal/endpoints/endpoints.go +++ b/service/appsync/internal/endpoints/endpoints.go @@ -153,6 +153,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "ap-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-south-2", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "ap-southeast-1", }: endpoints.Endpoint{}, @@ -168,12 +171,18 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "eu-central-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-central-2", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "eu-north-1", }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "eu-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-south-2", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "eu-west-1", }: endpoints.Endpoint{}, @@ -183,6 +192,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "eu-west-3", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "me-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, diff --git a/service/groundstation/api_op_CreateDataflowEndpointGroup.go b/service/groundstation/api_op_CreateDataflowEndpointGroup.go index bce8df01a6e..124e553dbfb 100644 --- a/service/groundstation/api_op_CreateDataflowEndpointGroup.go +++ b/service/groundstation/api_op_CreateDataflowEndpointGroup.go @@ -38,14 +38,16 @@ type CreateDataflowEndpointGroupInput struct { // This member is required. EndpointDetails []types.EndpointDetails - // Amount of time, in seconds, after a contact ends for the contact to remain in a - // POSTPASS state. A CloudWatch event is emitted when the contact enters and exits - // the POSTPASS state. + // Amount of time, in seconds, after a contact ends that the Ground Station + // Dataflow Endpoint Group will be in a POSTPASS state. A Ground Station Dataflow + // Endpoint Group State Change event will be emitted when the Dataflow Endpoint + // Group enters and exits the POSTPASS state. ContactPostPassDurationSeconds *int32 - // Amount of time, in seconds, prior to contact start for the contact to remain in - // a PREPASS state. A CloudWatch event is emitted when the contact enters and - // exits the PREPASS state. + // Amount of time, in seconds, before a contact starts that the Ground Station + // Dataflow Endpoint Group will be in a PREPASS state. A Ground Station Dataflow + // Endpoint Group State Change event will be emitted when the Dataflow Endpoint + // Group enters and exits the PREPASS state. ContactPrePassDurationSeconds *int32 // Tags of a dataflow endpoint group. diff --git a/service/groundstation/api_op_GetAgentConfiguration.go b/service/groundstation/api_op_GetAgentConfiguration.go index d7ce738780d..46e34423f21 100644 --- a/service/groundstation/api_op_GetAgentConfiguration.go +++ b/service/groundstation/api_op_GetAgentConfiguration.go @@ -10,7 +10,8 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Gets the latest configuration information for a registered agent. +// For use by AWS Ground Station Agent and shouldn't be called directly. Gets the +// latest configuration information for a registered agent. func (c *Client) GetAgentConfiguration(ctx context.Context, params *GetAgentConfigurationInput, optFns ...func(*Options)) (*GetAgentConfigurationOutput, error) { if params == nil { params = &GetAgentConfigurationInput{} diff --git a/service/groundstation/api_op_GetDataflowEndpointGroup.go b/service/groundstation/api_op_GetDataflowEndpointGroup.go index 08afa70caa9..73e8ebc821d 100644 --- a/service/groundstation/api_op_GetDataflowEndpointGroup.go +++ b/service/groundstation/api_op_GetDataflowEndpointGroup.go @@ -39,14 +39,16 @@ type GetDataflowEndpointGroupInput struct { type GetDataflowEndpointGroupOutput struct { - // Amount of time, in seconds, after a contact ends for the contact to remain in a - // POSTPASS state. A CloudWatch event is emitted when the contact enters and exits - // the POSTPASS state. + // Amount of time, in seconds, after a contact ends that the Ground Station + // Dataflow Endpoint Group will be in a POSTPASS state. A Ground Station Dataflow + // Endpoint Group State Change event will be emitted when the Dataflow Endpoint + // Group enters and exits the POSTPASS state. ContactPostPassDurationSeconds *int32 - // Amount of time, in seconds, prior to contact start for the contact to remain in - // a PREPASS state. A CloudWatch event is emitted when the contact enters and - // exits the PREPASS state. + // Amount of time, in seconds, before a contact starts that the Ground Station + // Dataflow Endpoint Group will be in a PREPASS state. A Ground Station Dataflow + // Endpoint Group State Change event will be emitted when the Dataflow Endpoint + // Group enters and exits the PREPASS state. ContactPrePassDurationSeconds *int32 // ARN of a dataflow endpoint group. diff --git a/service/groundstation/api_op_RegisterAgent.go b/service/groundstation/api_op_RegisterAgent.go index c7e1476b175..1317bf08396 100644 --- a/service/groundstation/api_op_RegisterAgent.go +++ b/service/groundstation/api_op_RegisterAgent.go @@ -11,7 +11,8 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Registers a new agent with AWS Groundstation. +// For use by AWS Ground Station Agent and shouldn't be called directly. Registers +// a new agent with AWS Ground Station. func (c *Client) RegisterAgent(ctx context.Context, params *RegisterAgentInput, optFns ...func(*Options)) (*RegisterAgentOutput, error) { if params == nil { params = &RegisterAgentInput{} @@ -34,7 +35,7 @@ type RegisterAgentInput struct { // This member is required. AgentDetails *types.AgentDetails - // Data for associating and agent with the capabilities it is managing. + // Data for associating an agent with the capabilities it is managing. // // This member is required. DiscoveryData *types.DiscoveryData diff --git a/service/groundstation/api_op_UpdateAgentStatus.go b/service/groundstation/api_op_UpdateAgentStatus.go index c7754a81056..b0623d584ef 100644 --- a/service/groundstation/api_op_UpdateAgentStatus.go +++ b/service/groundstation/api_op_UpdateAgentStatus.go @@ -11,7 +11,8 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Update the status of the agent. +// For use by AWS Ground Station Agent and shouldn't be called directly. Update +// the status of the agent. func (c *Client) UpdateAgentStatus(ctx context.Context, params *UpdateAgentStatusInput, optFns ...func(*Options)) (*UpdateAgentStatusOutput, error) { if params == nil { params = &UpdateAgentStatusInput{} diff --git a/service/groundstation/deserializers.go b/service/groundstation/deserializers.go index 527976a2afd..35d69490e3f 100644 --- a/service/groundstation/deserializers.go +++ b/service/groundstation/deserializers.go @@ -6028,6 +6028,42 @@ func awsRestjson1_deserializeDocumentAwsGroundStationAgentEndpoint(v **types.Aws return nil } +func awsRestjson1_deserializeDocumentCapabilityHealthReasonList(v *[]types.CapabilityHealthReason, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.CapabilityHealthReason + if *v == nil { + cv = []types.CapabilityHealthReason{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.CapabilityHealthReason + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected CapabilityHealthReason to be of type string, got %T instead", value) + } + col = types.CapabilityHealthReason(jtv) + } + cv = append(cv, col) + + } + *v = cv + return nil +} + func awsRestjson1_deserializeDocumentConfigDetails(v *types.ConfigDetails, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -7263,6 +7299,20 @@ func awsRestjson1_deserializeDocumentEndpointDetails(v **types.EndpointDetails, return err } + case "healthReasons": + if err := awsRestjson1_deserializeDocumentCapabilityHealthReasonList(&sv.HealthReasons, value); err != nil { + return err + } + + case "healthStatus": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected CapabilityHealth to be of type string, got %T instead", value) + } + sv.HealthStatus = types.CapabilityHealth(jtv) + } + case "securityDetails": if err := awsRestjson1_deserializeDocumentSecurityDetails(&sv.SecurityDetails, value); err != nil { return err diff --git a/service/groundstation/serializers.go b/service/groundstation/serializers.go index be6018a9371..010d413ff4f 100644 --- a/service/groundstation/serializers.go +++ b/service/groundstation/serializers.go @@ -2464,10 +2464,28 @@ func awsRestjson1_serializeOpDocumentUpdateMissionProfileInput(v *UpdateMissionP return nil } +func awsRestjson1_serializeDocumentAgentCpuCoresList(v []int32, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + av.Integer(v[i]) + } + return nil +} + func awsRestjson1_serializeDocumentAgentDetails(v *types.AgentDetails, value smithyjson.Value) error { object := value.Object() defer object.Close() + if v.AgentCpuCores != nil { + ok := object.Key("agentCpuCores") + if err := awsRestjson1_serializeDocumentAgentCpuCoresList(v.AgentCpuCores, ok); err != nil { + return err + } + } + if v.AgentVersion != nil { ok := object.Key("agentVersion") ok.String(*v.AgentVersion) @@ -2492,7 +2510,7 @@ func awsRestjson1_serializeDocumentAgentDetails(v *types.AgentDetails, value smi if v.ReservedCpuCores != nil { ok := object.Key("reservedCpuCores") - if err := awsRestjson1_serializeDocumentReservedCpuCoresList(v.ReservedCpuCores, ok); err != nil { + if err := awsRestjson1_serializeDocumentAgentCpuCoresList(v.ReservedCpuCores, ok); err != nil { return err } } @@ -2634,6 +2652,17 @@ func awsRestjson1_serializeDocumentCapabilityArnList(v []string, value smithyjso return nil } +func awsRestjson1_serializeDocumentCapabilityHealthReasonList(v []types.CapabilityHealthReason, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + av.String(string(v[i])) + } + return nil +} + func awsRestjson1_serializeDocumentComponentStatusData(v *types.ComponentStatusData, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -2653,9 +2682,9 @@ func awsRestjson1_serializeDocumentComponentStatusData(v *types.ComponentStatusD ok.String(*v.CapabilityArn) } - if len(v.ComponentType) > 0 { + if v.ComponentType != nil { ok := object.Key("componentType") - ok.String(string(v.ComponentType)) + ok.String(*v.ComponentType) } if v.DataflowId != nil { @@ -2693,9 +2722,9 @@ func awsRestjson1_serializeDocumentComponentVersion(v *types.ComponentVersion, v object := value.Object() defer object.Close() - if len(v.ComponentType) > 0 { + if v.ComponentType != nil { ok := object.Key("componentType") - ok.String(string(v.ComponentType)) + ok.String(*v.ComponentType) } if v.Versions != nil { @@ -2967,6 +2996,18 @@ func awsRestjson1_serializeDocumentEndpointDetails(v *types.EndpointDetails, val } } + if v.HealthReasons != nil { + ok := object.Key("healthReasons") + if err := awsRestjson1_serializeDocumentCapabilityHealthReasonList(v.HealthReasons, ok); err != nil { + return err + } + } + + if len(v.HealthStatus) > 0 { + ok := object.Key("healthStatus") + ok.String(string(v.HealthStatus)) + } + if v.SecurityDetails != nil { ok := object.Key("securityDetails") if err := awsRestjson1_serializeDocumentSecurityDetails(v.SecurityDetails, ok); err != nil { @@ -3190,17 +3231,6 @@ func awsRestjson1_serializeDocumentRangedSocketAddress(v *types.RangedSocketAddr return nil } -func awsRestjson1_serializeDocumentReservedCpuCoresList(v []int32, value smithyjson.Value) error { - array := value.Array() - defer array.Close() - - for i := range v { - av := array.Value() - av.Integer(v[i]) - } - return nil -} - func awsRestjson1_serializeDocumentS3Object(v *types.S3Object, value smithyjson.Value) error { object := value.Object() defer object.Close() diff --git a/service/groundstation/types/enums.go b/service/groundstation/types/enums.go index 974ab841628..ab81e702e53 100644 --- a/service/groundstation/types/enums.go +++ b/service/groundstation/types/enums.go @@ -80,23 +80,49 @@ func (BandwidthUnits) Values() []BandwidthUnits { } } -type ComponentType string +type CapabilityHealth string -// Enum values for ComponentType +// Enum values for CapabilityHealth const ( - ComponentTypeLaminarFlow ComponentType = "LAMINAR_FLOW" - ComponentTypePrism ComponentType = "PRISM" - ComponentTypeDigitizer ComponentType = "DIGITIZER" + CapabilityHealthUnhealthy CapabilityHealth = "UNHEALTHY" + CapabilityHealthHealthy CapabilityHealth = "HEALTHY" ) -// Values returns all known values for ComponentType. Note that this can be +// Values returns all known values for CapabilityHealth. Note that this can be // expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. -func (ComponentType) Values() []ComponentType { - return []ComponentType{ - "LAMINAR_FLOW", - "PRISM", - "DIGITIZER", +func (CapabilityHealth) Values() []CapabilityHealth { + return []CapabilityHealth{ + "UNHEALTHY", + "HEALTHY", + } +} + +type CapabilityHealthReason string + +// Enum values for CapabilityHealthReason +const ( + CapabilityHealthReasonNoRegisteredAgent CapabilityHealthReason = "NO_REGISTERED_AGENT" + CapabilityHealthReasonInvalidIpOwnership CapabilityHealthReason = "INVALID_IP_OWNERSHIP" + CapabilityHealthReasonNotAuthorizedToCreateSlr CapabilityHealthReason = "NOT_AUTHORIZED_TO_CREATE_SLR" + CapabilityHealthReasonUnverifiedIpOwnership CapabilityHealthReason = "UNVERIFIED_IP_OWNERSHIP" + CapabilityHealthReasonInitializingDataplane CapabilityHealthReason = "INITIALIZING_DATAPLANE" + CapabilityHealthReasonDataplaneFailure CapabilityHealthReason = "DATAPLANE_FAILURE" + CapabilityHealthReasonHealthy CapabilityHealthReason = "HEALTHY" +) + +// Values returns all known values for CapabilityHealthReason. Note that this can +// be expanded in the future, and so it is only as up to date as the client. The +// ordering of this slice is not guaranteed to be stable across updates. +func (CapabilityHealthReason) Values() []CapabilityHealthReason { + return []CapabilityHealthReason{ + "NO_REGISTERED_AGENT", + "INVALID_IP_OWNERSHIP", + "NOT_AUTHORIZED_TO_CREATE_SLR", + "UNVERIFIED_IP_OWNERSHIP", + "INITIALIZING_DATAPLANE", + "DATAPLANE_FAILURE", + "HEALTHY", } } diff --git a/service/groundstation/types/types.go b/service/groundstation/types/types.go index 4accceb4194..5c9a9f5acbc 100644 --- a/service/groundstation/types/types.go +++ b/service/groundstation/types/types.go @@ -30,9 +30,11 @@ type AgentDetails struct { // This member is required. InstanceType *string - // Number of Cpu cores reserved for agent. - // - // This member is required. + // List of CPU cores reserved for the agent. + AgentCpuCores []int32 + + // This field should not be used. Use agentCpuCores instead. List of CPU cores + // reserved for processes other than the agent running on the EC2 instance. ReservedCpuCores []int32 noSmithyDocumentSerde @@ -153,7 +155,7 @@ type ComponentStatusData struct { // The Component type. // // This member is required. - ComponentType ComponentType + ComponentType *string // Dataflow UUID associated with the component. // @@ -183,7 +185,7 @@ type ComponentVersion struct { // Component type. // // This member is required. - ComponentType ComponentType + ComponentType *string // List of versions. // @@ -557,6 +559,14 @@ type EndpointDetails struct { // A dataflow endpoint. Endpoint *DataflowEndpoint + // Health reasons for a dataflow endpoint. This field is ignored when calling + // CreateDataflowEndpointGroup . + HealthReasons []CapabilityHealthReason + + // A dataflow endpoint health status. This field is ignored when calling + // CreateDataflowEndpointGroup . + HealthStatus CapabilityHealth + // Endpoint security details including a list of subnets, a list of security // groups and a role to connect streams to instances. SecurityDetails *SecurityDetails diff --git a/service/groundstation/validators.go b/service/groundstation/validators.go index f365f051cf8..e818b08f1a1 100644 --- a/service/groundstation/validators.go +++ b/service/groundstation/validators.go @@ -696,9 +696,6 @@ func validateAgentDetails(v *types.AgentDetails) error { if v.InstanceType == nil { invalidParams.Add(smithy.NewErrParamRequired("InstanceType")) } - if v.ReservedCpuCores == nil { - invalidParams.Add(smithy.NewErrParamRequired("ReservedCpuCores")) - } if v.ComponentVersions == nil { invalidParams.Add(smithy.NewErrParamRequired("ComponentVersions")) } else if v.ComponentVersions != nil { @@ -840,7 +837,7 @@ func validateComponentStatusData(v *types.ComponentStatusData) error { return nil } invalidParams := smithy.InvalidParamsError{Context: "ComponentStatusData"} - if len(v.ComponentType) == 0 { + if v.ComponentType == nil { invalidParams.Add(smithy.NewErrParamRequired("ComponentType")) } if v.CapabilityArn == nil { @@ -881,7 +878,7 @@ func validateComponentVersion(v *types.ComponentVersion) error { return nil } invalidParams := smithy.InvalidParamsError{Context: "ComponentVersion"} - if len(v.ComponentType) == 0 { + if v.ComponentType == nil { invalidParams.Add(smithy.NewErrParamRequired("ComponentType")) } if v.Versions == nil { diff --git a/service/managedblockchain/api_op_CreateAccessor.go b/service/managedblockchain/api_op_CreateAccessor.go index f252bc6cbf0..76820d95665 100644 --- a/service/managedblockchain/api_op_CreateAccessor.go +++ b/service/managedblockchain/api_op_CreateAccessor.go @@ -32,7 +32,7 @@ func (c *Client) CreateAccessor(ctx context.Context, params *CreateAccessorInput type CreateAccessorInput struct { - // The type of accessor. Currently accessor type is restricted to BILLING_TOKEN . + // The type of accessor. Currently, accessor type is restricted to BILLING_TOKEN . // // This member is required. AccessorType types.AccessorType diff --git a/service/managedblockchain/api_op_CreateNode.go b/service/managedblockchain/api_op_CreateNode.go index 25166d0082f..8b5ab7fbe72 100644 --- a/service/managedblockchain/api_op_CreateNode.go +++ b/service/managedblockchain/api_op_CreateNode.go @@ -45,7 +45,6 @@ type CreateNodeInput struct { // - n-ethereum-mainnet // - n-ethereum-goerli // - n-ethereum-rinkeby - // - n-ethereum-ropsten // // This member is required. NetworkId *string diff --git a/service/managedblockchain/api_op_DeleteNode.go b/service/managedblockchain/api_op_DeleteNode.go index 6150407dea7..2cc7c3af9c3 100644 --- a/service/managedblockchain/api_op_DeleteNode.go +++ b/service/managedblockchain/api_op_DeleteNode.go @@ -34,7 +34,6 @@ type DeleteNodeInput struct { // - n-ethereum-mainnet // - n-ethereum-goerli // - n-ethereum-rinkeby - // - n-ethereum-ropsten // // This member is required. NetworkId *string diff --git a/service/managedblockchain/types/types.go b/service/managedblockchain/types/types.go index c01c91c062a..f71b02b92af 100644 --- a/service/managedblockchain/types/types.go +++ b/service/managedblockchain/types/types.go @@ -36,8 +36,8 @@ type Accessor struct { // in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide. Tags map[string]string - // The type of the accessor. Currently accessor type is restricted to BILLING_TOKEN - // . + // The type of the accessor. Currently, accessor type is restricted to + // BILLING_TOKEN . Type AccessorType noSmithyDocumentSerde @@ -299,11 +299,11 @@ type MemberFabricAttributes struct { } // Configuration properties for Hyperledger Fabric for a member in a Managed -// Blockchain network using the Hyperledger Fabric framework. +// Blockchain network that is using the Hyperledger Fabric framework. type MemberFabricConfiguration struct { // The password for the member's initial administrative user. The AdminPassword - // must be at least eight characters long and no more than 32 characters. It must + // must be at least 8 characters long and no more than 32 characters. It must // contain at least one uppercase letter, one lowercase letter, and one digit. It // cannot have a single quotation mark (‘), a double quotation marks (“), a forward // slash(/), a backward slash(\), @, or a space. @@ -454,7 +454,7 @@ type Network struct { // in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide. Tags map[string]string - // The voting rules for the network to decide if a proposal is accepted. + // The voting rules that the network uses to decide if a proposal is accepted. VotingPolicy *VotingPolicy // The VPC endpoint service name of the VPC endpoint service of the network. @@ -473,7 +473,6 @@ type NetworkEthereumAttributes struct { // - mainnet = 1 // - goerli = 5 // - rinkeby = 4 - // - ropsten = 3 ChainId *string noSmithyDocumentSerde